/*
Transformer function helper function.

Written by tomztyang,
2021/08/23
*/

#include <math.h>
#include <stdio.h>

#define THREADS_PER_BLOCK 256
#define DIVUP(m,n) ((m) / (n) + ((m) % (n) > 0))
// #define DEBUG


template <unsigned int d>
__global__ void attention_weight_computation_forward_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *output) {
    // dim3 blocks(total_query_num, nhead); dim3 threads(local_size);
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params output: [total_query_num, local_size, nhead]

    int query_idx = blockIdx.x;
    int head_idx = blockIdx.y;
    int local_key_idx = threadIdx.x;

    int index = query_idx * local_size + local_key_idx;
    if (query_idx >= total_query_num ||
        head_idx >= nhead ||
        local_key_idx >= local_size) return;

    // build shared query features.
    __shared__ float shared_query_features[d];
    for (int i = local_key_idx; i < hdim; i += blockDim.x){
        shared_query_features[i] = query_features[
            query_idx * nhead * hdim + head_idx * hdim + i];
    }
    __syncthreads();

    if (index_pair[index] == -1){
        // Ignore index.
        return;
    }

    // get real key_idx.
    int batch_idx = index_pair_batch[query_idx];
    int key_start_idx = 0;
    for (int i = 0; i < batch_idx; i++){
        key_start_idx += key_batch_cnt[i];
    }
    key_start_idx += index_pair[index];

    // get key features.
    key_features += key_start_idx * nhead * hdim + head_idx * hdim;
    output += index * nhead + head_idx;

    float attn_weight = 0;
    for (int i = 0; i < hdim; i++){
        attn_weight += key_features[i] * shared_query_features[i];
    }
    output[0] = attn_weight;
}


void attention_weight_computation_launcher_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *output){
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params output: [total_query_num, local_size, nhead]
    if (hdim > 100){
        throw "hdim should be <= 100.";
    }

    dim3 blocks(total_query_num, nhead);
    dim3 threads(local_size);
    switch(hdim){  // switch hdim for utilizing different shared vectors.
        case 16:
            attention_weight_computation_forward_v2<16><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        case 24:
            attention_weight_computation_forward_v2<24><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        case 32:
            attention_weight_computation_forward_v2<32><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        case 48:
            attention_weight_computation_forward_v2<48><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        default:
            attention_weight_computation_forward_v2<100><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
    }
}


template <unsigned int d>
__global__ void attention_weight_computation_backward_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *grad_out, float * grad_query_features, float * grad_key_features) {
    // dim3 blocks(total_query_num, nhead); dim3 threads(local_size);
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params grad_out: [total_query_num, local_size, nhead]
    // params grad_query_features: [total_query_num, nhead, hdim]
    // params grad_key_features: [total_key_num, nhead, hdim]

    int query_idx = blockIdx.x;
    int head_idx = blockIdx.y;
    int local_key_idx = threadIdx.x;
    int index = query_idx * local_size + local_key_idx;

    if (query_idx >= total_query_num ||
        head_idx >= nhead ||
        local_key_idx >= local_size) return;

    // build shared query features.
    __shared__ float shared_query_features[d];
    __shared__ float shared_grad_query_features[d];
    for (int i = local_key_idx; i < hdim; i += blockDim.x){
        shared_query_features[i] = query_features[
            query_idx * nhead * hdim + head_idx * hdim + i];
        shared_grad_query_features[i] = 0;
    }
    __syncthreads();

    if (index_pair[index] != -1){
        int batch_idx = index_pair_batch[query_idx];
        int key_start_idx = 0;
        for (int i = 0; i < batch_idx; i++){
            key_start_idx += key_batch_cnt[i];
        }
        key_start_idx += index_pair[index];

        key_features += key_start_idx * nhead * hdim + head_idx * hdim;
        grad_key_features += key_start_idx * nhead * hdim + head_idx * hdim;

        float gradient = grad_out[index * nhead + head_idx];
        for (int i = 0; i < hdim; i++){
            atomicAdd(
                shared_grad_query_features + i,
                gradient * key_features[i]);
            atomicAdd(
                grad_key_features + i,
                gradient * shared_query_features[i]);
        }
    }
    __syncthreads();

    grad_query_features += query_idx * nhead * hdim + head_idx * hdim;
    for (int i = local_key_idx; i < hdim; i += blockDim.x){
        grad_query_features[i] = shared_grad_query_features[i];
    }
}


void attention_weight_computation_grad_launcher_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *grad_out, float* grad_query_features, float* grad_key_features){
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params grad_out: [total_query_num, local_size, nhead]
    // params grad_query_features: [total_query_num, nhead, hdim]
    // params grad_key_features: [total_key_num, nhead, hdim]
    if (hdim > 100){
        throw "hdim should be <= 100.";
    }

    dim3 blocks(total_query_num, nhead);
    dim3 threads(local_size);

    switch(hdim){
        case 16:
            attention_weight_computation_backward_v2<16><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        case 24:
            attention_weight_computation_backward_v2<24><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        case 32:
            attention_weight_computation_backward_v2<32><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        case 48:
            attention_weight_computation_backward_v2<48><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        default:
            attention_weight_computation_backward_v2<100><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
    }
}


	.file	"tmpxft_0036fc13_00000000-6_attention_weight_computation_kernel_v2.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB2035:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE2035:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_ZL99__device_stub__Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, @function
_ZL99__device_stub__Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_:
.LFB2075:
	.cfi_startproc
	subq	$296, %rsp
	.cfi_def_cfa_offset 304
	movq	304(%rsp), %rax
	movl	%edi, 92(%rsp)
	leaq	112(%rsp), %rdi
	movl	%esi, 88(%rsp)
	leaq	124(%rsp), %rsi
	movq	%rax, 64(%rsp)
	movq	312(%rsp), %rax
	movl	%edx, 84(%rsp)
	leaq	96(%rsp), %rdx
	movq	%rax, 56(%rsp)
	movq	320(%rsp), %rax
	movl	%ecx, 80(%rsp)
	leaq	104(%rsp), %rcx
	movq	%rax, 48(%rsp)
	movq	328(%rsp), %rax
	movl	%r8d, 76(%rsp)
	movq	%rax, 40(%rsp)
	movq	336(%rsp), %rax
	movl	%r9d, 72(%rsp)
	movq	%rax, 32(%rsp)
	movq	344(%rsp), %rax
	movq	%rax, 24(%rsp)
	movq	352(%rsp), %rax
	movq	%rax, 16(%rsp)
	movq	360(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	368(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 280(%rsp)
	xorl	%eax, %eax
	leaq	92(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	84(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	76(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 264(%rsp)
	movq	%rsp, %rax
	movq	%rax, 272(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 112(%rsp)
	movl	$1, 120(%rsp)
	movq	%rax, 124(%rsp)
	movl	$1, 132(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L2
	pushq	104(%rsp)
	.cfi_def_cfa_offset 312
	leaq	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rdi
	pushq	104(%rsp)
	.cfi_def_cfa_offset 320
	movq	140(%rsp), %rcx
	movl	148(%rsp), %r8d
	movq	128(%rsp), %rsi
	movl	136(%rsp), %edx
	leaq	176(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 312
	popq	%rdx
	.cfi_def_cfa_offset 304
.L2:
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	addq	$296, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2075:
	.size	_ZL99__device_stub__Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, .-_ZL99__device_stub__Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.section	.text._Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, @function
_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
.LFB2133:
	.cfi_startproc
	endbr64
	jmp	_ZL99__device_stub__Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.cfi_endproc
.LFE2133:
	.size	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .-_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.text
	.type	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, @function
_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf:
.LFB2057:
	.cfi_startproc
	subq	$264, %rsp
	.cfi_def_cfa_offset 272
	movq	272(%rsp), %rax
	movl	%edi, 76(%rsp)
	leaq	96(%rsp), %rdi
	movl	%esi, 72(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 48(%rsp)
	movq	280(%rsp), %rax
	movl	%edx, 68(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 40(%rsp)
	movq	288(%rsp), %rax
	movl	%ecx, 64(%rsp)
	leaq	88(%rsp), %rcx
	movq	%rax, 32(%rsp)
	movq	296(%rsp), %rax
	movl	%r8d, 60(%rsp)
	movq	%rax, 24(%rsp)
	movq	304(%rsp), %rax
	movl	%r9d, 56(%rsp)
	movq	%rax, 16(%rsp)
	movq	312(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	320(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	60(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 232(%rsp)
	movq	%rsp, %rax
	movq	%rax, 240(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movl	$1, 104(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L8
	pushq	88(%rsp)
	.cfi_def_cfa_offset 280
	leaq	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 288
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 280
	popq	%rdx
	.cfi_def_cfa_offset 272
.L8:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	addq	$264, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2057:
	.size	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, .-_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.section	.text._Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, @function
_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
.LFB2124:
	.cfi_startproc
	endbr64
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.cfi_endproc
.LFE2124:
	.size	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .-_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.text
	.type	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, @function
_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf:
.LFB2059:
	.cfi_startproc
	subq	$264, %rsp
	.cfi_def_cfa_offset 272
	movq	272(%rsp), %rax
	movl	%edi, 76(%rsp)
	leaq	96(%rsp), %rdi
	movl	%esi, 72(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 48(%rsp)
	movq	280(%rsp), %rax
	movl	%edx, 68(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 40(%rsp)
	movq	288(%rsp), %rax
	movl	%ecx, 64(%rsp)
	leaq	88(%rsp), %rcx
	movq	%rax, 32(%rsp)
	movq	296(%rsp), %rax
	movl	%r8d, 60(%rsp)
	movq	%rax, 24(%rsp)
	movq	304(%rsp), %rax
	movl	%r9d, 56(%rsp)
	movq	%rax, 16(%rsp)
	movq	312(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	320(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	60(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 232(%rsp)
	movq	%rsp, %rax
	movq	%rax, 240(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movl	$1, 104(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L13
	pushq	88(%rsp)
	.cfi_def_cfa_offset 280
	leaq	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 288
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 280
	popq	%rdx
	.cfi_def_cfa_offset 272
.L13:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	addq	$264, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2059:
	.size	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, .-_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.section	.text._Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, @function
_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
.LFB2125:
	.cfi_startproc
	endbr64
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.cfi_endproc
.LFE2125:
	.size	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .-_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.text
	.type	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, @function
_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf:
.LFB2061:
	.cfi_startproc
	subq	$264, %rsp
	.cfi_def_cfa_offset 272
	movq	272(%rsp), %rax
	movl	%edi, 76(%rsp)
	leaq	96(%rsp), %rdi
	movl	%esi, 72(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 48(%rsp)
	movq	280(%rsp), %rax
	movl	%edx, 68(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 40(%rsp)
	movq	288(%rsp), %rax
	movl	%ecx, 64(%rsp)
	leaq	88(%rsp), %rcx
	movq	%rax, 32(%rsp)
	movq	296(%rsp), %rax
	movl	%r8d, 60(%rsp)
	movq	%rax, 24(%rsp)
	movq	304(%rsp), %rax
	movl	%r9d, 56(%rsp)
	movq	%rax, 16(%rsp)
	movq	312(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	320(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	60(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 232(%rsp)
	movq	%rsp, %rax
	movq	%rax, 240(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movl	$1, 104(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L18
	pushq	88(%rsp)
	.cfi_def_cfa_offset 280
	leaq	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 288
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 280
	popq	%rdx
	.cfi_def_cfa_offset 272
.L18:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	addq	$264, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2061:
	.size	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, .-_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.section	.text._Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, @function
_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
.LFB2126:
	.cfi_startproc
	endbr64
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.cfi_endproc
.LFE2126:
	.size	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .-_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.text
	.type	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, @function
_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf:
.LFB2063:
	.cfi_startproc
	subq	$264, %rsp
	.cfi_def_cfa_offset 272
	movq	272(%rsp), %rax
	movl	%edi, 76(%rsp)
	leaq	96(%rsp), %rdi
	movl	%esi, 72(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 48(%rsp)
	movq	280(%rsp), %rax
	movl	%edx, 68(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 40(%rsp)
	movq	288(%rsp), %rax
	movl	%ecx, 64(%rsp)
	leaq	88(%rsp), %rcx
	movq	%rax, 32(%rsp)
	movq	296(%rsp), %rax
	movl	%r8d, 60(%rsp)
	movq	%rax, 24(%rsp)
	movq	304(%rsp), %rax
	movl	%r9d, 56(%rsp)
	movq	%rax, 16(%rsp)
	movq	312(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	320(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	60(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 232(%rsp)
	movq	%rsp, %rax
	movq	%rax, 240(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movl	$1, 104(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L23
	pushq	88(%rsp)
	.cfi_def_cfa_offset 280
	leaq	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 288
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 280
	popq	%rdx
	.cfi_def_cfa_offset 272
.L23:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	addq	$264, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2063:
	.size	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, .-_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.section	.text._Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, @function
_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
.LFB2127:
	.cfi_startproc
	endbr64
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.cfi_endproc
.LFE2127:
	.size	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .-_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.text
	.type	_ZL92__device_stub__Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, @function
_ZL92__device_stub__Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf:
.LFB2065:
	.cfi_startproc
	subq	$264, %rsp
	.cfi_def_cfa_offset 272
	movq	272(%rsp), %rax
	movl	%edi, 76(%rsp)
	leaq	96(%rsp), %rdi
	movl	%esi, 72(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 48(%rsp)
	movq	280(%rsp), %rax
	movl	%edx, 68(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 40(%rsp)
	movq	288(%rsp), %rax
	movl	%ecx, 64(%rsp)
	leaq	88(%rsp), %rcx
	movq	%rax, 32(%rsp)
	movq	296(%rsp), %rax
	movl	%r8d, 60(%rsp)
	movq	%rax, 24(%rsp)
	movq	304(%rsp), %rax
	movl	%r9d, 56(%rsp)
	movq	%rax, 16(%rsp)
	movq	312(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	320(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	60(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 232(%rsp)
	movq	%rsp, %rax
	movq	%rax, 240(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movl	$1, 104(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L28
	pushq	88(%rsp)
	.cfi_def_cfa_offset 280
	leaq	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 288
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 280
	popq	%rdx
	.cfi_def_cfa_offset 272
.L28:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	addq	$264, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2065:
	.size	_ZL92__device_stub__Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf, .-_ZL92__device_stub__Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.section	.text._Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, @function
_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
.LFB2128:
	.cfi_startproc
	endbr64
	jmp	_ZL92__device_stub__Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
	.cfi_endproc
.LFE2128:
	.size	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .-_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.text
	.type	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, @function
_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_:
.LFB2067:
	.cfi_startproc
	subq	$296, %rsp
	.cfi_def_cfa_offset 304
	movq	304(%rsp), %rax
	movl	%edi, 92(%rsp)
	leaq	112(%rsp), %rdi
	movl	%esi, 88(%rsp)
	leaq	124(%rsp), %rsi
	movq	%rax, 64(%rsp)
	movq	312(%rsp), %rax
	movl	%edx, 84(%rsp)
	leaq	96(%rsp), %rdx
	movq	%rax, 56(%rsp)
	movq	320(%rsp), %rax
	movl	%ecx, 80(%rsp)
	leaq	104(%rsp), %rcx
	movq	%rax, 48(%rsp)
	movq	328(%rsp), %rax
	movl	%r8d, 76(%rsp)
	movq	%rax, 40(%rsp)
	movq	336(%rsp), %rax
	movl	%r9d, 72(%rsp)
	movq	%rax, 32(%rsp)
	movq	344(%rsp), %rax
	movq	%rax, 24(%rsp)
	movq	352(%rsp), %rax
	movq	%rax, 16(%rsp)
	movq	360(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	368(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 280(%rsp)
	xorl	%eax, %eax
	leaq	92(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	84(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	76(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 264(%rsp)
	movq	%rsp, %rax
	movq	%rax, 272(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 112(%rsp)
	movl	$1, 120(%rsp)
	movq	%rax, 124(%rsp)
	movl	$1, 132(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L33
	pushq	104(%rsp)
	.cfi_def_cfa_offset 312
	leaq	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rdi
	pushq	104(%rsp)
	.cfi_def_cfa_offset 320
	movq	140(%rsp), %rcx
	movl	148(%rsp), %r8d
	movq	128(%rsp), %rsi
	movl	136(%rsp), %edx
	leaq	176(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 312
	popq	%rdx
	.cfi_def_cfa_offset 304
.L33:
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	addq	$296, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2067:
	.size	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, .-_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.section	.text._Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, @function
_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
.LFB2129:
	.cfi_startproc
	endbr64
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.cfi_endproc
.LFE2129:
	.size	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .-_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.text
	.type	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, @function
_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_:
.LFB2069:
	.cfi_startproc
	subq	$296, %rsp
	.cfi_def_cfa_offset 304
	movq	304(%rsp), %rax
	movl	%edi, 92(%rsp)
	leaq	112(%rsp), %rdi
	movl	%esi, 88(%rsp)
	leaq	124(%rsp), %rsi
	movq	%rax, 64(%rsp)
	movq	312(%rsp), %rax
	movl	%edx, 84(%rsp)
	leaq	96(%rsp), %rdx
	movq	%rax, 56(%rsp)
	movq	320(%rsp), %rax
	movl	%ecx, 80(%rsp)
	leaq	104(%rsp), %rcx
	movq	%rax, 48(%rsp)
	movq	328(%rsp), %rax
	movl	%r8d, 76(%rsp)
	movq	%rax, 40(%rsp)
	movq	336(%rsp), %rax
	movl	%r9d, 72(%rsp)
	movq	%rax, 32(%rsp)
	movq	344(%rsp), %rax
	movq	%rax, 24(%rsp)
	movq	352(%rsp), %rax
	movq	%rax, 16(%rsp)
	movq	360(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	368(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 280(%rsp)
	xorl	%eax, %eax
	leaq	92(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	84(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	76(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 264(%rsp)
	movq	%rsp, %rax
	movq	%rax, 272(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 112(%rsp)
	movl	$1, 120(%rsp)
	movq	%rax, 124(%rsp)
	movl	$1, 132(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L38
	pushq	104(%rsp)
	.cfi_def_cfa_offset 312
	leaq	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rdi
	pushq	104(%rsp)
	.cfi_def_cfa_offset 320
	movq	140(%rsp), %rcx
	movl	148(%rsp), %r8d
	movq	128(%rsp), %rsi
	movl	136(%rsp), %edx
	leaq	176(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 312
	popq	%rdx
	.cfi_def_cfa_offset 304
.L38:
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	addq	$296, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2069:
	.size	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, .-_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.section	.text._Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, @function
_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
.LFB2130:
	.cfi_startproc
	endbr64
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.cfi_endproc
.LFE2130:
	.size	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .-_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.text
	.type	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, @function
_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_:
.LFB2071:
	.cfi_startproc
	subq	$296, %rsp
	.cfi_def_cfa_offset 304
	movq	304(%rsp), %rax
	movl	%edi, 92(%rsp)
	leaq	112(%rsp), %rdi
	movl	%esi, 88(%rsp)
	leaq	124(%rsp), %rsi
	movq	%rax, 64(%rsp)
	movq	312(%rsp), %rax
	movl	%edx, 84(%rsp)
	leaq	96(%rsp), %rdx
	movq	%rax, 56(%rsp)
	movq	320(%rsp), %rax
	movl	%ecx, 80(%rsp)
	leaq	104(%rsp), %rcx
	movq	%rax, 48(%rsp)
	movq	328(%rsp), %rax
	movl	%r8d, 76(%rsp)
	movq	%rax, 40(%rsp)
	movq	336(%rsp), %rax
	movl	%r9d, 72(%rsp)
	movq	%rax, 32(%rsp)
	movq	344(%rsp), %rax
	movq	%rax, 24(%rsp)
	movq	352(%rsp), %rax
	movq	%rax, 16(%rsp)
	movq	360(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	368(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 280(%rsp)
	xorl	%eax, %eax
	leaq	92(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	84(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	76(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 264(%rsp)
	movq	%rsp, %rax
	movq	%rax, 272(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 112(%rsp)
	movl	$1, 120(%rsp)
	movq	%rax, 124(%rsp)
	movl	$1, 132(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L43
	pushq	104(%rsp)
	.cfi_def_cfa_offset 312
	leaq	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rdi
	pushq	104(%rsp)
	.cfi_def_cfa_offset 320
	movq	140(%rsp), %rcx
	movl	148(%rsp), %r8d
	movq	128(%rsp), %rsi
	movl	136(%rsp), %edx
	leaq	176(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 312
	popq	%rdx
	.cfi_def_cfa_offset 304
.L43:
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	addq	$296, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2071:
	.size	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, .-_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.section	.text._Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, @function
_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
.LFB2131:
	.cfi_startproc
	endbr64
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.cfi_endproc
.LFE2131:
	.size	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .-_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.text
	.type	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, @function
_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_:
.LFB2073:
	.cfi_startproc
	subq	$296, %rsp
	.cfi_def_cfa_offset 304
	movq	304(%rsp), %rax
	movl	%edi, 92(%rsp)
	leaq	112(%rsp), %rdi
	movl	%esi, 88(%rsp)
	leaq	124(%rsp), %rsi
	movq	%rax, 64(%rsp)
	movq	312(%rsp), %rax
	movl	%edx, 84(%rsp)
	leaq	96(%rsp), %rdx
	movq	%rax, 56(%rsp)
	movq	320(%rsp), %rax
	movl	%ecx, 80(%rsp)
	leaq	104(%rsp), %rcx
	movq	%rax, 48(%rsp)
	movq	328(%rsp), %rax
	movl	%r8d, 76(%rsp)
	movq	%rax, 40(%rsp)
	movq	336(%rsp), %rax
	movl	%r9d, 72(%rsp)
	movq	%rax, 32(%rsp)
	movq	344(%rsp), %rax
	movq	%rax, 24(%rsp)
	movq	352(%rsp), %rax
	movq	%rax, 16(%rsp)
	movq	360(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	368(%rsp), %rax
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 280(%rsp)
	xorl	%eax, %eax
	leaq	92(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	84(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	76(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 264(%rsp)
	movq	%rsp, %rax
	movq	%rax, 272(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 112(%rsp)
	movl	$1, 120(%rsp)
	movq	%rax, 124(%rsp)
	movl	$1, 132(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L48
	pushq	104(%rsp)
	.cfi_def_cfa_offset 312
	leaq	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rdi
	pushq	104(%rsp)
	.cfi_def_cfa_offset 320
	movq	140(%rsp), %rcx
	movl	148(%rsp), %r8d
	movq	128(%rsp), %rsi
	movl	136(%rsp), %edx
	leaq	176(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 312
	popq	%rdx
	.cfi_def_cfa_offset 304
.L48:
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	addq	$296, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2073:
	.size	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, .-_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.section	.text._Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, @function
_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
.LFB2132:
	.cfi_startproc
	endbr64
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.cfi_endproc
.LFE2132:
	.size	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .-_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hdim should be <= 100."
	.text
	.globl	_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf
	.type	_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf, @function
_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf:
.LFB2029:
	.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	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	136(%rsp), %rax
	movl	%edi, 12(%rsp)
	movl	%esi, (%rsp)
	movq	128(%rsp), %rbx
	movl	%edx, 4(%rsp)
	movq	144(%rsp), %rbp
	movl	%ecx, 24(%rsp)
	movq	152(%rsp), %r12
	movl	%r8d, 8(%rsp)
	movq	160(%rsp), %r13
	movq	%rax, 16(%rsp)
	movq	168(%rsp), %r14
	movq	176(%rsp), %r15
	cmpl	$100, %r9d
	jle	.L54
	movl	$8, %edi
	call	__cxa_allocate_exception@PLT
	xorl	%edx, %edx
	leaq	_ZTIPKc(%rip), %rsi
	movq	%rax, %rdi
	leaq	.LC0(%rip), %rax
	movq	%rax, (%rdi)
	call	__cxa_throw@PLT
.L54:
	movl	(%rsp), %eax
	cmpl	$32, %r9d
	movl	$1, 48(%rsp)
	movl	%r9d, %r10d
	movl	%eax, 40(%rsp)
	movl	8(%rsp), %eax
	movl	%eax, 44(%rsp)
	movl	4(%rsp), %eax
	movq	40(%rsp), %rdi
	movl	%eax, 52(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	52(%rsp), %rdx
	movl	60(%rsp), %ecx
	je	.L55
	jg	.L56
	cmpl	$16, %r9d
	je	.L57
	cmpl	$24, %r9d
	je	.L58
	jmp	.L59
.L56:
	cmpl	$48, %r9d
	je	.L60
	jmp	.L59
.L57:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L53
	movq	16(%rsp), %rax
	movq	%r15, 176(%rsp)
	movl	$16, %r9d
	movq	%r14, 168(%rsp)
	movl	8(%rsp), %r8d
	movq	%r13, 160(%rsp)
	movl	24(%rsp), %ecx
	movq	%r12, 152(%rsp)
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movl	12(%rsp), %edi
	movq	%rbp, 144(%rsp)
	movq	%rbx, 128(%rsp)
	movq	%rax, 136(%rsp)
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
.L58:
	.cfi_restore_state
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L53
	movq	16(%rsp), %rax
	movq	%r15, 176(%rsp)
	movl	$24, %r9d
	movq	%r14, 168(%rsp)
	movl	8(%rsp), %r8d
	movq	%r13, 160(%rsp)
	movl	24(%rsp), %ecx
	movq	%r12, 152(%rsp)
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movl	12(%rsp), %edi
	movq	%rbp, 144(%rsp)
	movq	%rbx, 128(%rsp)
	movq	%rax, 136(%rsp)
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
.L55:
	.cfi_restore_state
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L53
	movq	16(%rsp), %rax
	movq	%r15, 176(%rsp)
	movl	$32, %r9d
	movq	%r14, 168(%rsp)
	movl	8(%rsp), %r8d
	movq	%r13, 160(%rsp)
	movl	24(%rsp), %ecx
	movq	%r12, 152(%rsp)
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movl	12(%rsp), %edi
	movq	%rbp, 144(%rsp)
	movq	%rbx, 128(%rsp)
	movq	%rax, 136(%rsp)
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
.L60:
	.cfi_restore_state
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L53
	movq	16(%rsp), %rax
	movq	%r15, 176(%rsp)
	movl	$48, %r9d
	movq	%r14, 168(%rsp)
	movl	8(%rsp), %r8d
	movq	%r13, 160(%rsp)
	movl	24(%rsp), %ecx
	movq	%r12, 152(%rsp)
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movl	12(%rsp), %edi
	movq	%rbp, 144(%rsp)
	movq	%rbx, 128(%rsp)
	movq	%rax, 136(%rsp)
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL91__device_stub__Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
.L59:
	.cfi_restore_state
	movl	48(%rsp), %esi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	%r10d, 28(%rsp)
	call	__cudaPushCallConfiguration@PLT
	movl	28(%rsp), %r10d
	testl	%eax, %eax
	jne	.L53
	movq	16(%rsp), %rax
	movq	%r15, 176(%rsp)
	movl	%r10d, %r9d
	movq	%r14, 168(%rsp)
	movl	8(%rsp), %r8d
	movq	%r13, 160(%rsp)
	movl	24(%rsp), %ecx
	movq	%r12, 152(%rsp)
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movl	12(%rsp), %edi
	movq	%rbp, 144(%rsp)
	movq	%rbx, 128(%rsp)
	movq	%rax, 136(%rsp)
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL92__device_stub__Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfiiiiiiPKiS0_S0_S0_PKfS2_Pf
.L53:
	.cfi_restore_state
	addq	$72, %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
.LFE2029:
	.size	_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf, .-_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf
	.globl	_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.type	_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, @function
_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_:
.LFB2032:
	.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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	152(%rsp), %rax
	movl	%edi, 12(%rsp)
	movl	%esi, (%rsp)
	movq	144(%rsp), %rbx
	movq	%rax, 16(%rsp)
	movq	160(%rsp), %rax
	movl	%edx, 4(%rsp)
	movq	176(%rsp), %rbp
	movq	%rax, 24(%rsp)
	movq	168(%rsp), %rax
	movl	%ecx, 40(%rsp)
	movq	184(%rsp), %r12
	movl	%r8d, 8(%rsp)
	movq	192(%rsp), %r13
	movq	%rax, 32(%rsp)
	movq	200(%rsp), %r14
	movq	208(%rsp), %r15
	cmpl	$100, %r9d
	jle	.L66
	movl	$8, %edi
	call	__cxa_allocate_exception@PLT
	xorl	%edx, %edx
	leaq	_ZTIPKc(%rip), %rsi
	movq	%rax, %rdi
	leaq	.LC0(%rip), %rax
	movq	%rax, (%rdi)
	call	__cxa_throw@PLT
.L66:
	movl	(%rsp), %eax
	cmpl	$32, %r9d
	movl	$1, 64(%rsp)
	movl	%r9d, %r10d
	movl	%eax, 56(%rsp)
	movl	8(%rsp), %eax
	movl	%eax, 60(%rsp)
	movl	4(%rsp), %eax
	movq	56(%rsp), %rdi
	movl	%eax, 68(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	68(%rsp), %rdx
	movl	76(%rsp), %ecx
	je	.L67
	jg	.L68
	cmpl	$16, %r9d
	je	.L69
	cmpl	$24, %r9d
	je	.L70
	jmp	.L71
.L68:
	cmpl	$48, %r9d
	je	.L72
	jmp	.L71
.L69:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L65
	movq	32(%rsp), %rax
	movq	%r15, 208(%rsp)
	movl	$16, %r9d
	movq	%r14, 200(%rsp)
	movl	8(%rsp), %r8d
	movq	%rax, 168(%rsp)
	movq	24(%rsp), %rax
	movq	%r13, 192(%rsp)
	movl	40(%rsp), %ecx
	movq	%rax, 160(%rsp)
	movq	16(%rsp), %rax
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movq	%r12, 184(%rsp)
	movq	%rbp, 176(%rsp)
	movl	12(%rsp), %edi
	movq	%rbx, 144(%rsp)
	movq	%rax, 152(%rsp)
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
.L70:
	.cfi_restore_state
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L65
	movq	32(%rsp), %rax
	movq	%r15, 208(%rsp)
	movl	$24, %r9d
	movq	%r14, 200(%rsp)
	movl	8(%rsp), %r8d
	movq	%rax, 168(%rsp)
	movq	24(%rsp), %rax
	movq	%r13, 192(%rsp)
	movl	40(%rsp), %ecx
	movq	%rax, 160(%rsp)
	movq	16(%rsp), %rax
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movq	%r12, 184(%rsp)
	movq	%rbp, 176(%rsp)
	movl	12(%rsp), %edi
	movq	%rbx, 144(%rsp)
	movq	%rax, 152(%rsp)
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
.L67:
	.cfi_restore_state
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L65
	movq	32(%rsp), %rax
	movq	%r15, 208(%rsp)
	movl	$32, %r9d
	movq	%r14, 200(%rsp)
	movl	8(%rsp), %r8d
	movq	%rax, 168(%rsp)
	movq	24(%rsp), %rax
	movq	%r13, 192(%rsp)
	movl	40(%rsp), %ecx
	movq	%rax, 160(%rsp)
	movq	16(%rsp), %rax
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movq	%r12, 184(%rsp)
	movq	%rbp, 176(%rsp)
	movl	12(%rsp), %edi
	movq	%rbx, 144(%rsp)
	movq	%rax, 152(%rsp)
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
.L72:
	.cfi_restore_state
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L65
	movq	32(%rsp), %rax
	movq	%r15, 208(%rsp)
	movl	$48, %r9d
	movq	%r14, 200(%rsp)
	movl	8(%rsp), %r8d
	movq	%rax, 168(%rsp)
	movq	24(%rsp), %rax
	movq	%r13, 192(%rsp)
	movl	40(%rsp), %ecx
	movq	%rax, 160(%rsp)
	movq	16(%rsp), %rax
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movq	%r12, 184(%rsp)
	movq	%rbp, 176(%rsp)
	movl	12(%rsp), %edi
	movq	%rbx, 144(%rsp)
	movq	%rax, 152(%rsp)
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL98__device_stub__Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
.L71:
	.cfi_restore_state
	movl	64(%rsp), %esi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	%r10d, 44(%rsp)
	call	__cudaPushCallConfiguration@PLT
	movl	44(%rsp), %r10d
	testl	%eax, %eax
	jne	.L65
	movq	32(%rsp), %rax
	movq	%r15, 208(%rsp)
	movl	%r10d, %r9d
	movq	%r14, 200(%rsp)
	movl	8(%rsp), %r8d
	movq	%rax, 168(%rsp)
	movq	24(%rsp), %rax
	movq	%r13, 192(%rsp)
	movl	40(%rsp), %ecx
	movq	%rax, 160(%rsp)
	movq	16(%rsp), %rax
	movl	4(%rsp), %edx
	movl	(%rsp), %esi
	movq	%r12, 184(%rsp)
	movq	%rbp, 176(%rsp)
	movl	12(%rsp), %edi
	movq	%rbx, 144(%rsp)
	movq	%rax, 152(%rsp)
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZL99__device_stub__Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
.L65:
	.cfi_restore_state
	addq	$88, %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
.LFE2032:
	.size	_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, .-_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.section	.rodata.str1.1
.LC1:
	.string	"_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
.LC2:
	.string	"_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
.LC3:
	.string	"_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
.LC4:
	.string	"_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
.LC5:
	.string	"_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
.LC6:
	.string	"_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
.LC7:
	.string	"_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
.LC8:
	.string	"_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
.LC9:
	.string	"_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
.LC10:
	.string	"_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB2078:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC2(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC3(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC4(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%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	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_(%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	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%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	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%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	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	leaq	.LC9(%rip), %rdx
	pushq	$0
	.cfi_def_cfa_offset 24
	movq	%rdx, %rcx
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC10(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf(%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
	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
.LFE2078:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.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:

/*
Transformer function helper function.

Written by tomztyang,
2021/08/23
*/


#include <hip/hip_runtime.h>
#include <math.h>
#include <stdio.h>

#define THREADS_PER_BLOCK 256
#define DIVUP(m,n) ((m) / (n) + ((m) % (n) > 0))
// #define DEBUG


template <unsigned int d>
__global__ void attention_weight_computation_forward_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *output) {
    // dim3 blocks(total_query_num, nhead); dim3 threads(local_size);
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params output: [total_query_num, local_size, nhead]

    int query_idx = blockIdx.x;
    int head_idx = blockIdx.y;
    int local_key_idx = threadIdx.x;

    int index = query_idx * local_size + local_key_idx;
    if (query_idx >= total_query_num ||
        head_idx >= nhead ||
        local_key_idx >= local_size) return;

    // build shared query features.
    __shared__ float shared_query_features[d];
    for (int i = local_key_idx; i < hdim; i += blockDim.x){
        shared_query_features[i] = query_features[
            query_idx * nhead * hdim + head_idx * hdim + i];
    }
    __syncthreads();

    if (index_pair[index] == -1){
        // Ignore index.
        return;
    }

    // get real key_idx.
    int batch_idx = index_pair_batch[query_idx];
    int key_start_idx = 0;
    for (int i = 0; i < batch_idx; i++){
        key_start_idx += key_batch_cnt[i];
    }
    key_start_idx += index_pair[index];

    // get key features.
    key_features += key_start_idx * nhead * hdim + head_idx * hdim;
    output += index * nhead + head_idx;

    float attn_weight = 0;
    for (int i = 0; i < hdim; i++){
        attn_weight += key_features[i] * shared_query_features[i];
    }
    output[0] = attn_weight;
}


void attention_weight_computation_launcher_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *output){
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params output: [total_query_num, local_size, nhead]
    if (hdim > 100){
        throw "hdim should be <= 100.";
    }

    dim3 blocks(total_query_num, nhead);
    dim3 threads(local_size);
    switch(hdim){  // switch hdim for utilizing different shared vectors.
        case 16:
            attention_weight_computation_forward_v2<16><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        case 24:
            attention_weight_computation_forward_v2<24><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        case 32:
            attention_weight_computation_forward_v2<32><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        case 48:
            attention_weight_computation_forward_v2<48><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
        default:
            attention_weight_computation_forward_v2<100><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                output);
            break;
    }
}


template <unsigned int d>
__global__ void attention_weight_computation_backward_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *grad_out, float * grad_query_features, float * grad_key_features) {
    // dim3 blocks(total_query_num, nhead); dim3 threads(local_size);
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params grad_out: [total_query_num, local_size, nhead]
    // params grad_query_features: [total_query_num, nhead, hdim]
    // params grad_key_features: [total_key_num, nhead, hdim]

    int query_idx = blockIdx.x;
    int head_idx = blockIdx.y;
    int local_key_idx = threadIdx.x;
    int index = query_idx * local_size + local_key_idx;

    if (query_idx >= total_query_num ||
        head_idx >= nhead ||
        local_key_idx >= local_size) return;

    // build shared query features.
    __shared__ float shared_query_features[d];
    __shared__ float shared_grad_query_features[d];
    for (int i = local_key_idx; i < hdim; i += blockDim.x){
        shared_query_features[i] = query_features[
            query_idx * nhead * hdim + head_idx * hdim + i];
        shared_grad_query_features[i] = 0;
    }
    __syncthreads();

    if (index_pair[index] != -1){
        int batch_idx = index_pair_batch[query_idx];
        int key_start_idx = 0;
        for (int i = 0; i < batch_idx; i++){
            key_start_idx += key_batch_cnt[i];
        }
        key_start_idx += index_pair[index];

        key_features += key_start_idx * nhead * hdim + head_idx * hdim;
        grad_key_features += key_start_idx * nhead * hdim + head_idx * hdim;

        float gradient = grad_out[index * nhead + head_idx];
        for (int i = 0; i < hdim; i++){
            atomicAdd(
                shared_grad_query_features + i,
                gradient * key_features[i]);
            atomicAdd(
                grad_key_features + i,
                gradient * shared_query_features[i]);
        }
    }
    __syncthreads();

    grad_query_features += query_idx * nhead * hdim + head_idx * hdim;
    for (int i = local_key_idx; i < hdim; i += blockDim.x){
        grad_query_features[i] = shared_grad_query_features[i];
    }
}


void attention_weight_computation_grad_launcher_v2(
    int b, int total_query_num, int local_size,
    int total_key_num, int nhead, int hdim,
    const int *query_batch_cnt, const int *key_batch_cnt, const int* index_pair_batch,
    const int *index_pair,
    const float *query_features, const float* key_features,
    float *grad_out, float* grad_query_features, float* grad_key_features){
    // params query_batch_cnt: [b]
    // params key_batch_cnt: [b]
    // params index_pair_batch: [total_query_num]
    // params index_pair: [total_query_num, local_size]
    // params query_features: [total_query_num, nhead, hdim]
    // params key_features: [total_key_num, nhead, hdim]
    // params grad_out: [total_query_num, local_size, nhead]
    // params grad_query_features: [total_query_num, nhead, hdim]
    // params grad_key_features: [total_key_num, nhead, hdim]
    if (hdim > 100){
        throw "hdim should be <= 100.";
    }

    dim3 blocks(total_query_num, nhead);
    dim3 threads(local_size);

    switch(hdim){
        case 16:
            attention_weight_computation_backward_v2<16><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        case 24:
            attention_weight_computation_backward_v2<24><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        case 32:
            attention_weight_computation_backward_v2<32><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        case 48:
            attention_weight_computation_backward_v2<48><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
        default:
            attention_weight_computation_backward_v2<100><<<blocks, threads>>>(
                b, total_query_num, local_size, total_key_num, nhead, hdim,
                query_batch_cnt, key_batch_cnt, index_pair_batch,
                index_pair, query_features, key_features,
                grad_out, grad_query_features, grad_key_features);
            break;
    }
}


	.text
	.file	"attention_weight_computation_kernel_v2.hip"
	.globl	_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf # -- Begin function _Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf
	.type	_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf,@function
_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf: # @_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf
	.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	$72, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%ecx, 12(%rsp)                  # 4-byte Spill
	cmpl	$101, %r9d
	jge	.LBB0_16
# %bb.1:
	movl	%r9d, %ebx
	movl	%r8d, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	%edi, %r13d
	movq	176(%rsp), %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	movq	168(%rsp), %rax
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	movq	160(%rsp), %rax
	movq	%rax, 32(%rsp)                  # 8-byte Spill
	movq	152(%rsp), %rax
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	movq	144(%rsp), %rax
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	movq	136(%rsp), %rax
	movq	%rax, 56(%rsp)                  # 8-byte Spill
	movq	128(%rsp), %rax
	movq	%rax, 64(%rsp)                  # 8-byte Spill
	movl	%esi, %eax
	movq	%r14, %rdi
	shlq	$32, %rdi
	orq	%rax, %rdi
	movl	%edx, %edx
	btsq	$32, %rdx
	leal	-16(%rbx), %ebp
	roll	$29, %ebp
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	cmpl	$4, %ebp
	ja	.LBB0_13
# %bb.2:
	jmpq	*.LJTI0_0(,%rbp,8)
.LBB0_3:
	testl	%eax, %eax
	jne	.LBB0_15
# %bb.4:
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	jmp	.LBB0_5
.LBB0_9:
	.cfi_def_cfa_offset 128
	testl	%eax, %eax
	jne	.LBB0_15
# %bb.10:
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	jmp	.LBB0_5
.LBB0_7:
	.cfi_def_cfa_offset 128
	testl	%eax, %eax
	jne	.LBB0_15
# %bb.8:
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	jmp	.LBB0_5
.LBB0_11:
	.cfi_def_cfa_offset 128
	testl	%eax, %eax
	jne	.LBB0_15
# %bb.12:
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	12(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	addq	$72, %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
	jmp	_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf # TAILCALL
.LBB0_13:
	.cfi_def_cfa_offset 128
	testl	%eax, %eax
	je	.LBB0_14
.LBB0_15:
	addq	$72, %rsp
	.cfi_def_cfa_offset 56
	jmp	.LBB0_6
.LBB0_14:
	.cfi_def_cfa_offset 128
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
.LBB0_5:
	addq	$136, %rsp
	.cfi_adjust_cfa_offset -136
.LBB0_6:
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB0_16:
	.cfi_def_cfa_offset 128
	movl	$8, %edi
	callq	__cxa_allocate_exception
	movq	$.L.str, (%rax)
	movl	$_ZTIPKc, %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	__cxa_throw
.Lfunc_end0:
	.size	_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf, .Lfunc_end0-_Z40attention_weight_computation_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_Pf
	.cfi_endproc
	.section	.rodata,"a",@progbits
	.p2align	3, 0x0
.LJTI0_0:
	.quad	.LBB0_3
	.quad	.LBB0_7
	.quad	.LBB0_9
	.quad	.LBB0_13
	.quad	.LBB0_11
                                        # -- End function
	.section	.text._Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf # -- Begin function _Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: # @_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.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	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	288(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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_end1:
	.size	_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end1-_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.cfi_endproc
                                        # -- End function
	.section	.text._Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf # -- Begin function _Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: # @_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.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	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	288(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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_end2:
	.size	_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end2-_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.cfi_endproc
                                        # -- End function
	.section	.text._Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf # -- Begin function _Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: # @_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.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	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	288(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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_end3:
	.size	_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end3-_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.cfi_endproc
                                        # -- End function
	.section	.text._Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf # -- Begin function _Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: # @_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.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	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	288(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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_end4:
	.size	_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end4-_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.cfi_endproc
                                        # -- End function
	.section	.text._Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf # -- Begin function _Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.type	_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: # @_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.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	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	288(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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_end5:
	.size	_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end5-_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_ # -- Begin function _Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.type	_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_,@function
_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_: # @_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.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	$88, %rsp
	.cfi_def_cfa_offset 144
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%ecx, 12(%rsp)                  # 4-byte Spill
	cmpl	$101, %r9d
	jge	.LBB6_16
# %bb.1:
	movl	%r9d, %ebx
	movl	%r8d, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	%edi, %r13d
	movq	208(%rsp), %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	movq	200(%rsp), %rax
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	movq	192(%rsp), %rax
	movq	%rax, 32(%rsp)                  # 8-byte Spill
	movq	184(%rsp), %rax
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	movq	176(%rsp), %rax
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	movq	168(%rsp), %rax
	movq	%rax, 56(%rsp)                  # 8-byte Spill
	movq	160(%rsp), %rax
	movq	%rax, 64(%rsp)                  # 8-byte Spill
	movq	152(%rsp), %rax
	movq	%rax, 72(%rsp)                  # 8-byte Spill
	movq	144(%rsp), %rax
	movq	%rax, 80(%rsp)                  # 8-byte Spill
	movl	%esi, %eax
	movq	%r14, %rdi
	shlq	$32, %rdi
	orq	%rax, %rdi
	movl	%edx, %edx
	btsq	$32, %rdx
	leal	-16(%rbx), %ebp
	roll	$29, %ebp
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	cmpl	$4, %ebp
	ja	.LBB6_13
# %bb.2:
	jmpq	*.LJTI6_0(,%rbp,8)
.LBB6_3:
	testl	%eax, %eax
	jne	.LBB6_15
# %bb.4:
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	152(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	jmp	.LBB6_5
.LBB6_9:
	.cfi_def_cfa_offset 144
	testl	%eax, %eax
	jne	.LBB6_15
# %bb.10:
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	152(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	jmp	.LBB6_5
.LBB6_7:
	.cfi_def_cfa_offset 144
	testl	%eax, %eax
	jne	.LBB6_15
# %bb.8:
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	152(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	jmp	.LBB6_5
.LBB6_11:
	.cfi_def_cfa_offset 144
	testl	%eax, %eax
	jne	.LBB6_15
# %bb.12:
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	12(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	addq	$88, %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
	jmp	_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ # TAILCALL
.LBB6_13:
	.cfi_def_cfa_offset 144
	testl	%eax, %eax
	je	.LBB6_14
.LBB6_15:
	addq	$88, %rsp
	.cfi_def_cfa_offset 56
	jmp	.LBB6_6
.LBB6_14:
	.cfi_def_cfa_offset 144
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	20(%rsp), %ecx                  # 4-byte Reload
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	152(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
.LBB6_5:
	addq	$168, %rsp
	.cfi_adjust_cfa_offset -168
.LBB6_6:
	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
.LBB6_16:
	.cfi_def_cfa_offset 144
	movl	$8, %edi
	callq	__cxa_allocate_exception
	movq	$.L.str, (%rax)
	movl	$_ZTIPKc, %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	__cxa_throw
.Lfunc_end6:
	.size	_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_, .Lfunc_end6-_Z45attention_weight_computation_grad_launcher_v2iiiiiiPKiS0_S0_S0_PKfS2_PfS3_S3_
	.cfi_endproc
	.section	.rodata,"a",@progbits
	.p2align	3, 0x0
.LJTI6_0:
	.quad	.LBB6_3
	.quad	.LBB6_7
	.quad	.LBB6_9
	.quad	.LBB6_13
	.quad	.LBB6_11
                                        # -- End function
	.section	.text._Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ # -- Begin function _Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: # @_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.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	$208, %rsp
	.cfi_def_cfa_offset 256
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	256(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	312(%rsp), %rax
	movq	%rax, 104(%rbx)
	leaq	320(%rsp), %rax
	movq	%rax, 112(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$224, %rsp
	.cfi_adjust_cfa_offset -224
	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	_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end7-_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.cfi_endproc
                                        # -- End function
	.section	.text._Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ # -- Begin function _Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: # @_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.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	$208, %rsp
	.cfi_def_cfa_offset 256
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	256(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	312(%rsp), %rax
	movq	%rax, 104(%rbx)
	leaq	320(%rsp), %rax
	movq	%rax, 112(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$224, %rsp
	.cfi_adjust_cfa_offset -224
	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	_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end8-_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.cfi_endproc
                                        # -- End function
	.section	.text._Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ # -- Begin function _Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: # @_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.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	$208, %rsp
	.cfi_def_cfa_offset 256
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	256(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	312(%rsp), %rax
	movq	%rax, 104(%rbx)
	leaq	320(%rsp), %rax
	movq	%rax, 112(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$224, %rsp
	.cfi_adjust_cfa_offset -224
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end9:
	.size	_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end9-_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.cfi_endproc
                                        # -- End function
	.section	.text._Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ # -- Begin function _Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: # @_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.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	$208, %rsp
	.cfi_def_cfa_offset 256
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	256(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	312(%rsp), %rax
	movq	%rax, 104(%rbx)
	leaq	320(%rsp), %rax
	movq	%rax, 112(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$224, %rsp
	.cfi_adjust_cfa_offset -224
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end10:
	.size	_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end10-_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.cfi_endproc
                                        # -- End function
	.section	.text._Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ # -- Begin function _Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.type	_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: # @_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.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	$208, %rsp
	.cfi_def_cfa_offset 256
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	28(%rsp), %rax
	movl	%edi, (%rax)
	leaq	24(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	80(%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	256(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	312(%rsp), %rax
	movq	%rax, 104(%rbx)
	leaq	320(%rsp), %rax
	movq	%rax, 112(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	40(%rsp), %r12
	leaq	32(%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	$_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$224, %rsp
	.cfi_adjust_cfa_offset -224
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end11:
	.size	_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end11-_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.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	.LBB12_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB12_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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	$_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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	$_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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	$_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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	$_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, %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	$_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %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	$_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %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	$_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %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	$_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %esi
	movl	$.L__unnamed_9, %edx
	movl	$.L__unnamed_9, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, %esi
	movl	$.L__unnamed_10, %edx
	movl	$.L__unnamed_10, %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_end12:
	.size	__hip_module_ctor, .Lfunc_end12-__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	.LBB13_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
.LBB13_2:
	retq
.Lfunc_end13:
	.size	__hip_module_dtor, .Lfunc_end13-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"hdim should be <= 100."
	.size	.L.str, 23

	.type	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@object # @_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.section	.rodata._Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"aG",@progbits,_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	3, 0x0
_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
	.quad	_Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.size	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, 8

	.type	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@object # @_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.section	.rodata._Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"aG",@progbits,_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	3, 0x0
_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
	.quad	_Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.size	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, 8

	.type	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@object # @_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.section	.rodata._Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"aG",@progbits,_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	3, 0x0
_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
	.quad	_Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.size	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, 8

	.type	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@object # @_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.section	.rodata._Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"aG",@progbits,_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	3, 0x0
_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
	.quad	_Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.size	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, 8

	.type	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@object # @_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.section	.rodata._Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"aG",@progbits,_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.weak	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	3, 0x0
_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf:
	.quad	_Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.size	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, 8

	.type	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@object # @_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.section	.rodata._Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"aG",@progbits,_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	3, 0x0
_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
	.quad	_Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.size	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, 8

	.type	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@object # @_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.section	.rodata._Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"aG",@progbits,_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	3, 0x0
_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
	.quad	_Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.size	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, 8

	.type	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@object # @_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.section	.rodata._Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"aG",@progbits,_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	3, 0x0
_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
	.quad	_Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.size	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, 8

	.type	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@object # @_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.section	.rodata._Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"aG",@progbits,_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	3, 0x0
_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
	.quad	_Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.size	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, 8

	.type	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@object # @_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.section	.rodata._Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"aG",@progbits,_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.weak	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	3, 0x0
_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_:
	.quad	_Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.size	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, 8

	.type	.L__unnamed_1,@object           # @0
	.section	.rodata.str1.1,"aMS",@progbits,1
.L__unnamed_1:
	.asciz	"_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
	.size	.L__unnamed_1, 78

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
	.size	.L__unnamed_2, 78

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
	.size	.L__unnamed_3, 78

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
	.size	.L__unnamed_4, 78

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf"
	.size	.L__unnamed_5, 79

	.type	.L__unnamed_6,@object           # @5
.L__unnamed_6:
	.asciz	"_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
	.size	.L__unnamed_6, 85

	.type	.L__unnamed_7,@object           # @6
.L__unnamed_7:
	.asciz	"_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
	.size	.L__unnamed_7, 85

	.type	.L__unnamed_8,@object           # @7
.L__unnamed_8:
	.asciz	"_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
	.size	.L__unnamed_8, 85

	.type	.L__unnamed_9,@object           # @8
.L__unnamed_9:
	.asciz	"_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
	.size	.L__unnamed_9, 85

	.type	.L__unnamed_10,@object          # @9
.L__unnamed_10:
	.asciz	"_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_"
	.size	.L__unnamed_10, 86

	.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 _Z54__device_stub__attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z54__device_stub__attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z54__device_stub__attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z54__device_stub__attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z54__device_stub__attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z55__device_stub__attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z55__device_stub__attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z55__device_stub__attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z55__device_stub__attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z55__device_stub__attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _ZTIPKc
	.addrsig_sym _Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.addrsig_sym _Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym _Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.section	.text._Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.protected	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf ; -- Begin function _Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.globl	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	8
	.type	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: ; @_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
; %bb.0:
	s_clause 0x1
	s_load_b64 s[20:21], s[0:1], 0x4
	s_load_b64 s[12:13], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s20
	v_cmp_gt_i32_e32 vcc_lo, s21, v0
	s_cselect_b32 s3, -1, 0
	s_cmp_lt_i32 s15, s12
	s_cselect_b32 s4, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s3, s3, s4
	s_and_b32 s3, vcc_lo, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s4, s3
	s_cbranch_execz .LBB0_12
; %bb.1:                                ; %.preheader
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x20
	s_load_b128 s[16:19], s[0:1], 0x40
	s_mov_b32 s2, s15
	s_mov_b32 s3, exec_lo
	v_cmpx_gt_i32_e64 s13, v0
	s_cbranch_execz .LBB0_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s0, s[0:1], 0x5c
	s_mul_i32 s1, s14, s12
	v_dual_mov_b32 v2, v0 :: v_dual_lshlrev_b32 v1, 2, v0
	s_add_i32 s1, s1, s2
	s_mov_b32 s20, 0
	s_mul_i32 s1, s1, s13
	s_waitcnt lgkmcnt(0)
	s_and_b32 s0, s0, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s15, s0, 2
.LBB0_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v3, s1, v2
	v_add_nc_u32_e32 v2, s0, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v4, 31, v3
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s10, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v4, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s13, v2
	global_load_b32 v3, v[3:4], off
	s_or_b32 s20, vcc_lo, s20
	s_waitcnt vmcnt(0)
	ds_store_b32 v1, v3
	v_add_nc_u32_e32 v1, s15, v1
	s_and_not1_b32 exec_lo, exec_lo, s20
	s_cbranch_execnz .LBB0_3
.LBB0_4:                                ; %Flow133
	s_or_b32 exec_lo, exec_lo, s3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s21, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s8, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s9, v3, vcc_lo
	global_load_b32 v0, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, -1, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB0_12
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[0:1], s[14:15], 2
	s_add_u32 s0, s6, s0
	s_addc_u32 s1, s7, s1
	s_load_b32 s1, s[0:1], 0x0
	s_mov_b32 s0, 0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s1, 1
	s_cbranch_scc1 .LBB0_7
.LBB0_6:                                ; %.lr.ph75
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s3, s[4:5], 0x0
	s_add_i32 s1, s1, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s0, s3, s0
	s_add_u32 s4, s4, 4
	s_addc_u32 s5, s5, 0
	s_cmp_eq_u32 s1, 0
	s_cbranch_scc0 .LBB0_6
.LBB0_7:                                ; %._crit_edge76
	s_cmp_lt_i32 s13, 1
	s_cbranch_scc1 .LBB0_10
; %bb.8:                                ; %.lr.ph80.preheader
	v_add_nc_u32_e32 v0, s0, v0
	s_mov_b32 s0, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[2:3], null, v0, s12, s[2:3]
	v_mov_b32_e32 v0, 0
	v_mul_lo_u32 v2, v2, s13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s16, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s17, v3, vcc_lo
.LBB0_9:                                ; %.lr.ph80
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v4, v[2:3], off
	v_mov_b32_e32 v5, s0
	v_add_co_u32 v2, vcc_lo, v2, 4
	v_add_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	ds_load_b32 v5, v5
	s_add_i32 s13, s13, -1
	s_add_i32 s0, s0, 4
	s_cmp_eq_u32 s13, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_fmac_f32_e32 v0, v4, v5
	s_cbranch_scc0 .LBB0_9
	s_branch .LBB0_11
.LBB0_10:
	v_mov_b32_e32 v0, 0
.LBB0_11:                               ; %Flow128
	v_mad_u64_u32 v[2:3], null, v1, s12, s[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[1:2], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s18, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s19, v2, vcc_lo
	global_store_b32 v[1:2], v0, off
.LBB0_12:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
		.amdhsa_group_segment_fixed_size 64
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 22
		.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
	.section	.text._Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
.Lfunc_end0:
	.size	_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end0-_Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 600
; NumSgprs: 24
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 64 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 24
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.protected	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf ; -- Begin function _Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.globl	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	8
	.type	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: ; @_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
; %bb.0:
	s_clause 0x1
	s_load_b64 s[20:21], s[0:1], 0x4
	s_load_b64 s[12:13], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s20
	v_cmp_gt_i32_e32 vcc_lo, s21, v0
	s_cselect_b32 s3, -1, 0
	s_cmp_lt_i32 s15, s12
	s_cselect_b32 s4, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s3, s3, s4
	s_and_b32 s3, vcc_lo, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s4, s3
	s_cbranch_execz .LBB1_12
; %bb.1:                                ; %.preheader
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x20
	s_load_b128 s[16:19], s[0:1], 0x40
	s_mov_b32 s2, s15
	s_mov_b32 s3, exec_lo
	v_cmpx_gt_i32_e64 s13, v0
	s_cbranch_execz .LBB1_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s0, s[0:1], 0x5c
	s_mul_i32 s1, s14, s12
	v_dual_mov_b32 v2, v0 :: v_dual_lshlrev_b32 v1, 2, v0
	s_add_i32 s1, s1, s2
	s_mov_b32 s20, 0
	s_mul_i32 s1, s1, s13
	s_waitcnt lgkmcnt(0)
	s_and_b32 s0, s0, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s15, s0, 2
.LBB1_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v3, s1, v2
	v_add_nc_u32_e32 v2, s0, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v4, 31, v3
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s10, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v4, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s13, v2
	global_load_b32 v3, v[3:4], off
	s_or_b32 s20, vcc_lo, s20
	s_waitcnt vmcnt(0)
	ds_store_b32 v1, v3
	v_add_nc_u32_e32 v1, s15, v1
	s_and_not1_b32 exec_lo, exec_lo, s20
	s_cbranch_execnz .LBB1_3
.LBB1_4:                                ; %Flow133
	s_or_b32 exec_lo, exec_lo, s3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s21, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s8, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s9, v3, vcc_lo
	global_load_b32 v0, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, -1, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB1_12
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[0:1], s[14:15], 2
	s_add_u32 s0, s6, s0
	s_addc_u32 s1, s7, s1
	s_load_b32 s1, s[0:1], 0x0
	s_mov_b32 s0, 0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s1, 1
	s_cbranch_scc1 .LBB1_7
.LBB1_6:                                ; %.lr.ph75
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s3, s[4:5], 0x0
	s_add_i32 s1, s1, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s0, s3, s0
	s_add_u32 s4, s4, 4
	s_addc_u32 s5, s5, 0
	s_cmp_eq_u32 s1, 0
	s_cbranch_scc0 .LBB1_6
.LBB1_7:                                ; %._crit_edge76
	s_cmp_lt_i32 s13, 1
	s_cbranch_scc1 .LBB1_10
; %bb.8:                                ; %.lr.ph80.preheader
	v_add_nc_u32_e32 v0, s0, v0
	s_mov_b32 s0, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[2:3], null, v0, s12, s[2:3]
	v_mov_b32_e32 v0, 0
	v_mul_lo_u32 v2, v2, s13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s16, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s17, v3, vcc_lo
.LBB1_9:                                ; %.lr.ph80
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v4, v[2:3], off
	v_mov_b32_e32 v5, s0
	v_add_co_u32 v2, vcc_lo, v2, 4
	v_add_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	ds_load_b32 v5, v5
	s_add_i32 s13, s13, -1
	s_add_i32 s0, s0, 4
	s_cmp_eq_u32 s13, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_fmac_f32_e32 v0, v4, v5
	s_cbranch_scc0 .LBB1_9
	s_branch .LBB1_11
.LBB1_10:
	v_mov_b32_e32 v0, 0
.LBB1_11:                               ; %Flow128
	v_mad_u64_u32 v[2:3], null, v1, s12, s[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[1:2], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s18, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s19, v2, vcc_lo
	global_store_b32 v[1:2], v0, off
.LBB1_12:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
		.amdhsa_group_segment_fixed_size 96
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 22
		.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
	.section	.text._Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
.Lfunc_end1:
	.size	_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end1-_Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 600
; NumSgprs: 24
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 96 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 24
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.protected	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf ; -- Begin function _Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.globl	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	8
	.type	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: ; @_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
; %bb.0:
	s_clause 0x1
	s_load_b64 s[20:21], s[0:1], 0x4
	s_load_b64 s[12:13], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s20
	v_cmp_gt_i32_e32 vcc_lo, s21, v0
	s_cselect_b32 s3, -1, 0
	s_cmp_lt_i32 s15, s12
	s_cselect_b32 s4, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s3, s3, s4
	s_and_b32 s3, vcc_lo, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s4, s3
	s_cbranch_execz .LBB2_12
; %bb.1:                                ; %.preheader
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x20
	s_load_b128 s[16:19], s[0:1], 0x40
	s_mov_b32 s2, s15
	s_mov_b32 s3, exec_lo
	v_cmpx_gt_i32_e64 s13, v0
	s_cbranch_execz .LBB2_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s0, s[0:1], 0x5c
	s_mul_i32 s1, s14, s12
	v_dual_mov_b32 v2, v0 :: v_dual_lshlrev_b32 v1, 2, v0
	s_add_i32 s1, s1, s2
	s_mov_b32 s20, 0
	s_mul_i32 s1, s1, s13
	s_waitcnt lgkmcnt(0)
	s_and_b32 s0, s0, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s15, s0, 2
.LBB2_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v3, s1, v2
	v_add_nc_u32_e32 v2, s0, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v4, 31, v3
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s10, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v4, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s13, v2
	global_load_b32 v3, v[3:4], off
	s_or_b32 s20, vcc_lo, s20
	s_waitcnt vmcnt(0)
	ds_store_b32 v1, v3
	v_add_nc_u32_e32 v1, s15, v1
	s_and_not1_b32 exec_lo, exec_lo, s20
	s_cbranch_execnz .LBB2_3
.LBB2_4:                                ; %Flow133
	s_or_b32 exec_lo, exec_lo, s3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s21, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s8, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s9, v3, vcc_lo
	global_load_b32 v0, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, -1, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB2_12
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[0:1], s[14:15], 2
	s_add_u32 s0, s6, s0
	s_addc_u32 s1, s7, s1
	s_load_b32 s1, s[0:1], 0x0
	s_mov_b32 s0, 0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s1, 1
	s_cbranch_scc1 .LBB2_7
.LBB2_6:                                ; %.lr.ph75
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s3, s[4:5], 0x0
	s_add_i32 s1, s1, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s0, s3, s0
	s_add_u32 s4, s4, 4
	s_addc_u32 s5, s5, 0
	s_cmp_eq_u32 s1, 0
	s_cbranch_scc0 .LBB2_6
.LBB2_7:                                ; %._crit_edge76
	s_cmp_lt_i32 s13, 1
	s_cbranch_scc1 .LBB2_10
; %bb.8:                                ; %.lr.ph80.preheader
	v_add_nc_u32_e32 v0, s0, v0
	s_mov_b32 s0, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[2:3], null, v0, s12, s[2:3]
	v_mov_b32_e32 v0, 0
	v_mul_lo_u32 v2, v2, s13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s16, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s17, v3, vcc_lo
.LBB2_9:                                ; %.lr.ph80
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v4, v[2:3], off
	v_mov_b32_e32 v5, s0
	v_add_co_u32 v2, vcc_lo, v2, 4
	v_add_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	ds_load_b32 v5, v5
	s_add_i32 s13, s13, -1
	s_add_i32 s0, s0, 4
	s_cmp_eq_u32 s13, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_fmac_f32_e32 v0, v4, v5
	s_cbranch_scc0 .LBB2_9
	s_branch .LBB2_11
.LBB2_10:
	v_mov_b32_e32 v0, 0
.LBB2_11:                               ; %Flow128
	v_mad_u64_u32 v[2:3], null, v1, s12, s[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[1:2], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s18, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s19, v2, vcc_lo
	global_store_b32 v[1:2], v0, off
.LBB2_12:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
		.amdhsa_group_segment_fixed_size 128
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 22
		.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
	.section	.text._Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
.Lfunc_end2:
	.size	_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end2-_Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 600
; NumSgprs: 24
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 128 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 24
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.protected	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf ; -- Begin function _Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.globl	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	8
	.type	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: ; @_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
; %bb.0:
	s_clause 0x1
	s_load_b64 s[20:21], s[0:1], 0x4
	s_load_b64 s[12:13], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s20
	v_cmp_gt_i32_e32 vcc_lo, s21, v0
	s_cselect_b32 s3, -1, 0
	s_cmp_lt_i32 s15, s12
	s_cselect_b32 s4, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s3, s3, s4
	s_and_b32 s3, vcc_lo, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s4, s3
	s_cbranch_execz .LBB3_12
; %bb.1:                                ; %.preheader
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x20
	s_load_b128 s[16:19], s[0:1], 0x40
	s_mov_b32 s2, s15
	s_mov_b32 s3, exec_lo
	v_cmpx_gt_i32_e64 s13, v0
	s_cbranch_execz .LBB3_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s0, s[0:1], 0x5c
	s_mul_i32 s1, s14, s12
	v_dual_mov_b32 v2, v0 :: v_dual_lshlrev_b32 v1, 2, v0
	s_add_i32 s1, s1, s2
	s_mov_b32 s20, 0
	s_mul_i32 s1, s1, s13
	s_waitcnt lgkmcnt(0)
	s_and_b32 s0, s0, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s15, s0, 2
.LBB3_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v3, s1, v2
	v_add_nc_u32_e32 v2, s0, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v4, 31, v3
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s10, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v4, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s13, v2
	global_load_b32 v3, v[3:4], off
	s_or_b32 s20, vcc_lo, s20
	s_waitcnt vmcnt(0)
	ds_store_b32 v1, v3
	v_add_nc_u32_e32 v1, s15, v1
	s_and_not1_b32 exec_lo, exec_lo, s20
	s_cbranch_execnz .LBB3_3
.LBB3_4:                                ; %Flow133
	s_or_b32 exec_lo, exec_lo, s3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s21, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s8, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s9, v3, vcc_lo
	global_load_b32 v0, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, -1, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB3_12
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[0:1], s[14:15], 2
	s_add_u32 s0, s6, s0
	s_addc_u32 s1, s7, s1
	s_load_b32 s1, s[0:1], 0x0
	s_mov_b32 s0, 0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s1, 1
	s_cbranch_scc1 .LBB3_7
.LBB3_6:                                ; %.lr.ph75
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s3, s[4:5], 0x0
	s_add_i32 s1, s1, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s0, s3, s0
	s_add_u32 s4, s4, 4
	s_addc_u32 s5, s5, 0
	s_cmp_eq_u32 s1, 0
	s_cbranch_scc0 .LBB3_6
.LBB3_7:                                ; %._crit_edge76
	s_cmp_lt_i32 s13, 1
	s_cbranch_scc1 .LBB3_10
; %bb.8:                                ; %.lr.ph80.preheader
	v_add_nc_u32_e32 v0, s0, v0
	s_mov_b32 s0, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[2:3], null, v0, s12, s[2:3]
	v_mov_b32_e32 v0, 0
	v_mul_lo_u32 v2, v2, s13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s16, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s17, v3, vcc_lo
.LBB3_9:                                ; %.lr.ph80
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v4, v[2:3], off
	v_mov_b32_e32 v5, s0
	v_add_co_u32 v2, vcc_lo, v2, 4
	v_add_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	ds_load_b32 v5, v5
	s_add_i32 s13, s13, -1
	s_add_i32 s0, s0, 4
	s_cmp_eq_u32 s13, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_fmac_f32_e32 v0, v4, v5
	s_cbranch_scc0 .LBB3_9
	s_branch .LBB3_11
.LBB3_10:
	v_mov_b32_e32 v0, 0
.LBB3_11:                               ; %Flow128
	v_mad_u64_u32 v[2:3], null, v1, s12, s[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[1:2], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s18, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s19, v2, vcc_lo
	global_store_b32 v[1:2], v0, off
.LBB3_12:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
		.amdhsa_group_segment_fixed_size 192
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 22
		.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
	.section	.text._Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
.Lfunc_end3:
	.size	_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end3-_Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 600
; NumSgprs: 24
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 192 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 24
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
	.protected	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf ; -- Begin function _Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.globl	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
	.p2align	8
	.type	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,@function
_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf: ; @_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
; %bb.0:
	s_clause 0x1
	s_load_b64 s[20:21], s[0:1], 0x4
	s_load_b64 s[12:13], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s20
	v_cmp_gt_i32_e32 vcc_lo, s21, v0
	s_cselect_b32 s3, -1, 0
	s_cmp_lt_i32 s15, s12
	s_cselect_b32 s4, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s3, s3, s4
	s_and_b32 s3, vcc_lo, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s4, s3
	s_cbranch_execz .LBB4_12
; %bb.1:                                ; %.preheader
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x20
	s_load_b128 s[16:19], s[0:1], 0x40
	s_mov_b32 s2, s15
	s_mov_b32 s3, exec_lo
	v_cmpx_gt_i32_e64 s13, v0
	s_cbranch_execz .LBB4_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s0, s[0:1], 0x5c
	s_mul_i32 s1, s14, s12
	v_dual_mov_b32 v2, v0 :: v_dual_lshlrev_b32 v1, 2, v0
	s_add_i32 s1, s1, s2
	s_mov_b32 s20, 0
	s_mul_i32 s1, s1, s13
	s_waitcnt lgkmcnt(0)
	s_and_b32 s0, s0, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s15, s0, 2
.LBB4_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v3, s1, v2
	v_add_nc_u32_e32 v2, s0, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v4, 31, v3
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s10, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v4, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s13, v2
	global_load_b32 v3, v[3:4], off
	s_or_b32 s20, vcc_lo, s20
	s_waitcnt vmcnt(0)
	ds_store_b32 v1, v3
	v_add_nc_u32_e32 v1, s15, v1
	s_and_not1_b32 exec_lo, exec_lo, s20
	s_cbranch_execnz .LBB4_3
.LBB4_4:                                ; %Flow133
	s_or_b32 exec_lo, exec_lo, s3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s21, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s8, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s9, v3, vcc_lo
	global_load_b32 v0, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, -1, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB4_12
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[0:1], s[14:15], 2
	s_add_u32 s0, s6, s0
	s_addc_u32 s1, s7, s1
	s_load_b32 s1, s[0:1], 0x0
	s_mov_b32 s0, 0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s1, 1
	s_cbranch_scc1 .LBB4_7
.LBB4_6:                                ; %.lr.ph75
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s3, s[4:5], 0x0
	s_add_i32 s1, s1, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s0, s3, s0
	s_add_u32 s4, s4, 4
	s_addc_u32 s5, s5, 0
	s_cmp_eq_u32 s1, 0
	s_cbranch_scc0 .LBB4_6
.LBB4_7:                                ; %._crit_edge76
	s_cmp_lt_i32 s13, 1
	s_cbranch_scc1 .LBB4_10
; %bb.8:                                ; %.lr.ph80.preheader
	v_add_nc_u32_e32 v0, s0, v0
	s_mov_b32 s0, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[2:3], null, v0, s12, s[2:3]
	v_mov_b32_e32 v0, 0
	v_mul_lo_u32 v2, v2, s13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s16, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s17, v3, vcc_lo
.LBB4_9:                                ; %.lr.ph80
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v4, v[2:3], off
	v_mov_b32_e32 v5, s0
	v_add_co_u32 v2, vcc_lo, v2, 4
	v_add_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	ds_load_b32 v5, v5
	s_add_i32 s13, s13, -1
	s_add_i32 s0, s0, 4
	s_cmp_eq_u32 s13, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_fmac_f32_e32 v0, v4, v5
	s_cbranch_scc0 .LBB4_9
	s_branch .LBB4_11
.LBB4_10:
	v_mov_b32_e32 v0, 0
.LBB4_11:                               ; %Flow128
	v_mad_u64_u32 v[2:3], null, v1, s12, s[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[1:2], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s18, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s19, v2, vcc_lo
	global_store_b32 v[1:2], v0, off
.LBB4_12:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
		.amdhsa_group_segment_fixed_size 400
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 22
		.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
	.section	.text._Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,"axG",@progbits,_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf,comdat
.Lfunc_end4:
	.size	_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf, .Lfunc_end4-_Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 600
; NumSgprs: 24
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 400 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 24
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.protected	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ ; -- Begin function _Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.globl	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	8
	.type	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: ; @_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x4
	s_load_b64 s[4:5], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s2
	v_cmp_gt_i32_e32 vcc_lo, s3, v0
	s_cselect_b32 s2, -1, 0
	s_cmp_lt_i32 s15, s4
	s_cselect_b32 s7, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s7
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s7, s2
	s_cbranch_execz .LBB5_19
; %bb.1:                                ; %.preheader
	s_load_b512 s[16:31], s[0:1], 0x20
	v_cmp_gt_i32_e32 vcc_lo, s5, v0
	s_mov_b32 s6, s15
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB5_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s2, s[0:1], 0x6c
	s_mul_i32 s8, s14, s4
	v_dual_mov_b32 v2, 0 :: v_dual_lshlrev_b32 v1, 2, v0
	v_mov_b32_e32 v3, v0
	s_add_i32 s9, s8, s6
	s_mov_b32 s11, 0
	s_mul_i32 s9, s9, s5
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s10, s8, 2
.LBB5_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v4, s9, v3
	v_add_nc_u32_e32 v3, s8, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v4, s2, s22, v4
	v_add_co_ci_u32_e64 v5, s2, s23, v5, s2
	v_cmp_le_i32_e64 s2, s5, v3
	global_load_b32 v4, v[4:5], off
	s_or_b32 s11, s2, s11
	s_waitcnt vmcnt(0)
	ds_store_2addr_b32 v1, v4, v2 offset1:16
	v_add_nc_u32_e32 v1, s10, v1
	s_and_not1_b32 exec_lo, exec_lo, s11
	s_cbranch_execnz .LBB5_3
.LBB5_4:                                ; %Flow160
	s_or_b32 exec_lo, exec_lo, s7
	s_delay_alu instid0(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_mov_b32 s3, exec_lo
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	v_add_co_u32 v2, s2, s20, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v3, s2, s21, v3, s2
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e32 -1, v2
	s_cbranch_execz .LBB5_16
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_mov_b32 s7, 0
	s_lshl_b64 s[8:9], s[14:15], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s8, s18, s8
	s_addc_u32 s9, s19, s9
	s_load_b32 s2, s[8:9], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s2, 1
	s_cbranch_scc1 .LBB5_7
.LBB5_6:                                ; %.lr.ph101
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s8, s[16:17], 0x0
	s_add_i32 s2, s2, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s7, s8, s7
	s_add_u32 s16, s16, 4
	s_addc_u32 s17, s17, 0
	s_cmp_eq_u32 s2, 0
	s_cbranch_scc0 .LBB5_6
.LBB5_7:                                ; %._crit_edge102
	s_cmp_lt_i32 s5, 1
	s_cbranch_scc1 .LBB5_16
; %bb.8:                                ; %.lr.ph105.preheader
	v_mad_u64_u32 v[3:4], null, v1, s4, s[6:7]
	s_mov_b32 s9, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_mov_b32 s8, s9
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	v_add_co_u32 v3, s2, s26, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, s2, s27, v4, s2
	global_load_b32 v5, v[3:4], off
	v_add_nc_u32_e32 v3, s7, v2
	v_mad_u64_u32 v[1:2], null, v3, s4, s[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, v1, s5
	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 v6, s2, s24, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v7, s2, s25, v2, s2
	v_add_co_u32 v8, s2, s30, v1
	v_add_co_ci_u32_e64 v9, s2, s31, v2, s2
.LBB5_9:                                ; %.lr.ph105
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB5_10 Depth 2
                                        ;     Child Loop BB5_14 Depth 2
	s_lshl_b64 s[10:11], s[8:9], 2
	s_mov_b32 s7, exec_lo
	v_add_co_u32 v1, s2, v6, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v7, s2
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_mul_f32_e32 v2, v5, v1
	v_bfrev_b32_e32 v1, 1
.LBB5_10:                               ; %ComputeLoop
                                        ;   Parent Loop BB5_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_ctz_i32_b32 s2, s7
	s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
	v_readlane_b32 s12, v2, s2
	s_lshl_b32 s2, 1, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s7, s7, s2
	s_cmp_lg_u32 s7, 0
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v1, s12, v1
	s_cbranch_scc1 .LBB5_10
; %bb.11:                               ; %ComputeEnd
                                        ;   in Loop: Header=BB5_9 Depth=1
	v_mbcnt_lo_u32_b32 v2, exec_lo, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_eq_u32_e64 s2, 0, v2
	s_and_saveexec_b32 s7, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s2, exec_lo, s7
	s_cbranch_execz .LBB5_13
; %bb.12:                               ;   in Loop: Header=BB5_9 Depth=1
	s_lshl_b32 s7, s8, 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mov_b32_e32 v2, s7
	ds_add_f32 v2, v1 offset:64
.LBB5_13:                               ;   in Loop: Header=BB5_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s2
	v_add_co_u32 v1, s2, v8, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v9, s2
	s_lshl_b32 s2, s8, 2
	s_mov_b32 s7, 0
	v_mov_b32_e32 v3, s2
	global_load_b32 v4, v[1:2], off
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v10, v5, v3
.LBB5_14:                               ; %atomicrmw.start
                                        ;   Parent Loop BB5_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_add_f32_e32 v3, v4, v10
	global_atomic_cmpswap_b32 v3, v[1:2], v[3:4], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s2, v3, v4
	v_mov_b32_e32 v4, v3
	s_or_b32 s7, s2, s7
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s7
	s_cbranch_execnz .LBB5_14
; %bb.15:                               ; %atomicrmw.end
                                        ;   in Loop: Header=BB5_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s7
	s_add_i32 s8, s8, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u32 s8, s5
	s_cbranch_scc1 .LBB5_9
.LBB5_16:                               ; %Flow158
	s_or_b32 exec_lo, exec_lo, s3
	s_barrier
	buffer_gl0_inv
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB5_19
; %bb.17:                               ; %.lr.ph108
	s_load_b32 s7, s[0:1], 0x6c
	s_mul_i32 s0, s14, s4
	v_lshl_add_u32 v2, v0, 2, 64
	s_add_i32 s0, s0, s6
	s_mov_b32 s6, 0
	s_mul_i32 s0, s0, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s1, s0, 31
	s_lshl_b64 s[2:3], s[0:1], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(SALU_CYCLE_1)
	s_add_u32 s1, s28, s2
	s_addc_u32 s2, s29, s3
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s7, 0xffff
	s_lshl_b32 s4, s3, 2
.LBB5_18:                               ; =>This Inner Loop Header: Depth=1
	ds_load_b32 v5, v2
	v_ashrrev_i32_e32 v1, 31, v0
	v_add_nc_u32_e32 v2, s4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[0:1]
	v_add_nc_u32_e32 v0, s3, v0
	v_cmp_le_i32_e32 vcc_lo, s5, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v3, s0, s1, v3
	v_add_co_ci_u32_e64 v4, s0, s2, v4, s0
	s_or_b32 s6, vcc_lo, s6
	s_waitcnt lgkmcnt(0)
	global_store_b32 v[3:4], v5, off
	s_and_not1_b32 exec_lo, exec_lo, s6
	s_cbranch_execnz .LBB5_18
.LBB5_19:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
		.amdhsa_group_segment_fixed_size 128
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 352
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 32
		.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
	.section	.text._Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
.Lfunc_end5:
	.size	_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end5-_Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1024
; NumSgprs: 34
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 128 bytes/workgroup (compile time only)
; SGPRBlocks: 4
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 34
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.protected	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ ; -- Begin function _Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.globl	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	8
	.type	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: ; @_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x4
	s_load_b64 s[4:5], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s2
	v_cmp_gt_i32_e32 vcc_lo, s3, v0
	s_cselect_b32 s2, -1, 0
	s_cmp_lt_i32 s15, s4
	s_cselect_b32 s7, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s7
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s7, s2
	s_cbranch_execz .LBB6_19
; %bb.1:                                ; %.preheader
	s_load_b512 s[16:31], s[0:1], 0x20
	v_cmp_gt_i32_e32 vcc_lo, s5, v0
	s_mov_b32 s6, s15
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB6_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s2, s[0:1], 0x6c
	s_mul_i32 s8, s14, s4
	v_dual_mov_b32 v2, 0 :: v_dual_lshlrev_b32 v1, 2, v0
	v_mov_b32_e32 v3, v0
	s_add_i32 s9, s8, s6
	s_mov_b32 s11, 0
	s_mul_i32 s9, s9, s5
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s10, s8, 2
.LBB6_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v4, s9, v3
	v_add_nc_u32_e32 v3, s8, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v4, s2, s22, v4
	v_add_co_ci_u32_e64 v5, s2, s23, v5, s2
	v_cmp_le_i32_e64 s2, s5, v3
	global_load_b32 v4, v[4:5], off
	s_or_b32 s11, s2, s11
	s_waitcnt vmcnt(0)
	ds_store_2addr_b32 v1, v4, v2 offset1:24
	v_add_nc_u32_e32 v1, s10, v1
	s_and_not1_b32 exec_lo, exec_lo, s11
	s_cbranch_execnz .LBB6_3
.LBB6_4:                                ; %Flow160
	s_or_b32 exec_lo, exec_lo, s7
	s_delay_alu instid0(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_mov_b32 s3, exec_lo
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	v_add_co_u32 v2, s2, s20, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v3, s2, s21, v3, s2
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e32 -1, v2
	s_cbranch_execz .LBB6_16
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_mov_b32 s7, 0
	s_lshl_b64 s[8:9], s[14:15], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s8, s18, s8
	s_addc_u32 s9, s19, s9
	s_load_b32 s2, s[8:9], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s2, 1
	s_cbranch_scc1 .LBB6_7
.LBB6_6:                                ; %.lr.ph101
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s8, s[16:17], 0x0
	s_add_i32 s2, s2, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s7, s8, s7
	s_add_u32 s16, s16, 4
	s_addc_u32 s17, s17, 0
	s_cmp_eq_u32 s2, 0
	s_cbranch_scc0 .LBB6_6
.LBB6_7:                                ; %._crit_edge102
	s_cmp_lt_i32 s5, 1
	s_cbranch_scc1 .LBB6_16
; %bb.8:                                ; %.lr.ph105.preheader
	v_mad_u64_u32 v[3:4], null, v1, s4, s[6:7]
	s_mov_b32 s9, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_mov_b32 s8, s9
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	v_add_co_u32 v3, s2, s26, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, s2, s27, v4, s2
	global_load_b32 v5, v[3:4], off
	v_add_nc_u32_e32 v3, s7, v2
	v_mad_u64_u32 v[1:2], null, v3, s4, s[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, v1, s5
	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 v6, s2, s24, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v7, s2, s25, v2, s2
	v_add_co_u32 v8, s2, s30, v1
	v_add_co_ci_u32_e64 v9, s2, s31, v2, s2
.LBB6_9:                                ; %.lr.ph105
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB6_10 Depth 2
                                        ;     Child Loop BB6_14 Depth 2
	s_lshl_b64 s[10:11], s[8:9], 2
	s_mov_b32 s7, exec_lo
	v_add_co_u32 v1, s2, v6, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v7, s2
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_mul_f32_e32 v2, v5, v1
	v_bfrev_b32_e32 v1, 1
.LBB6_10:                               ; %ComputeLoop
                                        ;   Parent Loop BB6_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_ctz_i32_b32 s2, s7
	s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
	v_readlane_b32 s12, v2, s2
	s_lshl_b32 s2, 1, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s7, s7, s2
	s_cmp_lg_u32 s7, 0
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v1, s12, v1
	s_cbranch_scc1 .LBB6_10
; %bb.11:                               ; %ComputeEnd
                                        ;   in Loop: Header=BB6_9 Depth=1
	v_mbcnt_lo_u32_b32 v2, exec_lo, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_eq_u32_e64 s2, 0, v2
	s_and_saveexec_b32 s7, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s2, exec_lo, s7
	s_cbranch_execz .LBB6_13
; %bb.12:                               ;   in Loop: Header=BB6_9 Depth=1
	s_lshl_b32 s7, s8, 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mov_b32_e32 v2, s7
	ds_add_f32 v2, v1 offset:96
.LBB6_13:                               ;   in Loop: Header=BB6_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s2
	v_add_co_u32 v1, s2, v8, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v9, s2
	s_lshl_b32 s2, s8, 2
	s_mov_b32 s7, 0
	v_mov_b32_e32 v3, s2
	global_load_b32 v4, v[1:2], off
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v10, v5, v3
.LBB6_14:                               ; %atomicrmw.start
                                        ;   Parent Loop BB6_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_add_f32_e32 v3, v4, v10
	global_atomic_cmpswap_b32 v3, v[1:2], v[3:4], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s2, v3, v4
	v_mov_b32_e32 v4, v3
	s_or_b32 s7, s2, s7
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s7
	s_cbranch_execnz .LBB6_14
; %bb.15:                               ; %atomicrmw.end
                                        ;   in Loop: Header=BB6_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s7
	s_add_i32 s8, s8, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u32 s8, s5
	s_cbranch_scc1 .LBB6_9
.LBB6_16:                               ; %Flow158
	s_or_b32 exec_lo, exec_lo, s3
	s_barrier
	buffer_gl0_inv
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB6_19
; %bb.17:                               ; %.lr.ph108
	s_load_b32 s7, s[0:1], 0x6c
	s_mul_i32 s0, s14, s4
	v_lshl_add_u32 v2, v0, 2, 0x60
	s_add_i32 s0, s0, s6
	s_mov_b32 s6, 0
	s_mul_i32 s0, s0, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s1, s0, 31
	s_lshl_b64 s[2:3], s[0:1], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(SALU_CYCLE_1)
	s_add_u32 s1, s28, s2
	s_addc_u32 s2, s29, s3
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s7, 0xffff
	s_lshl_b32 s4, s3, 2
.LBB6_18:                               ; =>This Inner Loop Header: Depth=1
	ds_load_b32 v5, v2
	v_ashrrev_i32_e32 v1, 31, v0
	v_add_nc_u32_e32 v2, s4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[0:1]
	v_add_nc_u32_e32 v0, s3, v0
	v_cmp_le_i32_e32 vcc_lo, s5, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v3, s0, s1, v3
	v_add_co_ci_u32_e64 v4, s0, s2, v4, s0
	s_or_b32 s6, vcc_lo, s6
	s_waitcnt lgkmcnt(0)
	global_store_b32 v[3:4], v5, off
	s_and_not1_b32 exec_lo, exec_lo, s6
	s_cbranch_execnz .LBB6_18
.LBB6_19:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
		.amdhsa_group_segment_fixed_size 192
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 352
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 32
		.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
	.section	.text._Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
.Lfunc_end6:
	.size	_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end6-_Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1028
; NumSgprs: 34
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 192 bytes/workgroup (compile time only)
; SGPRBlocks: 4
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 34
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.protected	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ ; -- Begin function _Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.globl	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	8
	.type	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: ; @_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x4
	s_load_b64 s[4:5], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s2
	v_cmp_gt_i32_e32 vcc_lo, s3, v0
	s_cselect_b32 s2, -1, 0
	s_cmp_lt_i32 s15, s4
	s_cselect_b32 s7, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s7
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s7, s2
	s_cbranch_execz .LBB7_19
; %bb.1:                                ; %.preheader
	s_load_b512 s[16:31], s[0:1], 0x20
	v_cmp_gt_i32_e32 vcc_lo, s5, v0
	s_mov_b32 s6, s15
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB7_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s2, s[0:1], 0x6c
	s_mul_i32 s8, s14, s4
	v_dual_mov_b32 v2, 0 :: v_dual_lshlrev_b32 v1, 2, v0
	v_mov_b32_e32 v3, v0
	s_add_i32 s9, s8, s6
	s_mov_b32 s11, 0
	s_mul_i32 s9, s9, s5
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s10, s8, 2
.LBB7_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v4, s9, v3
	v_add_nc_u32_e32 v3, s8, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v4, s2, s22, v4
	v_add_co_ci_u32_e64 v5, s2, s23, v5, s2
	v_cmp_le_i32_e64 s2, s5, v3
	global_load_b32 v4, v[4:5], off
	s_or_b32 s11, s2, s11
	s_waitcnt vmcnt(0)
	ds_store_2addr_b32 v1, v4, v2 offset1:32
	v_add_nc_u32_e32 v1, s10, v1
	s_and_not1_b32 exec_lo, exec_lo, s11
	s_cbranch_execnz .LBB7_3
.LBB7_4:                                ; %Flow160
	s_or_b32 exec_lo, exec_lo, s7
	s_delay_alu instid0(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_mov_b32 s3, exec_lo
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	v_add_co_u32 v2, s2, s20, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v3, s2, s21, v3, s2
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e32 -1, v2
	s_cbranch_execz .LBB7_16
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_mov_b32 s7, 0
	s_lshl_b64 s[8:9], s[14:15], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s8, s18, s8
	s_addc_u32 s9, s19, s9
	s_load_b32 s2, s[8:9], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s2, 1
	s_cbranch_scc1 .LBB7_7
.LBB7_6:                                ; %.lr.ph101
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s8, s[16:17], 0x0
	s_add_i32 s2, s2, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s7, s8, s7
	s_add_u32 s16, s16, 4
	s_addc_u32 s17, s17, 0
	s_cmp_eq_u32 s2, 0
	s_cbranch_scc0 .LBB7_6
.LBB7_7:                                ; %._crit_edge102
	s_cmp_lt_i32 s5, 1
	s_cbranch_scc1 .LBB7_16
; %bb.8:                                ; %.lr.ph105.preheader
	v_mad_u64_u32 v[3:4], null, v1, s4, s[6:7]
	s_mov_b32 s9, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_mov_b32 s8, s9
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	v_add_co_u32 v3, s2, s26, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, s2, s27, v4, s2
	global_load_b32 v5, v[3:4], off
	v_add_nc_u32_e32 v3, s7, v2
	v_mad_u64_u32 v[1:2], null, v3, s4, s[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, v1, s5
	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 v6, s2, s24, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v7, s2, s25, v2, s2
	v_add_co_u32 v8, s2, s30, v1
	v_add_co_ci_u32_e64 v9, s2, s31, v2, s2
.LBB7_9:                                ; %.lr.ph105
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB7_10 Depth 2
                                        ;     Child Loop BB7_14 Depth 2
	s_lshl_b64 s[10:11], s[8:9], 2
	s_mov_b32 s7, exec_lo
	v_add_co_u32 v1, s2, v6, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v7, s2
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_mul_f32_e32 v2, v5, v1
	v_bfrev_b32_e32 v1, 1
.LBB7_10:                               ; %ComputeLoop
                                        ;   Parent Loop BB7_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_ctz_i32_b32 s2, s7
	s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
	v_readlane_b32 s12, v2, s2
	s_lshl_b32 s2, 1, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s7, s7, s2
	s_cmp_lg_u32 s7, 0
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v1, s12, v1
	s_cbranch_scc1 .LBB7_10
; %bb.11:                               ; %ComputeEnd
                                        ;   in Loop: Header=BB7_9 Depth=1
	v_mbcnt_lo_u32_b32 v2, exec_lo, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_eq_u32_e64 s2, 0, v2
	s_and_saveexec_b32 s7, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s2, exec_lo, s7
	s_cbranch_execz .LBB7_13
; %bb.12:                               ;   in Loop: Header=BB7_9 Depth=1
	s_lshl_b32 s7, s8, 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mov_b32_e32 v2, s7
	ds_add_f32 v2, v1 offset:128
.LBB7_13:                               ;   in Loop: Header=BB7_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s2
	v_add_co_u32 v1, s2, v8, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v9, s2
	s_lshl_b32 s2, s8, 2
	s_mov_b32 s7, 0
	v_mov_b32_e32 v3, s2
	global_load_b32 v4, v[1:2], off
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v10, v5, v3
.LBB7_14:                               ; %atomicrmw.start
                                        ;   Parent Loop BB7_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_add_f32_e32 v3, v4, v10
	global_atomic_cmpswap_b32 v3, v[1:2], v[3:4], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s2, v3, v4
	v_mov_b32_e32 v4, v3
	s_or_b32 s7, s2, s7
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s7
	s_cbranch_execnz .LBB7_14
; %bb.15:                               ; %atomicrmw.end
                                        ;   in Loop: Header=BB7_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s7
	s_add_i32 s8, s8, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u32 s8, s5
	s_cbranch_scc1 .LBB7_9
.LBB7_16:                               ; %Flow158
	s_or_b32 exec_lo, exec_lo, s3
	s_barrier
	buffer_gl0_inv
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_19
; %bb.17:                               ; %.lr.ph108
	s_load_b32 s7, s[0:1], 0x6c
	s_mul_i32 s0, s14, s4
	v_lshl_add_u32 v2, v0, 2, 0x80
	s_add_i32 s0, s0, s6
	s_mov_b32 s6, 0
	s_mul_i32 s0, s0, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s1, s0, 31
	s_lshl_b64 s[2:3], s[0:1], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(SALU_CYCLE_1)
	s_add_u32 s1, s28, s2
	s_addc_u32 s2, s29, s3
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s7, 0xffff
	s_lshl_b32 s4, s3, 2
.LBB7_18:                               ; =>This Inner Loop Header: Depth=1
	ds_load_b32 v5, v2
	v_ashrrev_i32_e32 v1, 31, v0
	v_add_nc_u32_e32 v2, s4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[0:1]
	v_add_nc_u32_e32 v0, s3, v0
	v_cmp_le_i32_e32 vcc_lo, s5, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v3, s0, s1, v3
	v_add_co_ci_u32_e64 v4, s0, s2, v4, s0
	s_or_b32 s6, vcc_lo, s6
	s_waitcnt lgkmcnt(0)
	global_store_b32 v[3:4], v5, off
	s_and_not1_b32 exec_lo, exec_lo, s6
	s_cbranch_execnz .LBB7_18
.LBB7_19:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
		.amdhsa_group_segment_fixed_size 256
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 352
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 32
		.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
	.section	.text._Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
.Lfunc_end7:
	.size	_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end7-_Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1028
; NumSgprs: 34
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 256 bytes/workgroup (compile time only)
; SGPRBlocks: 4
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 34
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.protected	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ ; -- Begin function _Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.globl	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	8
	.type	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: ; @_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x4
	s_load_b64 s[4:5], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s2
	v_cmp_gt_i32_e32 vcc_lo, s3, v0
	s_cselect_b32 s2, -1, 0
	s_cmp_lt_i32 s15, s4
	s_cselect_b32 s7, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s7
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s7, s2
	s_cbranch_execz .LBB8_19
; %bb.1:                                ; %.preheader
	s_load_b512 s[16:31], s[0:1], 0x20
	v_cmp_gt_i32_e32 vcc_lo, s5, v0
	s_mov_b32 s6, s15
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB8_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s2, s[0:1], 0x6c
	s_mul_i32 s8, s14, s4
	v_dual_mov_b32 v2, 0 :: v_dual_lshlrev_b32 v1, 2, v0
	v_mov_b32_e32 v3, v0
	s_add_i32 s9, s8, s6
	s_mov_b32 s11, 0
	s_mul_i32 s9, s9, s5
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s10, s8, 2
.LBB8_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v4, s9, v3
	v_add_nc_u32_e32 v3, s8, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v4, s2, s22, v4
	v_add_co_ci_u32_e64 v5, s2, s23, v5, s2
	v_cmp_le_i32_e64 s2, s5, v3
	global_load_b32 v4, v[4:5], off
	s_or_b32 s11, s2, s11
	s_waitcnt vmcnt(0)
	ds_store_2addr_b32 v1, v4, v2 offset1:48
	v_add_nc_u32_e32 v1, s10, v1
	s_and_not1_b32 exec_lo, exec_lo, s11
	s_cbranch_execnz .LBB8_3
.LBB8_4:                                ; %Flow160
	s_or_b32 exec_lo, exec_lo, s7
	s_delay_alu instid0(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_mov_b32 s3, exec_lo
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	v_add_co_u32 v2, s2, s20, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v3, s2, s21, v3, s2
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e32 -1, v2
	s_cbranch_execz .LBB8_16
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_mov_b32 s7, 0
	s_lshl_b64 s[8:9], s[14:15], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s8, s18, s8
	s_addc_u32 s9, s19, s9
	s_load_b32 s2, s[8:9], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s2, 1
	s_cbranch_scc1 .LBB8_7
.LBB8_6:                                ; %.lr.ph101
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s8, s[16:17], 0x0
	s_add_i32 s2, s2, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s7, s8, s7
	s_add_u32 s16, s16, 4
	s_addc_u32 s17, s17, 0
	s_cmp_eq_u32 s2, 0
	s_cbranch_scc0 .LBB8_6
.LBB8_7:                                ; %._crit_edge102
	s_cmp_lt_i32 s5, 1
	s_cbranch_scc1 .LBB8_16
; %bb.8:                                ; %.lr.ph105.preheader
	v_mad_u64_u32 v[3:4], null, v1, s4, s[6:7]
	s_mov_b32 s9, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_mov_b32 s8, s9
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	v_add_co_u32 v3, s2, s26, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, s2, s27, v4, s2
	global_load_b32 v5, v[3:4], off
	v_add_nc_u32_e32 v3, s7, v2
	v_mad_u64_u32 v[1:2], null, v3, s4, s[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, v1, s5
	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 v6, s2, s24, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v7, s2, s25, v2, s2
	v_add_co_u32 v8, s2, s30, v1
	v_add_co_ci_u32_e64 v9, s2, s31, v2, s2
.LBB8_9:                                ; %.lr.ph105
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB8_10 Depth 2
                                        ;     Child Loop BB8_14 Depth 2
	s_lshl_b64 s[10:11], s[8:9], 2
	s_mov_b32 s7, exec_lo
	v_add_co_u32 v1, s2, v6, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v7, s2
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_mul_f32_e32 v2, v5, v1
	v_bfrev_b32_e32 v1, 1
.LBB8_10:                               ; %ComputeLoop
                                        ;   Parent Loop BB8_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_ctz_i32_b32 s2, s7
	s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
	v_readlane_b32 s12, v2, s2
	s_lshl_b32 s2, 1, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s7, s7, s2
	s_cmp_lg_u32 s7, 0
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v1, s12, v1
	s_cbranch_scc1 .LBB8_10
; %bb.11:                               ; %ComputeEnd
                                        ;   in Loop: Header=BB8_9 Depth=1
	v_mbcnt_lo_u32_b32 v2, exec_lo, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_eq_u32_e64 s2, 0, v2
	s_and_saveexec_b32 s7, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s2, exec_lo, s7
	s_cbranch_execz .LBB8_13
; %bb.12:                               ;   in Loop: Header=BB8_9 Depth=1
	s_lshl_b32 s7, s8, 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mov_b32_e32 v2, s7
	ds_add_f32 v2, v1 offset:192
.LBB8_13:                               ;   in Loop: Header=BB8_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s2
	v_add_co_u32 v1, s2, v8, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v9, s2
	s_lshl_b32 s2, s8, 2
	s_mov_b32 s7, 0
	v_mov_b32_e32 v3, s2
	global_load_b32 v4, v[1:2], off
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v10, v5, v3
.LBB8_14:                               ; %atomicrmw.start
                                        ;   Parent Loop BB8_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_add_f32_e32 v3, v4, v10
	global_atomic_cmpswap_b32 v3, v[1:2], v[3:4], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s2, v3, v4
	v_mov_b32_e32 v4, v3
	s_or_b32 s7, s2, s7
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s7
	s_cbranch_execnz .LBB8_14
; %bb.15:                               ; %atomicrmw.end
                                        ;   in Loop: Header=BB8_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s7
	s_add_i32 s8, s8, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u32 s8, s5
	s_cbranch_scc1 .LBB8_9
.LBB8_16:                               ; %Flow158
	s_or_b32 exec_lo, exec_lo, s3
	s_barrier
	buffer_gl0_inv
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB8_19
; %bb.17:                               ; %.lr.ph108
	s_load_b32 s7, s[0:1], 0x6c
	s_mul_i32 s0, s14, s4
	v_lshl_add_u32 v2, v0, 2, 0xc0
	s_add_i32 s0, s0, s6
	s_mov_b32 s6, 0
	s_mul_i32 s0, s0, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s1, s0, 31
	s_lshl_b64 s[2:3], s[0:1], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(SALU_CYCLE_1)
	s_add_u32 s1, s28, s2
	s_addc_u32 s2, s29, s3
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s7, 0xffff
	s_lshl_b32 s4, s3, 2
.LBB8_18:                               ; =>This Inner Loop Header: Depth=1
	ds_load_b32 v5, v2
	v_ashrrev_i32_e32 v1, 31, v0
	v_add_nc_u32_e32 v2, s4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[0:1]
	v_add_nc_u32_e32 v0, s3, v0
	v_cmp_le_i32_e32 vcc_lo, s5, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v3, s0, s1, v3
	v_add_co_ci_u32_e64 v4, s0, s2, v4, s0
	s_or_b32 s6, vcc_lo, s6
	s_waitcnt lgkmcnt(0)
	global_store_b32 v[3:4], v5, off
	s_and_not1_b32 exec_lo, exec_lo, s6
	s_cbranch_execnz .LBB8_18
.LBB8_19:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
		.amdhsa_group_segment_fixed_size 384
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 352
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 32
		.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
	.section	.text._Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
.Lfunc_end8:
	.size	_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end8-_Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1028
; NumSgprs: 34
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 384 bytes/workgroup (compile time only)
; SGPRBlocks: 4
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 34
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
	.protected	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_ ; -- Begin function _Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.globl	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
	.p2align	8
	.type	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,@function
_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_: ; @_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x4
	s_load_b64 s[4:5], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s14, s2
	v_cmp_gt_i32_e32 vcc_lo, s3, v0
	s_cselect_b32 s2, -1, 0
	s_cmp_lt_i32 s15, s4
	s_cselect_b32 s7, -1, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s7
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s7, s2
	s_cbranch_execz .LBB9_19
; %bb.1:                                ; %.preheader
	s_load_b512 s[16:31], s[0:1], 0x20
	v_cmp_gt_i32_e32 vcc_lo, s5, v0
	s_mov_b32 s6, s15
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB9_4
; %bb.2:                                ; %.lr.ph
	s_load_b32 s2, s[0:1], 0x6c
	s_mul_i32 s8, s14, s4
	v_dual_mov_b32 v2, 0 :: v_dual_lshlrev_b32 v1, 2, v0
	v_mov_b32_e32 v3, v0
	s_add_i32 s9, s8, s6
	s_mov_b32 s11, 0
	s_mul_i32 s9, s9, s5
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s10, s8, 2
.LBB9_3:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v4, s9, v3
	v_add_nc_u32_e32 v3, s8, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v4, s2, s22, v4
	v_add_co_ci_u32_e64 v5, s2, s23, v5, s2
	v_cmp_le_i32_e64 s2, s5, v3
	global_load_b32 v4, v[4:5], off
	s_or_b32 s11, s2, s11
	s_waitcnt vmcnt(0)
	ds_store_2addr_b32 v1, v4, v2 offset1:100
	v_add_nc_u32_e32 v1, s10, v1
	s_and_not1_b32 exec_lo, exec_lo, s11
	s_cbranch_execnz .LBB9_3
.LBB9_4:                                ; %Flow160
	s_or_b32 exec_lo, exec_lo, s7
	s_delay_alu instid0(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s14, s3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_mov_b32 s3, exec_lo
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	v_add_co_u32 v2, s2, s20, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v3, s2, s21, v3, s2
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e32 -1, v2
	s_cbranch_execz .LBB9_16
; %bb.5:
	s_ashr_i32 s15, s14, 31
	s_mov_b32 s7, 0
	s_lshl_b64 s[8:9], s[14:15], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s8, s18, s8
	s_addc_u32 s9, s19, s9
	s_load_b32 s2, s[8:9], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s2, 1
	s_cbranch_scc1 .LBB9_7
.LBB9_6:                                ; %.lr.ph101
                                        ; =>This Inner Loop Header: Depth=1
	s_load_b32 s8, s[16:17], 0x0
	s_add_i32 s2, s2, -1
	s_waitcnt lgkmcnt(0)
	s_add_i32 s7, s8, s7
	s_add_u32 s16, s16, 4
	s_addc_u32 s17, s17, 0
	s_cmp_eq_u32 s2, 0
	s_cbranch_scc0 .LBB9_6
.LBB9_7:                                ; %._crit_edge102
	s_cmp_lt_i32 s5, 1
	s_cbranch_scc1 .LBB9_16
; %bb.8:                                ; %.lr.ph105.preheader
	v_mad_u64_u32 v[3:4], null, v1, s4, s[6:7]
	s_mov_b32 s9, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_mov_b32 s8, s9
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	v_add_co_u32 v3, s2, s26, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, s2, s27, v4, s2
	global_load_b32 v5, v[3:4], off
	v_add_nc_u32_e32 v3, s7, v2
	v_mad_u64_u32 v[1:2], null, v3, s4, s[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, v1, s5
	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 v6, s2, s24, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v7, s2, s25, v2, s2
	v_add_co_u32 v8, s2, s30, v1
	v_add_co_ci_u32_e64 v9, s2, s31, v2, s2
.LBB9_9:                                ; %.lr.ph105
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB9_10 Depth 2
                                        ;     Child Loop BB9_14 Depth 2
	s_lshl_b64 s[10:11], s[8:9], 2
	s_mov_b32 s7, exec_lo
	v_add_co_u32 v1, s2, v6, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v7, s2
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_mul_f32_e32 v2, v5, v1
	v_bfrev_b32_e32 v1, 1
.LBB9_10:                               ; %ComputeLoop
                                        ;   Parent Loop BB9_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_ctz_i32_b32 s2, s7
	s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
	v_readlane_b32 s12, v2, s2
	s_lshl_b32 s2, 1, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s7, s7, s2
	s_cmp_lg_u32 s7, 0
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v1, s12, v1
	s_cbranch_scc1 .LBB9_10
; %bb.11:                               ; %ComputeEnd
                                        ;   in Loop: Header=BB9_9 Depth=1
	v_mbcnt_lo_u32_b32 v2, exec_lo, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_eq_u32_e64 s2, 0, v2
	s_and_saveexec_b32 s7, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s2, exec_lo, s7
	s_cbranch_execz .LBB9_13
; %bb.12:                               ;   in Loop: Header=BB9_9 Depth=1
	s_lshl_b32 s7, s8, 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mov_b32_e32 v2, s7
	ds_add_f32 v2, v1 offset:400
.LBB9_13:                               ;   in Loop: Header=BB9_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s2
	v_add_co_u32 v1, s2, v8, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, s2, s11, v9, s2
	s_lshl_b32 s2, s8, 2
	s_mov_b32 s7, 0
	v_mov_b32_e32 v3, s2
	global_load_b32 v4, v[1:2], off
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v10, v5, v3
.LBB9_14:                               ; %atomicrmw.start
                                        ;   Parent Loop BB9_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_add_f32_e32 v3, v4, v10
	global_atomic_cmpswap_b32 v3, v[1:2], v[3:4], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s2, v3, v4
	v_mov_b32_e32 v4, v3
	s_or_b32 s7, s2, s7
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s7
	s_cbranch_execnz .LBB9_14
; %bb.15:                               ; %atomicrmw.end
                                        ;   in Loop: Header=BB9_9 Depth=1
	s_or_b32 exec_lo, exec_lo, s7
	s_add_i32 s8, s8, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u32 s8, s5
	s_cbranch_scc1 .LBB9_9
.LBB9_16:                               ; %Flow158
	s_or_b32 exec_lo, exec_lo, s3
	s_barrier
	buffer_gl0_inv
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB9_19
; %bb.17:                               ; %.lr.ph108
	s_load_b32 s7, s[0:1], 0x6c
	s_mul_i32 s0, s14, s4
	v_lshl_add_u32 v2, v0, 2, 0x190
	s_add_i32 s0, s0, s6
	s_mov_b32 s6, 0
	s_mul_i32 s0, s0, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s1, s0, 31
	s_lshl_b64 s[2:3], s[0:1], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(SALU_CYCLE_1)
	s_add_u32 s1, s28, s2
	s_addc_u32 s2, s29, s3
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s7, 0xffff
	s_lshl_b32 s4, s3, 2
.LBB9_18:                               ; =>This Inner Loop Header: Depth=1
	ds_load_b32 v5, v2
	v_ashrrev_i32_e32 v1, 31, v0
	v_add_nc_u32_e32 v2, s4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[0:1]
	v_add_nc_u32_e32 v0, s3, v0
	v_cmp_le_i32_e32 vcc_lo, s5, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v3, s0, s1, v3
	v_add_co_ci_u32_e64 v4, s0, s2, v4, s0
	s_or_b32 s6, vcc_lo, s6
	s_waitcnt lgkmcnt(0)
	global_store_b32 v[3:4], v5, off
	s_and_not1_b32 exec_lo, exec_lo, s6
	s_cbranch_execnz .LBB9_18
.LBB9_19:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
		.amdhsa_group_segment_fixed_size 800
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 352
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 32
		.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
	.section	.text._Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,"axG",@progbits,_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_,comdat
.Lfunc_end9:
	.size	_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_, .Lfunc_end9-_Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1028
; NumSgprs: 34
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 800 bytes/workgroup (compile time only)
; SGPRBlocks: 4
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 34
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; 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:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .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: 64
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     24
    .sgpr_spill_count: 0
    .symbol:         _Z39attention_weight_computation_forward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_Pf.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:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .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: 96
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     24
    .sgpr_spill_count: 0
    .symbol:         _Z39attention_weight_computation_forward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_Pf.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:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .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: 128
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     24
    .sgpr_spill_count: 0
    .symbol:         _Z39attention_weight_computation_forward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_Pf.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:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .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: 192
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     24
    .sgpr_spill_count: 0
    .symbol:         _Z39attention_weight_computation_forward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_Pf.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:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .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: 400
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     24
    .sgpr_spill_count: 0
    .symbol:         _Z39attention_weight_computation_forward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_Pf.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:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         88
        .size:           8
        .value_kind:     global_buffer
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         100
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         104
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         108
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         110
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         112
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         114
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         116
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         118
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         152
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         160
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 128
    .kernarg_segment_align: 8
    .kernarg_segment_size: 352
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
    .private_segment_fixed_size: 0
    .sgpr_count:     34
    .sgpr_spill_count: 0
    .symbol:         _Z40attention_weight_computation_backward_v2ILj16EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         88
        .size:           8
        .value_kind:     global_buffer
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         100
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         104
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         108
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         110
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         112
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         114
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         116
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         118
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         152
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         160
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 192
    .kernarg_segment_align: 8
    .kernarg_segment_size: 352
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
    .private_segment_fixed_size: 0
    .sgpr_count:     34
    .sgpr_spill_count: 0
    .symbol:         _Z40attention_weight_computation_backward_v2ILj24EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         88
        .size:           8
        .value_kind:     global_buffer
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         100
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         104
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         108
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         110
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         112
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         114
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         116
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         118
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         152
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         160
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 256
    .kernarg_segment_align: 8
    .kernarg_segment_size: 352
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
    .private_segment_fixed_size: 0
    .sgpr_count:     34
    .sgpr_spill_count: 0
    .symbol:         _Z40attention_weight_computation_backward_v2ILj32EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         88
        .size:           8
        .value_kind:     global_buffer
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         100
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         104
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         108
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         110
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         112
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         114
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         116
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         118
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         152
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         160
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 384
    .kernarg_segment_align: 8
    .kernarg_segment_size: 352
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
    .private_segment_fixed_size: 0
    .sgpr_count:     34
    .sgpr_spill_count: 0
    .symbol:         _Z40attention_weight_computation_backward_v2ILj48EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .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
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         88
        .size:           8
        .value_kind:     global_buffer
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         100
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         104
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         108
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         110
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         112
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         114
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         116
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         118
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         152
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         160
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 800
    .kernarg_segment_align: 8
    .kernarg_segment_size: 352
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_
    .private_segment_fixed_size: 0
    .sgpr_count:     34
    .sgpr_spill_count: 0
    .symbol:         _Z40attention_weight_computation_backward_v2ILj100EEviiiiiiPKiS1_S1_S1_PKfS3_PfS4_S4_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
