
/* reduce-integer.cu */

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/time.h>
#include <cuda_runtime.h>

/*
 * Check kernel performance using the following commands
 *
 * nvcc reduce-integer.cu -o bin/reduce-integer
 *
 * su
 * nvprof --metrics inst_per_warp bin/reduce-integer
 * nvprof --metrics gld_throughput bin/reduce-integer
 * nvprof --metrics gld_efficiency bin/reduce-integer
 * nvprof --metrics gst_efficiency bin/reduce-integer
 * nvprof --metrics dram_read_throughput bin/reduce-integer
 * nvprof --metrics stall_sync bin/reduce-integer
 */

#define CHECK_CUDA_CALL(call) \
    { \
        const cudaError_t error = call; \
        \
        if (error != cudaSuccess) { \
            fprintf(stderr, "Error (%s:%d), code: %d, reason: %s\n", \
                    __FILE__, __LINE__, \
                    error, cudaGetErrorString(error)); \
                exit(EXIT_FAILURE); \
        } \
    }

int recursiveReduceHost(int* inArray, size_t size)
{
    int i;
    int stride;

    if (size == 1)
        return inArray[0];

    stride = (int)(size / 2);

    /* Execute in-place reduction */
    for (i = 0; i < stride; ++i)
        inArray[i] += inArray[i + stride];

    /* Recursive call */
    return recursiveReduceHost(inArray, stride);
}

__global__ void reduceNeighbored(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + blockIdx.x * blockDim.x;
    int* pArray = inArray + blockIdx.x * blockDim.x;
    int stride;

    if (i >= size)
        return;

    for (stride = 1; stride < blockDim.x; stride *= 2) {
        if ((id % (2 * stride)) == 0)
            pArray[id] += pArray[id + stride];
        
        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceNeighboredLess(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + blockIdx.x * blockDim.x;
    unsigned int j;
    int* pArray = inArray + blockIdx.x * blockDim.x;
    int stride;

    if (i >= size)
        return;

    for (stride = 1; stride < blockDim.x; stride *= 2) {
        /* Calculate local array index from the thread index */
        /* This prevents warp divergences to occur */
        j = 2 * stride * id;

        if (j < blockDim.x)
            pArray[j] += pArray[j + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceInterleaved(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + blockIdx.x * blockDim.x;
    int* pArray = inArray + blockIdx.x * blockDim.x;
    int stride;

    if (i >= size)
        return;

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrolling2(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 2) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 2) * blockDim.x;
    int stride;
    
    /* Each thread processes 2 data blocks (cyclic) */
    if (i + blockDim.x < size)
        inArray[i] += inArray[i + blockDim.x];

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrolling4(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 4) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 4) * blockDim.x;
    int stride;
    
    /* Each thread processes 4 data blocks (cyclic) */
    if (i + blockDim.x * 3 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
    }

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrolling8(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    int stride;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrollingWarps8(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    volatile int* pvArray;
    int stride;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 32; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    /* Reduction using warp unrolling */
    /* Unnecessary __syncthreads() calls are eliminated */
    if (id < 32) {
        pvArray = pArray;
        pvArray[id] += pvArray[id + 32];
        pvArray[id] += pvArray[id + 16];
        pvArray[id] += pvArray[id + 8];
        pvArray[id] += pvArray[id + 4];
        pvArray[id] += pvArray[id + 2];
        pvArray[id] += pvArray[id + 1];
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceCompleteUnrollingWarps8(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    volatile int* pvArray;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();

    /* In-place reduction and complete unrolling */
    /* Maximum number of the threads in the thread block is 1024 */
    if (blockDim.x >= 1024 && id < 512)
        pArray[id] += pArray[id + 512];

    __syncthreads();

    if (blockDim.x >= 512 && id < 256)
        pArray[id] += pArray[id + 256];

    __syncthreads();

    if (blockDim.x >= 256 && id < 128)
        pArray[id] += pArray[id + 128];

    __syncthreads();

    if (blockDim.x >= 128 && id < 64)
        pArray[id] += pArray[id + 64];

    __syncthreads();

    /* Warp unrolling */
    /* Unnecessary __syncthreads() calls are eliminated */
    if (id < 32) {
        pvArray = pArray;
        pvArray[id] += pvArray[id + 32];
        pvArray[id] += pvArray[id + 16];
        pvArray[id] += pvArray[id + 8];
        pvArray[id] += pvArray[id + 4];
        pvArray[id] += pvArray[id + 2];
        pvArray[id] += pvArray[id + 1];
    }
    
    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

template <unsigned int BlockSize>
__global__ void reduceCompleteUnrollingWarps(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    volatile int* pvArray;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();
    
    /* In-place reduction and complete unrolling */
    /* Maximum number of the threads in the thread block is 1024 */
    if (BlockSize >= 1024 && id < 512)
        pArray[id] += pArray[id + 512];

    __syncthreads();

    if (BlockSize >= 512 && id < 256)
        pArray[id] += pArray[id + 256];

    __syncthreads();

    if (BlockSize >= 256 && id < 128)
        pArray[id] += pArray[id + 128];

    __syncthreads();

    if (BlockSize >= 128 && id < 64)
        pArray[id] += pArray[id + 64];

    __syncthreads();

    /* Warp unrolling */
    /* Unnecessary __syncthreads() calls are eliminated */
    if (id < 32) {
        pvArray = pArray;
        pvArray[id] += pvArray[id + 32];
        pvArray[id] += pvArray[id + 16];
        pvArray[id] += pvArray[id + 8];
        pvArray[id] += pvArray[id + 4];
        pvArray[id] += pvArray[id + 2];
        pvArray[id] += pvArray[id + 1];
    }
    
    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

int main(int argc, char** argv)
{
    int i;

    int dev;
    cudaDeviceProp deviceProp;

    int numOfElements;
    size_t numOfBytes;
    int blockSize;

    int* hostInput;
    int* hostTmp;
    int* hostResult;

    int* devInput;
    int* devResult;

    int hostSum;
    int devSum;

    struct timeval startTime;
    struct timeval endTime;
    
    /* Setup device */
    dev = 0;
    CHECK_CUDA_CALL(cudaGetDeviceProperties(&deviceProp, dev));
    
    printf("Using device %d: %s\n", dev, deviceProp.name);

    CHECK_CUDA_CALL(cudaSetDevice(dev));
    
    /* Set array size */
    numOfElements = 1 << 24;
    numOfBytes = numOfElements * sizeof(int);
    printf("Array size: %d\n", numOfElements);
    
    /* Set execution configuration */
    blockSize = 512;

    if (argc > 1)
        blockSize = atoi(argv[1]);

    dim3 block(blockSize, 1);
    dim3 grid((numOfElements + block.x - 1) / block.x, 1);

    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x, grid.y, block.x, block.y);
    
    /* Allocate host memory */
    hostInput = (int*)calloc(numOfElements, sizeof(int));
    hostTmp = (int*)calloc(numOfElements, sizeof(int));
    hostResult = (int*)calloc(grid.x, sizeof(int));

    /* Allocate device memory */
    CHECK_CUDA_CALL(cudaMalloc((void**)&devInput, numOfBytes));
    CHECK_CUDA_CALL(cudaMalloc((void**)&devResult, grid.x * sizeof(int)));

    /* Initialize array */
    for (i = 0; i < numOfElements; ++i)
        hostInput[i] = (int)(rand() & 0xFF);

    memcpy(hostTmp, hostInput, numOfBytes);
    
    /* Execute reduction operation in host */
    gettimeofday(&startTime, NULL);
    hostSum = recursiveReduceHost(hostTmp, numOfElements);
    gettimeofday(&endTime, NULL);
    
    printf("Host execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           hostSum);
    
    /* Call reduceNeighbored kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceNeighbored<<<grid, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x; ++i)
        devSum += hostResult[i];

    printf("Device (reduceNeighbored) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceNeighbored) passed!\n");
    else
        printf("Test (reduceNeighbored) failed!\n");

    /* Call reduceNeighboredLess kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceNeighboredLess<<<grid, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x; ++i)
        devSum += hostResult[i];

    printf("Device (reduceNeighboredLess) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceNeighboredLess) passed!\n");
    else
        printf("Test (reduceNeighboredLess) failed!\n");
    
    /* Call reduceInterleaved kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceInterleaved<<<grid, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x; ++i)
        devSum += hostResult[i];

    printf("Device (reduceInterleaved) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceInterleaved) passed!\n");
    else
        printf("Test (reduceInterleaved) failed!\n");
    
    /* Call reduceUnrolling2 kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrolling2<<<grid.x / 2, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x / 2 * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 2; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 2, grid.y, block.x, block.y);
    printf("Device (reduceUnrolling2) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrolling2) passed!\n");
    else
        printf("Test (reduceUnrolling2) failed!\n");

    /* Call reduceUnrolling4 kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrolling4<<<grid.x / 4, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x / 4 * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 4; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 4, grid.y, block.x, block.y);
    printf("Device (reduceUnrolling4) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrolling4) passed!\n");
    else
        printf("Test (reduceUnrolling4) failed!\n");
    
    /* Call reduceUnrolling8 kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrolling8<<<grid.x / 8, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceUnrolling8) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrolling8) passed!\n");
    else
        printf("Test (reduceUnrolling8) failed!\n");
    
    /* Call reduceUnrollingWarps8 kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrollingWarps8<<<grid.x / 8, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceUnrollingWarps8) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrollingWarps8) passed!\n");
    else
        printf("Test (reduceUnrollingWarps8) failed!\n");
    
    /* Call reduceCompleteUnrollingWarps8 kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceCompleteUnrollingWarps8<<<grid.x / 8, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceCompleteUnrollingWarps8) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceCompleteUnrollingWarps8) passed!\n");
    else
        printf("Test (reduceCompleteUnrollingWarps8) failed!\n");
    
    /* Call reduceCompleteUnrollingWarps kernel */
    CHECK_CUDA_CALL(cudaMemcpy(devInput, hostInput, numOfBytes, cudaMemcpyHostToDevice));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    switch (blockSize) {
        case 1024:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<1024><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(cudaDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;

        case 512:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<512><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(cudaDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
        
        case 256:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<256><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(cudaDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
        
        case 128:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<128><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(cudaDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
        
        case 64:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<64><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(cudaDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
    }

    /* Check kernel error */
    CHECK_CUDA_CALL(cudaGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(cudaMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), cudaMemcpyDeviceToHost));
    CHECK_CUDA_CALL(cudaDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceCompleteUnrollingWarps) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceCompleteUnrollingWarps) passed!\n");
    else
        printf("Test (reduceCompleteUnrollingWarps) failed!\n");

    /* Free device memory */
    CHECK_CUDA_CALL(cudaFree(devInput));
    CHECK_CUDA_CALL(cudaFree(devResult));
    
    /* Free host memory */
    free(hostInput);
    free(hostTmp);
    free(hostResult);
    
    /* Reset device */
    CHECK_CUDA_CALL(cudaDeviceReset());

    return EXIT_SUCCESS;
}


	.file	"tmpxft_002efc13_00000000-6_reduce-integer.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB2033:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE2033:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0, @function
_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0:
.LFB2203:
	.cfi_startproc
	jmp	cudaLaunchKernel@PLT
	.cfi_endproc
.LFE2203:
	.size	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0, .-_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	.type	_ZL60__device_stub__Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_jPiS_j, @function
_ZL60__device_stub__Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_jPiS_j:
.LFB2079:
	.cfi_startproc
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L3
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L3:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2079:
	.size	_ZL60__device_stub__Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_jPiS_j, .-_ZL60__device_stub__Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_jPiS_j
	.type	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_jPiS_j, @function
_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_jPiS_j:
.LFB2077:
	.cfi_startproc
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L8
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L8:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2077:
	.size	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_jPiS_j, .-_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_jPiS_j
	.type	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_jPiS_j, @function
_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_jPiS_j:
.LFB2075:
	.cfi_startproc
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L12
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L12:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2075:
	.size	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_jPiS_j, .-_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_jPiS_j
	.type	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_jPiS_j, @function
_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_jPiS_j:
.LFB2073:
	.cfi_startproc
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L16
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L16:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2073:
	.size	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_jPiS_j, .-_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_jPiS_j
	.type	_ZL62__device_stub__Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_jPiS_j, @function
_ZL62__device_stub__Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_jPiS_j:
.LFB2071:
	.cfi_startproc
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L20
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L20:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2071:
	.size	_ZL62__device_stub__Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_jPiS_j, .-_ZL62__device_stub__Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_jPiS_j
	.section	.text._Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j,comdat
	.weak	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.type	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j, @function
_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j:
.LFB2132:
	.cfi_startproc
	endbr64
	jmp	_ZL60__device_stub__Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_jPiS_j
	.cfi_endproc
.LFE2132:
	.size	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j, .-_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.section	.text._Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,comdat
	.weak	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.type	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j, @function
_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j:
.LFB2128:
	.cfi_startproc
	endbr64
	jmp	_ZL62__device_stub__Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_jPiS_j
	.cfi_endproc
.LFE2128:
	.size	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j, .-_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.section	.text._Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j,comdat
	.weak	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.type	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j, @function
_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j:
.LFB2129:
	.cfi_startproc
	endbr64
	jmp	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_jPiS_j
	.cfi_endproc
.LFE2129:
	.size	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j, .-_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.section	.text._Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j,comdat
	.weak	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.type	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j, @function
_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j:
.LFB2130:
	.cfi_startproc
	endbr64
	jmp	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_jPiS_j
	.cfi_endproc
.LFE2130:
	.size	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j, .-_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.section	.text._Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j,comdat
	.weak	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.type	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j, @function
_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j:
.LFB2131:
	.cfi_startproc
	endbr64
	jmp	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_jPiS_j
	.cfi_endproc
.LFE2131:
	.size	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j, .-_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.text
	.globl	_Z19recursiveReduceHostPim
	.type	_Z19recursiveReduceHostPim, @function
_Z19recursiveReduceHostPim:
.LFB2027:
	.cfi_startproc
	endbr64
.L33:
	cmpq	$1, %rsi
	je	.L35
	shrq	%rsi
	xorl	%eax, %eax
	movl	%esi, %edx
	movslq	%esi, %rsi
	leaq	(%rdi,%rsi,4), %rcx
.L31:
	cmpl	%eax, %edx
	jle	.L33
	movl	(%rcx,%rax,4), %r8d
	addl	%r8d, (%rdi,%rax,4)
	incq	%rax
	jmp	.L31
.L35:
	movl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE2027:
	.size	_Z19recursiveReduceHostPim, .-_Z19recursiveReduceHostPim
	.globl	_Z39__device_stub__Z16reduceNeighboredPiS_jPiS_j
	.type	_Z39__device_stub__Z16reduceNeighboredPiS_jPiS_j, @function
_Z39__device_stub__Z16reduceNeighboredPiS_jPiS_j:
.LFB2055:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L36
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z16reduceNeighboredPiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L36:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2055:
	.size	_Z39__device_stub__Z16reduceNeighboredPiS_jPiS_j, .-_Z39__device_stub__Z16reduceNeighboredPiS_jPiS_j
	.globl	_Z16reduceNeighboredPiS_j
	.type	_Z16reduceNeighboredPiS_j, @function
_Z16reduceNeighboredPiS_j:
.LFB2056:
	.cfi_startproc
	endbr64
	jmp	_Z39__device_stub__Z16reduceNeighboredPiS_jPiS_j
	.cfi_endproc
.LFE2056:
	.size	_Z16reduceNeighboredPiS_j, .-_Z16reduceNeighboredPiS_j
	.globl	_Z43__device_stub__Z20reduceNeighboredLessPiS_jPiS_j
	.type	_Z43__device_stub__Z20reduceNeighboredLessPiS_jPiS_j, @function
_Z43__device_stub__Z20reduceNeighboredLessPiS_jPiS_j:
.LFB2057:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L41
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z20reduceNeighboredLessPiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L41:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2057:
	.size	_Z43__device_stub__Z20reduceNeighboredLessPiS_jPiS_j, .-_Z43__device_stub__Z20reduceNeighboredLessPiS_jPiS_j
	.globl	_Z20reduceNeighboredLessPiS_j
	.type	_Z20reduceNeighboredLessPiS_j, @function
_Z20reduceNeighboredLessPiS_j:
.LFB2058:
	.cfi_startproc
	endbr64
	jmp	_Z43__device_stub__Z20reduceNeighboredLessPiS_jPiS_j
	.cfi_endproc
.LFE2058:
	.size	_Z20reduceNeighboredLessPiS_j, .-_Z20reduceNeighboredLessPiS_j
	.globl	_Z40__device_stub__Z17reduceInterleavedPiS_jPiS_j
	.type	_Z40__device_stub__Z17reduceInterleavedPiS_jPiS_j, @function
_Z40__device_stub__Z17reduceInterleavedPiS_jPiS_j:
.LFB2059:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L46
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z17reduceInterleavedPiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L46:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2059:
	.size	_Z40__device_stub__Z17reduceInterleavedPiS_jPiS_j, .-_Z40__device_stub__Z17reduceInterleavedPiS_jPiS_j
	.globl	_Z17reduceInterleavedPiS_j
	.type	_Z17reduceInterleavedPiS_j, @function
_Z17reduceInterleavedPiS_j:
.LFB2060:
	.cfi_startproc
	endbr64
	jmp	_Z40__device_stub__Z17reduceInterleavedPiS_jPiS_j
	.cfi_endproc
.LFE2060:
	.size	_Z17reduceInterleavedPiS_j, .-_Z17reduceInterleavedPiS_j
	.globl	_Z39__device_stub__Z16reduceUnrolling2PiS_jPiS_j
	.type	_Z39__device_stub__Z16reduceUnrolling2PiS_jPiS_j, @function
_Z39__device_stub__Z16reduceUnrolling2PiS_jPiS_j:
.LFB2061:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L51
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z16reduceUnrolling2PiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L51:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2061:
	.size	_Z39__device_stub__Z16reduceUnrolling2PiS_jPiS_j, .-_Z39__device_stub__Z16reduceUnrolling2PiS_jPiS_j
	.globl	_Z16reduceUnrolling2PiS_j
	.type	_Z16reduceUnrolling2PiS_j, @function
_Z16reduceUnrolling2PiS_j:
.LFB2062:
	.cfi_startproc
	endbr64
	jmp	_Z39__device_stub__Z16reduceUnrolling2PiS_jPiS_j
	.cfi_endproc
.LFE2062:
	.size	_Z16reduceUnrolling2PiS_j, .-_Z16reduceUnrolling2PiS_j
	.globl	_Z39__device_stub__Z16reduceUnrolling4PiS_jPiS_j
	.type	_Z39__device_stub__Z16reduceUnrolling4PiS_jPiS_j, @function
_Z39__device_stub__Z16reduceUnrolling4PiS_jPiS_j:
.LFB2063:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L56
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z16reduceUnrolling4PiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L56:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2063:
	.size	_Z39__device_stub__Z16reduceUnrolling4PiS_jPiS_j, .-_Z39__device_stub__Z16reduceUnrolling4PiS_jPiS_j
	.globl	_Z16reduceUnrolling4PiS_j
	.type	_Z16reduceUnrolling4PiS_j, @function
_Z16reduceUnrolling4PiS_j:
.LFB2064:
	.cfi_startproc
	endbr64
	jmp	_Z39__device_stub__Z16reduceUnrolling4PiS_jPiS_j
	.cfi_endproc
.LFE2064:
	.size	_Z16reduceUnrolling4PiS_j, .-_Z16reduceUnrolling4PiS_j
	.globl	_Z39__device_stub__Z16reduceUnrolling8PiS_jPiS_j
	.type	_Z39__device_stub__Z16reduceUnrolling8PiS_jPiS_j, @function
_Z39__device_stub__Z16reduceUnrolling8PiS_jPiS_j:
.LFB2065:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L61
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z16reduceUnrolling8PiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L61:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2065:
	.size	_Z39__device_stub__Z16reduceUnrolling8PiS_jPiS_j, .-_Z39__device_stub__Z16reduceUnrolling8PiS_jPiS_j
	.globl	_Z16reduceUnrolling8PiS_j
	.type	_Z16reduceUnrolling8PiS_j, @function
_Z16reduceUnrolling8PiS_j:
.LFB2066:
	.cfi_startproc
	endbr64
	jmp	_Z39__device_stub__Z16reduceUnrolling8PiS_jPiS_j
	.cfi_endproc
.LFE2066:
	.size	_Z16reduceUnrolling8PiS_j, .-_Z16reduceUnrolling8PiS_j
	.globl	_Z44__device_stub__Z21reduceUnrollingWarps8PiS_jPiS_j
	.type	_Z44__device_stub__Z21reduceUnrollingWarps8PiS_jPiS_j, @function
_Z44__device_stub__Z21reduceUnrollingWarps8PiS_jPiS_j:
.LFB2067:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L66
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z21reduceUnrollingWarps8PiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L66:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2067:
	.size	_Z44__device_stub__Z21reduceUnrollingWarps8PiS_jPiS_j, .-_Z44__device_stub__Z21reduceUnrollingWarps8PiS_jPiS_j
	.globl	_Z21reduceUnrollingWarps8PiS_j
	.type	_Z21reduceUnrollingWarps8PiS_j, @function
_Z21reduceUnrollingWarps8PiS_j:
.LFB2068:
	.cfi_startproc
	endbr64
	jmp	_Z44__device_stub__Z21reduceUnrollingWarps8PiS_jPiS_j
	.cfi_endproc
.LFE2068:
	.size	_Z21reduceUnrollingWarps8PiS_j, .-_Z21reduceUnrollingWarps8PiS_j
	.globl	_Z52__device_stub__Z29reduceCompleteUnrollingWarps8PiS_jPiS_j
	.type	_Z52__device_stub__Z29reduceCompleteUnrollingWarps8PiS_jPiS_j, @function
_Z52__device_stub__Z29reduceCompleteUnrollingWarps8PiS_jPiS_j:
.LFB2069:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L71
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z29reduceCompleteUnrollingWarps8PiS_j(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L71:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2069:
	.size	_Z52__device_stub__Z29reduceCompleteUnrollingWarps8PiS_jPiS_j, .-_Z52__device_stub__Z29reduceCompleteUnrollingWarps8PiS_jPiS_j
	.globl	_Z29reduceCompleteUnrollingWarps8PiS_j
	.type	_Z29reduceCompleteUnrollingWarps8PiS_j, @function
_Z29reduceCompleteUnrollingWarps8PiS_j:
.LFB2070:
	.cfi_startproc
	endbr64
	jmp	_Z52__device_stub__Z29reduceCompleteUnrollingWarps8PiS_jPiS_j
	.cfi_endproc
.LFE2070:
	.size	_Z29reduceCompleteUnrollingWarps8PiS_j, .-_Z29reduceCompleteUnrollingWarps8PiS_j
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/sterngerlach/cuda-training/master/reduce-integer.cu"
.LC1:
	.string	"Error (%s:%d), code: %d, reason: %s\n"
.LC2:
	.string	"Using device %d: %s\n"
.LC3:
	.string	"Array size: %d\n"
.LC4:
	.string	"Execution configuration: <<<(%d, %d), (%d, %d)>>>\n"
.LC6:
	.string	"Host execution time: %.6f, result: %d\n"
.LC7:
	.string	"Device (reduceNeighbored) execution time: %.6f, result: %d\n"
.LC8:
	.string	"Test (reduceNeighbored) passed!\n"
.LC9:
	.string	"Test (reduceNeighbored) failed!\n"
.LC10:
	.string	"Device (reduceNeighboredLess) execution time: %.6f, result: %d\n"
.LC11:
	.string	"Test (reduceNeighboredLess) passed!\n"
.LC12:
	.string	"Test (reduceNeighboredLess) failed!\n"
.LC13:
	.string	"Device (reduceInterleaved) execution time: %.6f, result: %d\n"
.LC14:
	.string	"Test (reduceInterleaved) passed!\n"
.LC15:
	.string	"Test (reduceInterleaved) failed!\n"
.LC16:
	.string	"Device (reduceUnrolling2) execution time: %.6f, result: %d\n"
.LC17:
	.string	"Test (reduceUnrolling2) passed!\n"
.LC18:
	.string	"Test (reduceUnrolling2) failed!\n"
.LC19:
	.string	"Device (reduceUnrolling4) execution time: %.6f, result: %d\n"
.LC20:
	.string	"Test (reduceUnrolling4) passed!\n"
.LC21:
	.string	"Test (reduceUnrolling4) failed!\n"
.LC22:
	.string	"Device (reduceUnrolling8) execution time: %.6f, result: %d\n"
.LC23:
	.string	"Test (reduceUnrolling8) passed!\n"
.LC24:
	.string	"Test (reduceUnrolling8) failed!\n"
.LC25:
	.string	"Device (reduceUnrollingWarps8) execution time: %.6f, result: %d\n"
.LC26:
	.string	"Test (reduceUnrollingWarps8) passed!\n"
.LC27:
	.string	"Test (reduceUnrollingWarps8) failed!\n"
.LC28:
	.string	"Device (reduceCompleteUnrollingWarps8) execution time: %.6f, result: %d\n"
.LC29:
	.string	"Test (reduceCompleteUnrollingWarps8) passed!\n"
.LC30:
	.string	"Test (reduceCompleteUnrollingWarps8) failed!\n"
.LC31:
	.string	"Device (reduceCompleteUnrollingWarps) execution time: %.6f, result: %d\n"
.LC32:
	.string	"Test (reduceCompleteUnrollingWarps) passed!\n"
.LC33:
	.string	"Test (reduceCompleteUnrollingWarps) failed!\n"
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB2030:
	.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
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	xorl	%esi, %esi
	subq	$1176, %rsp
	.cfi_def_cfa_offset 1232
	movq	%fs:40, %rax
	movq	%rax, 1160(%rsp)
	xorl	%eax, %eax
	leaq	128(%rsp), %r12
	movq	%r12, %rdi
	call	cudaGetDeviceProperties_v2@PLT
	testl	%eax, %eax
	je	.L77
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$398, %r8d
	pushq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L77:
	.cfi_restore_state
	xorl	%edx, %edx
	movl	$2, %edi
	xorl	%eax, %eax
	movq	%r12, %rcx
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%edi, %edi
	call	cudaSetDevice@PLT
	testl	%eax, %eax
	je	.L78
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$402, %r8d
	pushq	%r11
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
.L243:
	movq	stderr(%rip), %rdi
	leaq	.LC0(%rip), %rcx
	leaq	.LC1(%rip), %rdx
	xorl	%eax, %eax
	movl	$2, %esi
	call	__fprintf_chk@PLT
	movl	$1, %edi
	call	exit@PLT
.L78:
	.cfi_def_cfa_offset 1232
	xorl	%eax, %eax
	movl	$16777216, %edx
	movl	$2, %edi
	movl	$512, %r12d
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	decl	%ebp
	jle	.L79
	movq	8(%rbx), %rdi
	call	atoi@PLT
	movl	%eax, %r12d
.L79:
	xorl	%edx, %edx
	movl	$1, %r9d
	movl	%r12d, %r8d
	movl	$1, %ecx
	leal	16777215(%r12), %eax
	leaq	.LC4(%rip), %rsi
	movl	$2, %edi
	movl	$1, 68(%rsp)
	divl	%r12d
	movl	$1, 80(%rsp)
	movl	%eax, %r13d
	xorl	%eax, %eax
	movl	%r13d, %edx
	movq	%r13, %rbx
	call	__printf_chk@PLT
	movl	$4, %esi
	movl	$16777216, %edi
	call	calloc@PLT
	movl	$4, %esi
	movl	$16777216, %edi
	movq	%rax, (%rsp)
	call	calloc@PLT
	movl	$4, %esi
	movq	%r13, %rdi
	movq	%rax, 24(%rsp)
	call	calloc@PLT
	leaq	40(%rsp), %rdi
	movl	$67108864, %esi
	movq	%rax, %rbp
	call	cudaMalloc@PLT
	testl	%eax, %eax
	je	.L80
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$427, %r8d
	pushq	%r10
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L80:
	.cfi_restore_state
	leaq	0(,%r13,4), %rax
	leaq	48(%rsp), %rdi
	xorl	%r13d, %r13d
	movq	%rax, %rsi
	movq	%rax, 8(%rsp)
	call	cudaMalloc@PLT
	testl	%eax, %eax
	je	.L81
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$428, %r8d
	pushq	%r9
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L81:
	.cfi_restore_state
	call	rand@PLT
	movq	(%rsp), %rsi
	movzbl	%al, %eax
	movl	%eax, (%rsi,%r13,4)
	incq	%r13
	cmpq	$16777216, %r13
	jne	.L81
	movq	24(%rsp), %rdi
	movq	%r13, %rcx
	leaq	96(%rsp), %r15
	rep movsl
	xorl	%esi, %esi
	movq	%r15, %rdi
	call	gettimeofday@PLT
	movq	24(%rsp), %rdi
	movl	$16777216, %esi
	call	_Z19recursiveReduceHostPim
	xorl	%esi, %esi
	movl	%eax, %r13d
	leaq	112(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
	call	gettimeofday@PLT
	cvtsi2sdq	120(%rsp), %xmm0
	movl	%r13d, %edx
	movl	$2, %edi
	cvtsi2sdq	112(%rsp), %xmm1
	leaq	.LC6(%rip), %rsi
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L82
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	pushq	%r8
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	movl	$447, %r8d
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L82:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L83
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$448, %r8d
	pushq	%rdi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L83:
	.cfi_restore_state
	xorl	%esi, %esi
	movq	%r15, %rdi
	call	gettimeofday@PLT
	movl	%ebx, 72(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movl	$1, 76(%rsp)
	movl	80(%rsp), %esi
	xorl	%r8d, %r8d
	movl	%r12d, 60(%rsp)
	movq	72(%rsp), %rdi
	movl	$1, 64(%rsp)
	movq	60(%rsp), %rdx
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L84
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z39__device_stub__Z16reduceNeighboredPiS_jPiS_j
.L84:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L85
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$452, %r8d
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L85:
	.cfi_restore_state
	movq	16(%rsp), %rdi
	xorl	%esi, %esi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L86
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$456, %r8d
	pushq	%rcx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L86:
	.cfi_restore_state
	movq	8(%rsp), %rdx
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L87
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$459, %r8d
	pushq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L87:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L88
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$461, %r8d
	pushq	%r15
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L88:
	.cfi_restore_state
	cmpl	%ebx, %eax
	jnb	.L244
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L88
.L244:
	cvtsi2sdq	120(%rsp), %xmm0
	leaq	.LC7(%rip), %rsi
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC8(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L234
	leaq	.LC9(%rip), %rsi
.L234:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L92
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$480, %r8d
	pushq	%r14
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L92:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L93
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$481, %r8d
	pushq	%r13
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L93:
	.cfi_restore_state
	xorl	%esi, %esi
	movq	%r15, %rdi
	call	gettimeofday@PLT
	movl	68(%rsp), %ecx
	movl	80(%rsp), %esi
	xorl	%r9d, %r9d
	movq	60(%rsp), %rdx
	movq	72(%rsp), %rdi
	xorl	%r8d, %r8d
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L94
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z43__device_stub__Z20reduceNeighboredLessPiS_jPiS_j
.L94:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L95
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$485, %r8d
	pushq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L95:
	.cfi_restore_state
	movq	16(%rsp), %rdi
	xorl	%esi, %esi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L96
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$489, %r8d
	pushq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L96:
	.cfi_restore_state
	movq	8(%rsp), %rdx
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L97
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$492, %r8d
	pushq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L97:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L98
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$494, %r8d
	pushq	%r11
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L98:
	.cfi_restore_state
	cmpl	%ebx, %eax
	jnb	.L245
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L98
.L245:
	cvtsi2sdq	120(%rsp), %xmm0
	leaq	.LC10(%rip), %rsi
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC11(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L235
	leaq	.LC12(%rip), %rsi
.L235:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L102
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$513, %r8d
	pushq	%r10
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L102:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L103
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$514, %r8d
	pushq	%r9
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L103:
	.cfi_restore_state
	xorl	%esi, %esi
	movq	%r15, %rdi
	call	gettimeofday@PLT
	movl	68(%rsp), %ecx
	movl	80(%rsp), %esi
	xorl	%r9d, %r9d
	movq	60(%rsp), %rdx
	movq	72(%rsp), %rdi
	xorl	%r8d, %r8d
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L104
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z40__device_stub__Z17reduceInterleavedPiS_jPiS_j
.L104:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L105
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	pushq	%r8
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	movl	$518, %r8d
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L105:
	.cfi_restore_state
	movq	16(%rsp), %rdi
	xorl	%esi, %esi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L106
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$522, %r8d
	pushq	%rdi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L106:
	.cfi_restore_state
	movq	8(%rsp), %rdx
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L107
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$525, %r8d
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L107:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L108
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$527, %r8d
	pushq	%rcx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L108:
	.cfi_restore_state
	cmpl	%ebx, %eax
	jnb	.L246
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L108
.L246:
	cvtsi2sdq	120(%rsp), %xmm0
	leaq	.LC13(%rip), %rsi
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC14(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L236
	leaq	.LC15(%rip), %rsi
.L236:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L112
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$546, %r8d
	pushq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L112:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L113
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$547, %r8d
	pushq	%r15
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L113:
	.cfi_restore_state
	leaq	96(%rsp), %rax
	xorl	%esi, %esi
	movl	%ebx, %r15d
	movq	%rax, %rdi
	shrl	%r15d
	movq	%rax, 8(%rsp)
	call	gettimeofday@PLT
	movl	%r15d, 84(%rsp)
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movabsq	$4294967297, %rax
	movl	68(%rsp), %ecx
	movq	60(%rsp), %rdx
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L114
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z39__device_stub__Z16reduceUnrolling2PiS_jPiS_j
.L114:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L115
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$551, %r8d
	pushq	%r14
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L115:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	112(%rsp), %rdi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L116
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$555, %r8d
	pushq	%r13
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L116:
	.cfi_restore_state
	movl	%r15d, %edx
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L117
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$558, %r8d
	pushq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L117:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L118
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$560, %r8d
	pushq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L118:
	.cfi_restore_state
	cmpl	%r15d, %eax
	jnb	.L247
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L118
.L247:
	movl	$1, %r9d
	movl	%r12d, %r8d
	movl	$1, %ecx
	xorl	%eax, %eax
	movl	%r15d, %edx
	leaq	.LC4(%rip), %rsi
	movl	$2, %edi
	call	__printf_chk@PLT
	cvtsi2sdq	120(%rsp), %xmm0
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	leaq	.LC16(%rip), %rsi
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC17(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L237
	leaq	.LC18(%rip), %rsi
.L237:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L122
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$581, %r8d
	pushq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L122:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L123
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$582, %r8d
	pushq	%r11
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L123:
	.cfi_restore_state
	movq	8(%rsp), %rdi
	xorl	%esi, %esi
	movl	%ebx, %r15d
	shrl	$2, %r15d
	call	gettimeofday@PLT
	movl	%r15d, 84(%rsp)
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movabsq	$4294967297, %rax
	movl	68(%rsp), %ecx
	movq	60(%rsp), %rdx
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L124
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z39__device_stub__Z16reduceUnrolling4PiS_jPiS_j
.L124:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L125
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$586, %r8d
	pushq	%r10
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L125:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	112(%rsp), %rdi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L126
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$590, %r8d
	pushq	%r9
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L126:
	.cfi_restore_state
	movq	48(%rsp), %rsi
	leal	0(,%r15,4), %edx
	movl	$2, %ecx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L127
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	pushq	%r8
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	movl	$593, %r8d
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L127:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L128
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$595, %r8d
	pushq	%rdi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L128:
	.cfi_restore_state
	cmpl	%r15d, %eax
	jnb	.L248
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L128
.L248:
	movl	$1, %r9d
	movl	%r12d, %r8d
	movl	$1, %ecx
	xorl	%eax, %eax
	movl	%r15d, %edx
	leaq	.LC4(%rip), %rsi
	movl	$2, %edi
	call	__printf_chk@PLT
	cvtsi2sdq	120(%rsp), %xmm0
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	leaq	.LC19(%rip), %rsi
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC20(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L238
	leaq	.LC21(%rip), %rsi
.L238:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L132
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$616, %r8d
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L132:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L133
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$617, %r8d
	pushq	%rcx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L133:
	.cfi_restore_state
	movq	8(%rsp), %rdi
	xorl	%esi, %esi
	shrl	$3, %ebx
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L134
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z39__device_stub__Z16reduceUnrolling8PiS_jPiS_j
.L134:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L135
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$621, %r8d
	pushq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L135:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	112(%rsp), %rdi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L136
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$625, %r8d
	pushq	%r15
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L136:
	.cfi_restore_state
	movl	%ebx, %eax
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	salq	$2, %rax
	movq	%rax, %rdx
	movq	%rax, 8(%rsp)
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L137
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$628, %r8d
	pushq	%r14
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L137:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L138
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$630, %r8d
	pushq	%r13
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L138:
	.cfi_restore_state
	cmpl	%ebx, %eax
	jnb	.L249
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L138
.L249:
	movl	$1, %r9d
	movl	%r12d, %r8d
	movl	$1, %ecx
	movl	%ebx, %edx
	leaq	.LC4(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	cvtsi2sdq	120(%rsp), %xmm0
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	leaq	.LC22(%rip), %rsi
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC23(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L239
	leaq	.LC24(%rip), %rsi
.L239:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L142
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$651, %r8d
	pushq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L142:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L143
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$652, %r8d
	pushq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L143:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	96(%rsp), %rdi
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L144
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z44__device_stub__Z21reduceUnrollingWarps8PiS_jPiS_j
.L144:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L145
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$656, %r8d
	pushq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L145:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	112(%rsp), %rdi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L146
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$660, %r8d
	pushq	%r11
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L146:
	.cfi_restore_state
	movq	8(%rsp), %rdx
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L147
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$663, %r8d
	pushq	%r10
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L147:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L148
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$665, %r8d
	pushq	%r9
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L148:
	.cfi_restore_state
	cmpl	%ebx, %eax
	jnb	.L250
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L148
.L250:
	movl	$1, %r9d
	movl	%r12d, %r8d
	movl	$1, %ecx
	movl	%ebx, %edx
	leaq	.LC4(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	cvtsi2sdq	120(%rsp), %xmm0
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	leaq	.LC25(%rip), %rsi
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC26(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L240
	leaq	.LC27(%rip), %rsi
.L240:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L152
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	pushq	%r8
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	movl	$686, %r8d
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L152:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L153
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$687, %r8d
	pushq	%rdi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L153:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	96(%rsp), %rdi
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L154
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_Z52__device_stub__Z29reduceCompleteUnrollingWarps8PiS_jPiS_j
.L154:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L155
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$691, %r8d
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L155:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	112(%rsp), %rdi
	call	gettimeofday@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L156
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$695, %r8d
	pushq	%rcx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L156:
	.cfi_restore_state
	movq	8(%rsp), %rdx
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L157
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$698, %r8d
	pushq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L157:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L158
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$700, %r8d
	pushq	%r15
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L158:
	.cfi_restore_state
	cmpl	%ebx, %eax
	jnb	.L251
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L158
.L251:
	leaq	.LC4(%rip), %r15
	movl	%r12d, %r8d
	movl	%ebx, %edx
	xorl	%eax, %eax
	movl	$1, %r9d
	movl	$1, %ecx
	movq	%r15, %rsi
	movl	$2, %edi
	call	__printf_chk@PLT
	cvtsi2sdq	120(%rsp), %xmm0
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	leaq	.LC28(%rip), %rsi
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC29(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L241
	leaq	.LC30(%rip), %rsi
.L241:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$1, %ecx
	movl	$67108864, %edx
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L162
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$721, %r8d
	pushq	%r14
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L162:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L163
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$722, %r8d
	pushq	%r13
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L163:
	.cfi_restore_state
	cmpl	$256, %r12d
	je	.L164
	jg	.L165
	cmpl	$64, %r12d
	je	.L166
	cmpl	$128, %r12d
	je	.L167
	jmp	.L168
.L165:
	cmpl	$512, %r12d
	je	.L169
	cmpl	$1024, %r12d
	jne	.L168
	xorl	%esi, %esi
	leaq	96(%rsp), %rdi
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L170
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_ZL62__device_stub__Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_jPiS_j
.L170:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L171
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$729, %r8d
	pushq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L171:
	.cfi_restore_state
	leaq	112(%rsp), %rdi
	xorl	%esi, %esi
	call	gettimeofday@PLT
	jmp	.L168
.L169:
	xorl	%esi, %esi
	leaq	96(%rsp), %rdi
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L172
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_jPiS_j
.L172:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L171
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$737, %r8d
	pushq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L164:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	96(%rsp), %rdi
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L173
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_jPiS_j
.L173:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L171
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$745, %r8d
	pushq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L167:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	96(%rsp), %rdi
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L174
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_ZL61__device_stub__Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_jPiS_j
.L174:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L171
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$753, %r8d
	pushq	%r11
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L166:
	.cfi_restore_state
	xorl	%esi, %esi
	leaq	96(%rsp), %rdi
	call	gettimeofday@PLT
	movl	%ebx, 84(%rsp)
	movl	68(%rsp), %ecx
	xorl	%r9d, %r9d
	movabsq	$4294967297, %rax
	movq	60(%rsp), %rdx
	xorl	%r8d, %r8d
	movq	%rax, 88(%rsp)
	movq	84(%rsp), %rdi
	movl	92(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L175
	movq	48(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$16777216, %edx
	call	_ZL60__device_stub__Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_jPiS_j
.L175:
	call	cudaDeviceSynchronize@PLT
	testl	%eax, %eax
	je	.L171
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$761, %r8d
	pushq	%r10
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L168:
	.cfi_restore_state
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L176
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$767, %r8d
	pushq	%r9
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L176:
	.cfi_restore_state
	movq	8(%rsp), %rdx
	movq	48(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	testl	%eax, %eax
	je	.L177
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	pushq	%r8
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	movl	$770, %r8d
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L177:
	.cfi_restore_state
	call	cudaDeviceSynchronize@PLT
	xorl	%r14d, %r14d
	movl	%eax, %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	je	.L178
	movl	%r9d, %edi
	movl	%r9d, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$772, %r8d
	pushq	%rdi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L178:
	.cfi_restore_state
	cmpl	%ebx, %eax
	jnb	.L252
	addl	0(%rbp,%rax,4), %r14d
	incq	%rax
	jmp	.L178
.L252:
	movl	$1, %r9d
	movl	%r12d, %r8d
	movl	$1, %ecx
	movl	%ebx, %edx
	movq	%r15, %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	cvtsi2sdq	120(%rsp), %xmm0
	movl	%r14d, %edx
	movb	$1, %al
	mulsd	.LC5(%rip), %xmm0
	cvtsi2sdq	112(%rsp), %xmm1
	leaq	.LC31(%rip), %rsi
	movl	$2, %edi
	cvtsi2sdq	96(%rsp), %xmm2
	addsd	%xmm1, %xmm0
	cvtsi2sdq	104(%rsp), %xmm1
	mulsd	.LC5(%rip), %xmm1
	addsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	leaq	.LC32(%rip), %rsi
	cmpl	%r13d, %r14d
	je	.L242
	leaq	.LC33(%rip), %rsi
.L242:
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	40(%rsp), %rdi
	call	cudaFree@PLT
	testl	%eax, %eax
	je	.L182
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$793, %r8d
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L182:
	.cfi_restore_state
	movq	48(%rsp), %rdi
	call	cudaFree@PLT
	testl	%eax, %eax
	je	.L183
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$794, %r8d
	pushq	%rcx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L183:
	.cfi_restore_state
	movq	(%rsp), %rdi
	call	free@PLT
	movq	24(%rsp), %rdi
	call	free@PLT
	movq	%rbp, %rdi
	call	free@PLT
	call	cudaDeviceReset@PLT
	testl	%eax, %eax
	je	.L184
	movl	%eax, %edi
	movl	%eax, (%rsp)
	call	cudaGetErrorString@PLT
	movl	$802, %r8d
	pushq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 1240
	pushq	%rax
	.cfi_def_cfa_offset 1248
	movl	16(%rsp), %r9d
	jmp	.L243
.L184:
	.cfi_restore_state
	movq	1160(%rsp), %rax
	subq	%fs:40, %rax
	je	.L185
	call	__stack_chk_fail@PLT
.L185:
	addq	$1176, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2030:
	.size	main, .-main
	.section	.rodata.str1.1
.LC34:
	.string	"_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j"
.LC35:
	.string	"_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j"
.LC36:
	.string	"_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j"
.LC37:
	.string	"_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j"
.LC38:
	.string	"_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j"
.LC39:
	.string	"_Z29reduceCompleteUnrollingWarps8PiS_j"
.LC40:
	.string	"_Z21reduceUnrollingWarps8PiS_j"
.LC41:
	.string	"_Z16reduceUnrolling8PiS_j"
.LC42:
	.string	"_Z16reduceUnrolling4PiS_j"
.LC43:
	.string	"_Z16reduceUnrolling2PiS_j"
.LC44:
	.string	"_Z17reduceInterleavedPiS_j"
.LC45:
	.string	"_Z20reduceNeighboredLessPiS_j"
.LC46:
	.string	"_Z16reduceNeighboredPiS_j"
	.section	.text.startup
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB2082:
	.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	.LC34(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j(%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	.LC35(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j(%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	.LC36(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j(%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	.LC37(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j(%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	.LC38(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j(%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	.LC39(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z29reduceCompleteUnrollingWarps8PiS_j(%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	.LC40(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z21reduceUnrollingWarps8PiS_j(%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	.LC41(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z16reduceUnrolling8PiS_j(%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	.LC42(%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	_Z16reduceUnrolling4PiS_j(%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	.LC43(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z16reduceUnrolling2PiS_j(%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
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC44(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z17reduceInterleavedPiS_j(%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
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC45(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z20reduceNeighboredLessPiS_j(%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
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC46(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z16reduceNeighboredPiS_j(%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
.LFE2082:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC5:
	.long	-1598689907
	.long	1051772663
	.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:


/* reduce-integer.cu */

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/time.h>
#include <hip/hip_runtime.h>

/*
 * Check kernel performance using the following commands
 *
 * nvcc reduce-integer.cu -o bin/reduce-integer
 *
 * su
 * nvprof --metrics inst_per_warp bin/reduce-integer
 * nvprof --metrics gld_throughput bin/reduce-integer
 * nvprof --metrics gld_efficiency bin/reduce-integer
 * nvprof --metrics gst_efficiency bin/reduce-integer
 * nvprof --metrics dram_read_throughput bin/reduce-integer
 * nvprof --metrics stall_sync bin/reduce-integer
 */

#define CHECK_CUDA_CALL(call) \
    { \
        const hipError_t error = call; \
        \
        if (error != hipSuccess) { \
            fprintf(stderr, "Error (%s:%d), code: %d, reason: %s\n", \
                    __FILE__, __LINE__, \
                    error, hipGetErrorString(error)); \
                exit(EXIT_FAILURE); \
        } \
    }

int recursiveReduceHost(int* inArray, size_t size)
{
    int i;
    int stride;

    if (size == 1)
        return inArray[0];

    stride = (int)(size / 2);

    /* Execute in-place reduction */
    for (i = 0; i < stride; ++i)
        inArray[i] += inArray[i + stride];

    /* Recursive call */
    return recursiveReduceHost(inArray, stride);
}

__global__ void reduceNeighbored(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + blockIdx.x * blockDim.x;
    int* pArray = inArray + blockIdx.x * blockDim.x;
    int stride;

    if (i >= size)
        return;

    for (stride = 1; stride < blockDim.x; stride *= 2) {
        if ((id % (2 * stride)) == 0)
            pArray[id] += pArray[id + stride];
        
        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceNeighboredLess(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + blockIdx.x * blockDim.x;
    unsigned int j;
    int* pArray = inArray + blockIdx.x * blockDim.x;
    int stride;

    if (i >= size)
        return;

    for (stride = 1; stride < blockDim.x; stride *= 2) {
        /* Calculate local array index from the thread index */
        /* This prevents warp divergences to occur */
        j = 2 * stride * id;

        if (j < blockDim.x)
            pArray[j] += pArray[j + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceInterleaved(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + blockIdx.x * blockDim.x;
    int* pArray = inArray + blockIdx.x * blockDim.x;
    int stride;

    if (i >= size)
        return;

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrolling2(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 2) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 2) * blockDim.x;
    int stride;
    
    /* Each thread processes 2 data blocks (cyclic) */
    if (i + blockDim.x < size)
        inArray[i] += inArray[i + blockDim.x];

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrolling4(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 4) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 4) * blockDim.x;
    int stride;
    
    /* Each thread processes 4 data blocks (cyclic) */
    if (i + blockDim.x * 3 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
    }

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrolling8(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    int stride;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 0; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceUnrollingWarps8(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    volatile int* pvArray;
    int stride;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();

    for (stride = blockDim.x / 2; stride > 32; stride >>= 1) {
        if (id < stride)
            pArray[id] += pArray[id + stride];

        /* Synchronize between all threads in the thread block */
        __syncthreads();
    }

    /* Reduction using warp unrolling */
    /* Unnecessary __syncthreads() calls are eliminated */
    if (id < 32) {
        pvArray = pArray;
        pvArray[id] += pvArray[id + 32];
        pvArray[id] += pvArray[id + 16];
        pvArray[id] += pvArray[id + 8];
        pvArray[id] += pvArray[id + 4];
        pvArray[id] += pvArray[id + 2];
        pvArray[id] += pvArray[id + 1];
    }

    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

__global__ void reduceCompleteUnrollingWarps8(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    volatile int* pvArray;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();

    /* In-place reduction and complete unrolling */
    /* Maximum number of the threads in the thread block is 1024 */
    if (blockDim.x >= 1024 && id < 512)
        pArray[id] += pArray[id + 512];

    __syncthreads();

    if (blockDim.x >= 512 && id < 256)
        pArray[id] += pArray[id + 256];

    __syncthreads();

    if (blockDim.x >= 256 && id < 128)
        pArray[id] += pArray[id + 128];

    __syncthreads();

    if (blockDim.x >= 128 && id < 64)
        pArray[id] += pArray[id + 64];

    __syncthreads();

    /* Warp unrolling */
    /* Unnecessary __syncthreads() calls are eliminated */
    if (id < 32) {
        pvArray = pArray;
        pvArray[id] += pvArray[id + 32];
        pvArray[id] += pvArray[id + 16];
        pvArray[id] += pvArray[id + 8];
        pvArray[id] += pvArray[id + 4];
        pvArray[id] += pvArray[id + 2];
        pvArray[id] += pvArray[id + 1];
    }
    
    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

template <unsigned int BlockSize>
__global__ void reduceCompleteUnrollingWarps(int* inArray, int* outArray, unsigned int size)
{
    unsigned int id = threadIdx.x;
    unsigned int i = threadIdx.x + (blockIdx.x * 8) * blockDim.x;
    int* pArray = inArray + (blockIdx.x * 8) * blockDim.x;
    volatile int* pvArray;
    
    /* Each thread processes 8 data blocks (cyclic) */
    if (i + blockDim.x * 7 < size) {
        inArray[i] += inArray[i + blockDim.x];
        inArray[i] += inArray[i + blockDim.x * 2];
        inArray[i] += inArray[i + blockDim.x * 3];
        inArray[i] += inArray[i + blockDim.x * 4];
        inArray[i] += inArray[i + blockDim.x * 5];
        inArray[i] += inArray[i + blockDim.x * 6];
        inArray[i] += inArray[i + blockDim.x * 7];
    }

    __syncthreads();
    
    /* In-place reduction and complete unrolling */
    /* Maximum number of the threads in the thread block is 1024 */
    if (BlockSize >= 1024 && id < 512)
        pArray[id] += pArray[id + 512];

    __syncthreads();

    if (BlockSize >= 512 && id < 256)
        pArray[id] += pArray[id + 256];

    __syncthreads();

    if (BlockSize >= 256 && id < 128)
        pArray[id] += pArray[id + 128];

    __syncthreads();

    if (BlockSize >= 128 && id < 64)
        pArray[id] += pArray[id + 64];

    __syncthreads();

    /* Warp unrolling */
    /* Unnecessary __syncthreads() calls are eliminated */
    if (id < 32) {
        pvArray = pArray;
        pvArray[id] += pvArray[id + 32];
        pvArray[id] += pvArray[id + 16];
        pvArray[id] += pvArray[id + 8];
        pvArray[id] += pvArray[id + 4];
        pvArray[id] += pvArray[id + 2];
        pvArray[id] += pvArray[id + 1];
    }
    
    if (id == 0)
        outArray[blockIdx.x] = pArray[0];
}

int main(int argc, char** argv)
{
    int i;

    int dev;
    hipDeviceProp_t deviceProp;

    int numOfElements;
    size_t numOfBytes;
    int blockSize;

    int* hostInput;
    int* hostTmp;
    int* hostResult;

    int* devInput;
    int* devResult;

    int hostSum;
    int devSum;

    struct timeval startTime;
    struct timeval endTime;
    
    /* Setup device */
    dev = 0;
    CHECK_CUDA_CALL(hipGetDeviceProperties(&deviceProp, dev));
    
    printf("Using device %d: %s\n", dev, deviceProp.name);

    CHECK_CUDA_CALL(hipSetDevice(dev));
    
    /* Set array size */
    numOfElements = 1 << 24;
    numOfBytes = numOfElements * sizeof(int);
    printf("Array size: %d\n", numOfElements);
    
    /* Set execution configuration */
    blockSize = 512;

    if (argc > 1)
        blockSize = atoi(argv[1]);

    dim3 block(blockSize, 1);
    dim3 grid((numOfElements + block.x - 1) / block.x, 1);

    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x, grid.y, block.x, block.y);
    
    /* Allocate host memory */
    hostInput = (int*)calloc(numOfElements, sizeof(int));
    hostTmp = (int*)calloc(numOfElements, sizeof(int));
    hostResult = (int*)calloc(grid.x, sizeof(int));

    /* Allocate device memory */
    CHECK_CUDA_CALL(hipMalloc((void**)&devInput, numOfBytes));
    CHECK_CUDA_CALL(hipMalloc((void**)&devResult, grid.x * sizeof(int)));

    /* Initialize array */
    for (i = 0; i < numOfElements; ++i)
        hostInput[i] = (int)(rand() & 0xFF);

    memcpy(hostTmp, hostInput, numOfBytes);
    
    /* Execute reduction operation in host */
    gettimeofday(&startTime, NULL);
    hostSum = recursiveReduceHost(hostTmp, numOfElements);
    gettimeofday(&endTime, NULL);
    
    printf("Host execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           hostSum);
    
    /* Call reduceNeighbored kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceNeighbored<<<grid, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x; ++i)
        devSum += hostResult[i];

    printf("Device (reduceNeighbored) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceNeighbored) passed!\n");
    else
        printf("Test (reduceNeighbored) failed!\n");

    /* Call reduceNeighboredLess kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceNeighboredLess<<<grid, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x; ++i)
        devSum += hostResult[i];

    printf("Device (reduceNeighboredLess) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceNeighboredLess) passed!\n");
    else
        printf("Test (reduceNeighboredLess) failed!\n");
    
    /* Call reduceInterleaved kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceInterleaved<<<grid, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x; ++i)
        devSum += hostResult[i];

    printf("Device (reduceInterleaved) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceInterleaved) passed!\n");
    else
        printf("Test (reduceInterleaved) failed!\n");
    
    /* Call reduceUnrolling2 kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrolling2<<<grid.x / 2, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x / 2 * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 2; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 2, grid.y, block.x, block.y);
    printf("Device (reduceUnrolling2) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrolling2) passed!\n");
    else
        printf("Test (reduceUnrolling2) failed!\n");

    /* Call reduceUnrolling4 kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrolling4<<<grid.x / 4, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x / 4 * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 4; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 4, grid.y, block.x, block.y);
    printf("Device (reduceUnrolling4) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrolling4) passed!\n");
    else
        printf("Test (reduceUnrolling4) failed!\n");
    
    /* Call reduceUnrolling8 kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrolling8<<<grid.x / 8, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceUnrolling8) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrolling8) passed!\n");
    else
        printf("Test (reduceUnrolling8) failed!\n");
    
    /* Call reduceUnrollingWarps8 kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceUnrollingWarps8<<<grid.x / 8, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceUnrollingWarps8) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceUnrollingWarps8) passed!\n");
    else
        printf("Test (reduceUnrollingWarps8) failed!\n");
    
    /* Call reduceCompleteUnrollingWarps8 kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());

    gettimeofday(&startTime, NULL);
    reduceCompleteUnrollingWarps8<<<grid.x / 8, block>>>(devInput, devResult, numOfElements);
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    gettimeofday(&endTime, NULL);

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceCompleteUnrollingWarps8) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceCompleteUnrollingWarps8) passed!\n");
    else
        printf("Test (reduceCompleteUnrollingWarps8) failed!\n");
    
    /* Call reduceCompleteUnrollingWarps kernel */
    CHECK_CUDA_CALL(hipMemcpy(devInput, hostInput, numOfBytes, hipMemcpyHostToDevice));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    switch (blockSize) {
        case 1024:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<1024><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(hipDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;

        case 512:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<512><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(hipDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
        
        case 256:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<256><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(hipDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
        
        case 128:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<128><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(hipDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
        
        case 64:
            gettimeofday(&startTime, NULL);
            reduceCompleteUnrollingWarps<64><<<grid.x / 8, block>>>(
                devInput, devResult, numOfElements);
            CHECK_CUDA_CALL(hipDeviceSynchronize());
            gettimeofday(&endTime, NULL);
            break;
    }

    /* Check kernel error */
    CHECK_CUDA_CALL(hipGetLastError());
    
    /* Copy kernel result */
    CHECK_CUDA_CALL(hipMemcpy(hostResult, devResult,
                               grid.x / 8 * sizeof(int), hipMemcpyDeviceToHost));
    CHECK_CUDA_CALL(hipDeviceSynchronize());
    
    /* Calculate kernel result */
    devSum = 0;

    for (i = 0; i < grid.x / 8; ++i)
        devSum += hostResult[i];
    
    printf("Execution configuration: <<<(%d, %d), (%d, %d)>>>\n",
           grid.x / 8, grid.y, block.x, block.y);
    printf("Device (reduceCompleteUnrollingWarps) execution time: %.6f, result: %d\n",
           ((double)endTime.tv_sec + (double)endTime.tv_usec * 1.0e-6) -
           ((double)startTime.tv_sec + (double)startTime.tv_usec * 1.0e-6),
           devSum);
    
    if (hostSum == devSum)
        printf("Test (reduceCompleteUnrollingWarps) passed!\n");
    else
        printf("Test (reduceCompleteUnrollingWarps) failed!\n");

    /* Free device memory */
    CHECK_CUDA_CALL(hipFree(devInput));
    CHECK_CUDA_CALL(hipFree(devResult));
    
    /* Free host memory */
    free(hostInput);
    free(hostTmp);
    free(hostResult);
    
    /* Reset device */
    CHECK_CUDA_CALL(hipDeviceReset());

    return EXIT_SUCCESS;
}


	.text
	.file	"reduce-integer.hip"
	.globl	_Z19recursiveReduceHostPim      # -- Begin function _Z19recursiveReduceHostPim
	.type	_Z19recursiveReduceHostPim,@function
_Z19recursiveReduceHostPim:             # @_Z19recursiveReduceHostPim
	.cfi_startproc
# %bb.0:
	cmpq	$1, %rsi
	je	.LBB0_6
# %bb.1:
	movabsq	$4294967296, %rax               # imm = 0x100000000
.LBB0_2:                                # %.lr.ph20
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_4 Depth 2
	shrq	%rsi
	testl	%esi, %esi
	jle	.LBB0_5
# %bb.3:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %ecx
	leaq	(%rdi,%rcx,4), %rdx
	xorl	%r8d, %r8d
.LBB0_4:                                # %.lr.ph
                                        #   Parent Loop BB0_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%r8,4), %r9d
	addl	%r9d, (%rdi,%r8,4)
	incq	%r8
	cmpq	%r8, %rcx
	jne	.LBB0_4
.LBB0_5:                                # %tailrecurse
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rcx
	shlq	$32, %rcx
	movslq	%esi, %rsi
	cmpq	%rax, %rcx
	jne	.LBB0_2
.LBB0_6:                                # %tailrecurse._crit_edge
	movl	(%rdi), %eax
	retq
.Lfunc_end0:
	.size	_Z19recursiveReduceHostPim, .Lfunc_end0-_Z19recursiveReduceHostPim
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__reduceNeighboredPiS_j # -- Begin function _Z31__device_stub__reduceNeighboredPiS_j
	.type	_Z31__device_stub__reduceNeighboredPiS_j,@function
_Z31__device_stub__reduceNeighboredPiS_j: # @_Z31__device_stub__reduceNeighboredPiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16reduceNeighboredPiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z31__device_stub__reduceNeighboredPiS_j, .Lfunc_end1-_Z31__device_stub__reduceNeighboredPiS_j
	.cfi_endproc
                                        # -- End function
	.globl	_Z35__device_stub__reduceNeighboredLessPiS_j # -- Begin function _Z35__device_stub__reduceNeighboredLessPiS_j
	.type	_Z35__device_stub__reduceNeighboredLessPiS_j,@function
_Z35__device_stub__reduceNeighboredLessPiS_j: # @_Z35__device_stub__reduceNeighboredLessPiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z20reduceNeighboredLessPiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z35__device_stub__reduceNeighboredLessPiS_j, .Lfunc_end2-_Z35__device_stub__reduceNeighboredLessPiS_j
	.cfi_endproc
                                        # -- End function
	.globl	_Z32__device_stub__reduceInterleavedPiS_j # -- Begin function _Z32__device_stub__reduceInterleavedPiS_j
	.type	_Z32__device_stub__reduceInterleavedPiS_j,@function
_Z32__device_stub__reduceInterleavedPiS_j: # @_Z32__device_stub__reduceInterleavedPiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z17reduceInterleavedPiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z32__device_stub__reduceInterleavedPiS_j, .Lfunc_end3-_Z32__device_stub__reduceInterleavedPiS_j
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__reduceUnrolling2PiS_j # -- Begin function _Z31__device_stub__reduceUnrolling2PiS_j
	.type	_Z31__device_stub__reduceUnrolling2PiS_j,@function
_Z31__device_stub__reduceUnrolling2PiS_j: # @_Z31__device_stub__reduceUnrolling2PiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16reduceUnrolling2PiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z31__device_stub__reduceUnrolling2PiS_j, .Lfunc_end4-_Z31__device_stub__reduceUnrolling2PiS_j
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__reduceUnrolling4PiS_j # -- Begin function _Z31__device_stub__reduceUnrolling4PiS_j
	.type	_Z31__device_stub__reduceUnrolling4PiS_j,@function
_Z31__device_stub__reduceUnrolling4PiS_j: # @_Z31__device_stub__reduceUnrolling4PiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16reduceUnrolling4PiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_Z31__device_stub__reduceUnrolling4PiS_j, .Lfunc_end5-_Z31__device_stub__reduceUnrolling4PiS_j
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__reduceUnrolling8PiS_j # -- Begin function _Z31__device_stub__reduceUnrolling8PiS_j
	.type	_Z31__device_stub__reduceUnrolling8PiS_j,@function
_Z31__device_stub__reduceUnrolling8PiS_j: # @_Z31__device_stub__reduceUnrolling8PiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16reduceUnrolling8PiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_Z31__device_stub__reduceUnrolling8PiS_j, .Lfunc_end6-_Z31__device_stub__reduceUnrolling8PiS_j
	.cfi_endproc
                                        # -- End function
	.globl	_Z36__device_stub__reduceUnrollingWarps8PiS_j # -- Begin function _Z36__device_stub__reduceUnrollingWarps8PiS_j
	.type	_Z36__device_stub__reduceUnrollingWarps8PiS_j,@function
_Z36__device_stub__reduceUnrollingWarps8PiS_j: # @_Z36__device_stub__reduceUnrollingWarps8PiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z21reduceUnrollingWarps8PiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_Z36__device_stub__reduceUnrollingWarps8PiS_j, .Lfunc_end7-_Z36__device_stub__reduceUnrollingWarps8PiS_j
	.cfi_endproc
                                        # -- End function
	.globl	_Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j # -- Begin function _Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j
	.type	_Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j,@function
_Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j: # @_Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z29reduceCompleteUnrollingWarps8PiS_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j, .Lfunc_end8-_Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function main
.LCPI9_0:
	.quad	0x3eb0c6f7a0b5ed8d              # double 9.9999999999999995E-7
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1576, %rsp                     # imm = 0x628
	.cfi_def_cfa_offset 1632
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %rbx
	movl	%edi, %ebp
	leaq	104(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipGetDevicePropertiesR0600
	testl	%eax, %eax
	jne	.LBB9_1
# %bb.4:
	leaq	104(%rsp), %rdx
	movl	$.L.str.2, %edi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	printf
	xorl	%edi, %edi
	callq	hipSetDevice
	testl	%eax, %eax
	jne	.LBB9_5
# %bb.6:
	movl	$.L.str.3, %edi
	movl	$16777216, %esi                 # imm = 0x1000000
	xorl	%eax, %eax
	callq	printf
	movl	$512, %ecx                      # imm = 0x200
	cmpl	$2, %ebp
	jl	.LBB9_8
# %bb.7:
	movq	8(%rbx), %rdi
	callq	atoi
	movl	%eax, %ecx
.LBB9_8:
	leal	16777215(%rcx), %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r12d
	movl	$.L.str.4, %edi
	movl	%eax, %esi
	movl	$1, %edx
	movq	%rcx, 80(%rsp)                  # 8-byte Spill
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	printf
	movl	$16777216, %edi                 # imm = 0x1000000
	movl	$4, %esi
	callq	calloc
	movq	%rax, %r13
	movl	$16777216, %edi                 # imm = 0x1000000
	movl	$4, %esi
	callq	calloc
	movq	%rax, %r14
	movl	$4, %esi
	movq	%r12, %rdi
	callq	calloc
	movq	%rax, %r15
	leaq	16(%rsp), %rdi
	movl	$67108864, %esi                 # imm = 0x4000000
	callq	hipMalloc
	testl	%eax, %eax
	jne	.LBB9_9
# %bb.11:
	movq	%r13, 88(%rsp)                  # 8-byte Spill
	leaq	(,%r12,4), %rsi
	leaq	8(%rsp), %rdi
	movq	%rsi, 96(%rsp)                  # 8-byte Spill
	callq	hipMalloc
	testl	%eax, %eax
	jne	.LBB9_193
# %bb.12:                               # %.preheader767.preheader
	movabsq	$4294967296, %rbp               # imm = 0x100000000
	movl	80(%rsp), %eax                  # 4-byte Reload
	btsq	$32, %rax
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	movq	%r12, %rax
	btsq	$32, %rax
	movq	%rax, 72(%rsp)                  # 8-byte Spill
	xorl	%ebx, %ebx
	movq	88(%rsp), %r13                  # 8-byte Reload
.LBB9_13:                               # %.preheader767
                                        # =>This Inner Loop Header: Depth=1
	callq	rand
	movzbl	%al, %eax
	movl	%eax, (%r13,%rbx,4)
	incq	%rbx
	cmpq	$16777216, %rbx                 # imm = 0x1000000
	jne	.LBB9_13
# %bb.14:
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	memcpy@PLT
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movl	$16777216, %eax                 # imm = 0x1000000
.LBB9_15:                               # %.lr.ph20.i
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB9_17 Depth 2
	shrq	%rax
	testl	%eax, %eax
	jle	.LBB9_18
# %bb.16:                               # %.lr.ph.preheader.i
                                        #   in Loop: Header=BB9_15 Depth=1
	movl	%eax, %ecx
	leaq	(%r14,%rcx,4), %rdx
	shlq	$2, %rcx
	xorl	%esi, %esi
.LBB9_17:                               # %.lr.ph.i
                                        #   Parent Loop BB9_15 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rsi), %edi
	addl	%edi, (%r14,%rsi)
	addq	$4, %rsi
	cmpq	%rsi, %rcx
	jne	.LBB9_17
.LBB9_18:                               # %tailrecurse.i
                                        #   in Loop: Header=BB9_15 Depth=1
	movq	%rax, %rcx
	shlq	$32, %rcx
	cltq
	cmpq	%rbp, %rcx
	jne	.LBB9_15
# %bb.19:                               # %_Z19recursiveReduceHostPim.exit
	movl	(%r14), %r13d
	leaq	56(%rsp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	cvtsi2sdq	(%rbx), %xmm1
	cvtsi2sdq	8(%rbx), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	cvtsi2sdq	32(%rsp), %xmm2
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.5, %edi
	movl	%r13d, 28(%rsp)                 # 4-byte Spill
	movl	%r13d, %esi
	movb	$1, %al
	callq	printf
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_20
# %bb.21:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	movq	96(%rsp), %r13                  # 8-byte Reload
	jne	.LBB9_22
# %bb.23:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	72(%rsp), %rdi                  # 8-byte Reload
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_25
# %bb.24:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z31__device_stub__reduceNeighboredPiS_j
.LBB9_25:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_26
# %bb.27:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_28
# %bb.29:
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_30
# %bb.31:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_194
# %bb.32:                               # %.preheader766
	xorl	%ebx, %ebx
	cmpl	$-16777216, 80(%rsp)            # 4-byte Folded Reload
                                        # imm = 0xFF000000
	ja	.LBB9_35
# %bb.33:                               # %.lr.ph.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_34:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r12, %rax
	jb	.LBB9_34
.LBB9_35:                               # %._crit_edge
	xorps	%xmm1, %xmm1
	cvtsi2sdq	56(%rsp), %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2sdq	32(%rsp), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.6, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.1, %eax
	movl	$.Lstr, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_36
# %bb.37:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_38
# %bb.39:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	72(%rsp), %rdi                  # 8-byte Reload
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_41
# %bb.40:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z35__device_stub__reduceNeighboredLessPiS_j
.LBB9_41:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_42
# %bb.43:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_44
# %bb.45:
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_46
# %bb.47:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_195
# %bb.48:                               # %.preheader765
	xorl	%ebx, %ebx
	cmpl	$-16777216, 80(%rsp)            # 4-byte Folded Reload
                                        # imm = 0xFF000000
	ja	.LBB9_51
# %bb.49:                               # %.lr.ph773.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_50:                               # %.lr.ph773
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r12, %rax
	jb	.LBB9_50
.LBB9_51:                               # %._crit_edge774
	xorps	%xmm1, %xmm1
	cvtsi2sdq	56(%rsp), %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2sdq	32(%rsp), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.9, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.3, %eax
	movl	$.Lstr.2, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_52
# %bb.53:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_54
# %bb.55:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	72(%rsp), %rdi                  # 8-byte Reload
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_57
# %bb.56:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z32__device_stub__reduceInterleavedPiS_j
.LBB9_57:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	movq	88(%rsp), %r13                  # 8-byte Reload
	jne	.LBB9_58
# %bb.59:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_60
# %bb.61:
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	96(%rsp), %rdx                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_62
# %bb.63:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_196
# %bb.64:                               # %.preheader764
	xorl	%ebx, %ebx
	cmpl	$-16777216, 80(%rsp)            # 4-byte Folded Reload
                                        # imm = 0xFF000000
	ja	.LBB9_67
# %bb.65:                               # %.lr.ph778.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_66:                               # %.lr.ph778
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r12, %rax
	jb	.LBB9_66
.LBB9_67:                               # %._crit_edge779
	cvtsi2sdq	56(%rsp), %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	cvtsi2sdq	32(%rsp), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.12, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.5, %eax
	movl	$.Lstr.4, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_68
# %bb.69:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_70
# %bb.71:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movl	%r12d, %edi
	shrl	%edi
	movq	%rdi, 72(%rsp)                  # 8-byte Spill
	orq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_73
# %bb.72:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z31__device_stub__reduceUnrolling2PiS_j
.LBB9_73:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_74
# %bb.75:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_76
# %bb.77:
	movq	8(%rsp), %rsi
	movq	72(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,4), %rdx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_78
# %bb.79:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_197
# %bb.80:                               # %.preheader763
	xorl	%r13d, %r13d
	cmpl	$2, %r12d
	movq	80(%rsp), %rcx                  # 8-byte Reload
	movq	72(%rsp), %rsi                  # 8-byte Reload
	jb	.LBB9_83
# %bb.81:                               # %.lr.ph783.preheader
	xorl	%eax, %eax
	xorl	%r13d, %r13d
.LBB9_82:                               # %.lr.ph783
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %r13d
	incq	%rax
	cmpq	%rsi, %rax
	jb	.LBB9_82
.LBB9_83:                               # %._crit_edge784
	movl	$.L.str.4, %edi
                                        # kill: def $esi killed $esi killed $rsi
	movl	$1, %edx
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	printf
	cvtsi2sdq	56(%rsp), %xmm1
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	cvtsi2sdq	32(%rsp), %xmm2
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.15, %edi
	movl	%r13d, %esi
	movb	$1, %al
	callq	printf
	cmpl	%r13d, 28(%rsp)                 # 4-byte Folded Reload
	movl	$.Lstr.7, %eax
	movl	$.Lstr.6, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_84
# %bb.85:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_86
# %bb.87:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movl	%r12d, %r13d
	shrl	$2, %r13d
	movq	%r13, %rdi
	orq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_89
# %bb.88:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z31__device_stub__reduceUnrolling4PiS_j
.LBB9_89:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_90
# %bb.91:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_92
# %bb.93:
	movq	8(%rsp), %rsi
	movl	%r12d, %edx
	andl	$-4, %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_94
# %bb.95:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_198
# %bb.96:                               # %.preheader762
	xorl	%ebx, %ebx
	cmpl	$4, %r12d
	movq	80(%rsp), %rcx                  # 8-byte Reload
	jb	.LBB9_99
# %bb.97:                               # %.lr.ph788.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_98:                               # %.lr.ph788
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r13, %rax
	jb	.LBB9_98
.LBB9_99:                               # %._crit_edge789
	movl	$.L.str.4, %edi
	movl	%r13d, %esi
	movl	$1, %edx
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	printf
	cvtsi2sdq	56(%rsp), %xmm1
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	cvtsi2sdq	32(%rsp), %xmm2
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.18, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.9, %eax
	movl	$.Lstr.8, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_100
# %bb.101:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_102
# %bb.103:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movl	%r12d, %r13d
	shrl	$3, %r13d
	orq	%r13, %rbp
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_105
# %bb.104:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z31__device_stub__reduceUnrolling8PiS_j
.LBB9_105:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_106
# %bb.107:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_108
# %bb.109:
	movq	8(%rsp), %rsi
	movq	72(%rsp), %rdx                  # 8-byte Reload
	andl	$-4, %edx
	movq	%r15, %rdi
	movq	%rdx, 72(%rsp)                  # 8-byte Spill
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_110
# %bb.111:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_199
# %bb.112:                              # %.preheader761
	xorl	%ebx, %ebx
	cmpl	$8, %r12d
	movq	80(%rsp), %rcx                  # 8-byte Reload
	jb	.LBB9_115
# %bb.113:                              # %.lr.ph793.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_114:                              # %.lr.ph793
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r13, %rax
	jb	.LBB9_114
.LBB9_115:                              # %._crit_edge794
	movl	$.L.str.4, %edi
	movl	%r13d, %esi
	movl	$1, %edx
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	printf
	cvtsi2sdq	56(%rsp), %xmm1
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	cvtsi2sdq	32(%rsp), %xmm2
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.21, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.11, %eax
	movl	$.Lstr.10, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_116
# %bb.117:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_118
# %bb.119:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_121
# %bb.120:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z36__device_stub__reduceUnrollingWarps8PiS_j
.LBB9_121:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_122
# %bb.123:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_124
# %bb.125:
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	72(%rsp), %rdx                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_126
# %bb.127:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_200
# %bb.128:                              # %.preheader760
	xorl	%ebx, %ebx
	cmpl	$8, %r12d
	movq	80(%rsp), %rcx                  # 8-byte Reload
	jb	.LBB9_131
# %bb.129:                              # %.lr.ph798.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_130:                              # %.lr.ph798
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r13, %rax
	jb	.LBB9_130
.LBB9_131:                              # %._crit_edge799
	movl	$.L.str.4, %edi
	movl	%r13d, %esi
	movl	$1, %edx
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	printf
	cvtsi2sdq	56(%rsp), %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	cvtsi2sdq	32(%rsp), %xmm2
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.24, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.13, %eax
	movl	$.Lstr.12, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_132
# %bb.133:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_134
# %bb.135:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_137
# %bb.136:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j
.LBB9_137:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_138
# %bb.139:
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_140
# %bb.141:
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	72(%rsp), %rdx                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_142
# %bb.143:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_201
# %bb.144:                              # %.preheader759
	xorl	%ebx, %ebx
	cmpl	$8, %r12d
	movq	80(%rsp), %rcx                  # 8-byte Reload
	jb	.LBB9_147
# %bb.145:                              # %.lr.ph803.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_146:                              # %.lr.ph803
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r13, %rax
	jb	.LBB9_146
.LBB9_147:                              # %._crit_edge804
	movl	$.L.str.4, %edi
	movl	%r13d, %esi
	movl	$1, %edx
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	printf
	cvtsi2sdq	56(%rsp), %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	cvtsi2sdq	32(%rsp), %xmm2
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.27, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.15, %eax
	movl	$.Lstr.14, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	movl	$67108864, %edx                 # imm = 0x4000000
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_148
# %bb.149:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_150
# %bb.151:
	movq	80(%rsp), %rax                  # 8-byte Reload
	cmpl	$255, %eax
	jle	.LBB9_152
# %bb.158:
	cmpl	$256, %eax                      # imm = 0x100
	je	.LBB9_169
# %bb.159:
	cmpl	$512, %eax                      # imm = 0x200
	je	.LBB9_165
# %bb.160:
	cmpl	$1024, %eax                     # imm = 0x400
	jne	.LBB9_178
# %bb.161:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_163
# %bb.162:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
.LBB9_163:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	je	.LBB9_177
# %bb.164:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$729, %ecx                      # imm = 0x2D9
	jmp	.LBB9_10
.LBB9_152:
	cmpl	$64, %eax
	je	.LBB9_173
# %bb.153:
	cmpl	$128, %eax
	jne	.LBB9_178
# %bb.154:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_156
# %bb.155:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j
.LBB9_156:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	je	.LBB9_177
# %bb.157:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$753, %ecx                      # imm = 0x2F1
	jmp	.LBB9_10
.LBB9_169:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_171
# %bb.170:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j
.LBB9_171:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	je	.LBB9_177
# %bb.172:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$745, %ecx                      # imm = 0x2E9
	jmp	.LBB9_10
.LBB9_165:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_167
# %bb.166:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j
.LBB9_167:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	je	.LBB9_177
# %bb.168:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$737, %ecx                      # imm = 0x2E1
	jmp	.LBB9_10
.LBB9_173:
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
	movq	%rbp, %rdi
	movl	$1, %esi
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_175
# %bb.174:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$16777216, %edx                 # imm = 0x1000000
	callq	_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j
.LBB9_175:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_176
.LBB9_177:                              # %.sink.split
	leaq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	gettimeofday
.LBB9_178:
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_179
# %bb.180:
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	72(%rsp), %rdx                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
	testl	%eax, %eax
	jne	.LBB9_181
# %bb.182:
	callq	hipDeviceSynchronize
	testl	%eax, %eax
	jne	.LBB9_202
# %bb.183:                              # %.preheader
	xorl	%ebx, %ebx
	cmpl	$8, %r12d
	movq	80(%rsp), %rcx                  # 8-byte Reload
	jb	.LBB9_186
# %bb.184:                              # %.lr.ph808.preheader
	xorl	%eax, %eax
	xorl	%ebx, %ebx
.LBB9_185:                              # %.lr.ph808
                                        # =>This Inner Loop Header: Depth=1
	addl	(%r15,%rax,4), %ebx
	incq	%rax
	cmpq	%r13, %rax
	jb	.LBB9_185
.LBB9_186:                              # %._crit_edge809
	movl	$.L.str.4, %edi
	movl	%r13d, %esi
	movl	$1, %edx
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	printf
	xorps	%xmm1, %xmm1
	cvtsi2sdq	56(%rsp), %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	64(%rsp), %xmm0
	movsd	.LCPI9_0(%rip), %xmm4           # xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2sdq	32(%rsp), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2sdq	40(%rsp), %xmm3
	addsd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm0
	movl	$.L.str.30, %edi
	movl	%ebx, %esi
	movb	$1, %al
	callq	printf
	cmpl	%ebx, 28(%rsp)                  # 4-byte Folded Reload
	movl	$.Lstr.17, %eax
	movl	$.Lstr.16, %edi
	cmoveq	%rax, %rdi
	callq	puts@PLT
	movq	16(%rsp), %rdi
	callq	hipFree
	testl	%eax, %eax
	jne	.LBB9_187
# %bb.188:
	movq	8(%rsp), %rdi
	callq	hipFree
	testl	%eax, %eax
	movq	88(%rsp), %rdi                  # 8-byte Reload
	jne	.LBB9_189
# %bb.190:
	callq	free
	movq	%r14, %rdi
	callq	free
	movq	%r15, %rdi
	callq	free
	callq	hipDeviceReset
	testl	%eax, %eax
	jne	.LBB9_191
# %bb.192:
	xorl	%eax, %eax
	addq	$1576, %rsp                     # imm = 0x628
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB9_1:
	.cfi_def_cfa_offset 1632
	movl	%eax, %r14d
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$398, %ecx                      # imm = 0x18E
	jmp	.LBB9_2
.LBB9_5:
	movl	%eax, %r14d
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$402, %ecx                      # imm = 0x192
.LBB9_2:
	movl	%r14d, %r8d
	jmp	.LBB9_3
.LBB9_9:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$427, %ecx                      # imm = 0x1AB
	jmp	.LBB9_10
.LBB9_193:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$428, %ecx                      # imm = 0x1AC
	jmp	.LBB9_10
.LBB9_20:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$447, %ecx                      # imm = 0x1BF
	jmp	.LBB9_10
.LBB9_22:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$448, %ecx                      # imm = 0x1C0
	jmp	.LBB9_10
.LBB9_26:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$452, %ecx                      # imm = 0x1C4
	jmp	.LBB9_10
.LBB9_28:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$456, %ecx                      # imm = 0x1C8
	jmp	.LBB9_10
.LBB9_30:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$460, %ecx                      # imm = 0x1CC
	jmp	.LBB9_10
.LBB9_194:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$461, %ecx                      # imm = 0x1CD
	jmp	.LBB9_10
.LBB9_36:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$480, %ecx                      # imm = 0x1E0
	jmp	.LBB9_10
.LBB9_38:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$481, %ecx                      # imm = 0x1E1
	jmp	.LBB9_10
.LBB9_42:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$485, %ecx                      # imm = 0x1E5
	jmp	.LBB9_10
.LBB9_44:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$489, %ecx                      # imm = 0x1E9
	jmp	.LBB9_10
.LBB9_46:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$493, %ecx                      # imm = 0x1ED
	jmp	.LBB9_10
.LBB9_195:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$494, %ecx                      # imm = 0x1EE
	jmp	.LBB9_10
.LBB9_52:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$513, %ecx                      # imm = 0x201
	jmp	.LBB9_10
.LBB9_54:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$514, %ecx                      # imm = 0x202
	jmp	.LBB9_10
.LBB9_58:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$518, %ecx                      # imm = 0x206
	jmp	.LBB9_10
.LBB9_60:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$522, %ecx                      # imm = 0x20A
	jmp	.LBB9_10
.LBB9_62:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$526, %ecx                      # imm = 0x20E
	jmp	.LBB9_10
.LBB9_196:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$527, %ecx                      # imm = 0x20F
	jmp	.LBB9_10
.LBB9_68:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$546, %ecx                      # imm = 0x222
	jmp	.LBB9_10
.LBB9_70:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$547, %ecx                      # imm = 0x223
	jmp	.LBB9_10
.LBB9_74:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$551, %ecx                      # imm = 0x227
	jmp	.LBB9_10
.LBB9_76:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$555, %ecx                      # imm = 0x22B
	jmp	.LBB9_10
.LBB9_78:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$559, %ecx                      # imm = 0x22F
	jmp	.LBB9_10
.LBB9_197:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$560, %ecx                      # imm = 0x230
	jmp	.LBB9_10
.LBB9_84:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$581, %ecx                      # imm = 0x245
	jmp	.LBB9_10
.LBB9_86:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$582, %ecx                      # imm = 0x246
	jmp	.LBB9_10
.LBB9_90:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$586, %ecx                      # imm = 0x24A
	jmp	.LBB9_10
.LBB9_92:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$590, %ecx                      # imm = 0x24E
	jmp	.LBB9_10
.LBB9_94:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$594, %ecx                      # imm = 0x252
	jmp	.LBB9_10
.LBB9_198:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$595, %ecx                      # imm = 0x253
	jmp	.LBB9_10
.LBB9_100:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$616, %ecx                      # imm = 0x268
	jmp	.LBB9_10
.LBB9_102:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$617, %ecx                      # imm = 0x269
	jmp	.LBB9_10
.LBB9_106:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$621, %ecx                      # imm = 0x26D
	jmp	.LBB9_10
.LBB9_108:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$625, %ecx                      # imm = 0x271
	jmp	.LBB9_10
.LBB9_110:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$629, %ecx                      # imm = 0x275
	jmp	.LBB9_10
.LBB9_199:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$630, %ecx                      # imm = 0x276
	jmp	.LBB9_10
.LBB9_116:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$651, %ecx                      # imm = 0x28B
	jmp	.LBB9_10
.LBB9_118:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$652, %ecx                      # imm = 0x28C
	jmp	.LBB9_10
.LBB9_122:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$656, %ecx                      # imm = 0x290
	jmp	.LBB9_10
.LBB9_124:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$660, %ecx                      # imm = 0x294
	jmp	.LBB9_10
.LBB9_126:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$664, %ecx                      # imm = 0x298
	jmp	.LBB9_10
.LBB9_200:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$665, %ecx                      # imm = 0x299
	jmp	.LBB9_10
.LBB9_132:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$686, %ecx                      # imm = 0x2AE
	jmp	.LBB9_10
.LBB9_134:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$687, %ecx                      # imm = 0x2AF
	jmp	.LBB9_10
.LBB9_138:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$691, %ecx                      # imm = 0x2B3
	jmp	.LBB9_10
.LBB9_140:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$695, %ecx                      # imm = 0x2B7
	jmp	.LBB9_10
.LBB9_142:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$699, %ecx                      # imm = 0x2BB
	jmp	.LBB9_10
.LBB9_201:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$700, %ecx                      # imm = 0x2BC
	jmp	.LBB9_10
.LBB9_148:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$721, %ecx                      # imm = 0x2D1
	jmp	.LBB9_10
.LBB9_150:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$722, %ecx                      # imm = 0x2D2
	jmp	.LBB9_10
.LBB9_179:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$767, %ecx                      # imm = 0x2FF
	jmp	.LBB9_10
.LBB9_181:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$771, %ecx                      # imm = 0x303
	jmp	.LBB9_10
.LBB9_202:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$772, %ecx                      # imm = 0x304
	jmp	.LBB9_10
.LBB9_187:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$793, %ecx                      # imm = 0x319
	jmp	.LBB9_10
.LBB9_189:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$794, %ecx                      # imm = 0x31A
	jmp	.LBB9_10
.LBB9_191:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$802, %ecx                      # imm = 0x322
.LBB9_10:
	movl	%ebx, %r8d
.LBB9_3:
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	fprintf
	movl	$1, %edi
	callq	exit
.LBB9_176:
	movl	%eax, %ebx
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%r14, %rdi
	movl	$761, %ecx                      # imm = 0x2F9
	jmp	.LBB9_10
.Lfunc_end9:
	.size	main, .Lfunc_end9-main
	.cfi_endproc
                                        # -- End function
	.section	.text._Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,"axG",@progbits,_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,comdat
	.weak	_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j # -- Begin function _Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.type	_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,@function
_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j: # @_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end10:
	.size	_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j, .Lfunc_end10-_Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.cfi_endproc
                                        # -- End function
	.section	.text._Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j,"axG",@progbits,_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j,comdat
	.weak	_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j # -- Begin function _Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.type	_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j,@function
_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j: # @_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end11:
	.size	_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j, .Lfunc_end11-_Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.cfi_endproc
                                        # -- End function
	.section	.text._Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j,"axG",@progbits,_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j,comdat
	.weak	_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j # -- Begin function _Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.type	_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j,@function
_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j: # @_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j, .Lfunc_end12-_Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.cfi_endproc
                                        # -- End function
	.section	.text._Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j,"axG",@progbits,_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j,comdat
	.weak	_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j # -- Begin function _Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.type	_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j,@function
_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j: # @_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end13:
	.size	_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j, .Lfunc_end13-_Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.cfi_endproc
                                        # -- End function
	.section	.text._Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j,"axG",@progbits,_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j,comdat
	.weak	_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j # -- Begin function _Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.type	_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j,@function
_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j: # @_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end14:
	.size	_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j, .Lfunc_end14-_Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.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	.LBB15_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB15_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z16reduceNeighboredPiS_j, %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	$_Z20reduceNeighboredLessPiS_j, %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	$_Z17reduceInterleavedPiS_j, %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	$_Z16reduceUnrolling2PiS_j, %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	$_Z16reduceUnrolling4PiS_j, %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	$_Z16reduceUnrolling8PiS_j, %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	$_Z21reduceUnrollingWarps8PiS_j, %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	$_Z29reduceCompleteUnrollingWarps8PiS_j, %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	$_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j, %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	$_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j, %esi
	movl	$.L__unnamed_10, %edx
	movl	$.L__unnamed_10, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j, %esi
	movl	$.L__unnamed_11, %edx
	movl	$.L__unnamed_11, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j, %esi
	movl	$.L__unnamed_12, %edx
	movl	$.L__unnamed_12, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j, %esi
	movl	$.L__unnamed_13, %edx
	movl	$.L__unnamed_13, %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_end15:
	.size	__hip_module_ctor, .Lfunc_end15-__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	.LBB16_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
.LBB16_2:
	retq
.Lfunc_end16:
	.size	__hip_module_dtor, .Lfunc_end16-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z16reduceNeighboredPiS_j,@object # @_Z16reduceNeighboredPiS_j
	.section	.rodata,"a",@progbits
	.globl	_Z16reduceNeighboredPiS_j
	.p2align	3, 0x0
_Z16reduceNeighboredPiS_j:
	.quad	_Z31__device_stub__reduceNeighboredPiS_j
	.size	_Z16reduceNeighboredPiS_j, 8

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

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

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

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

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

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

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

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Error (%s:%d), code: %d, reason: %s\n"
	.size	.L.str, 37

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/sterngerlach/cuda-training/master/reduce-integer.hip"
	.size	.L.str.1, 115

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"Using device %d: %s\n"
	.size	.L.str.2, 21

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"Array size: %d\n"
	.size	.L.str.3, 16

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"Execution configuration: <<<(%d, %d), (%d, %d)>>>\n"
	.size	.L.str.4, 51

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"Host execution time: %.6f, result: %d\n"
	.size	.L.str.5, 39

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"Device (reduceNeighbored) execution time: %.6f, result: %d\n"
	.size	.L.str.6, 60

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"Device (reduceNeighboredLess) execution time: %.6f, result: %d\n"
	.size	.L.str.9, 64

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"Device (reduceInterleaved) execution time: %.6f, result: %d\n"
	.size	.L.str.12, 61

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	"Device (reduceUnrolling2) execution time: %.6f, result: %d\n"
	.size	.L.str.15, 60

	.type	.L.str.18,@object               # @.str.18
.L.str.18:
	.asciz	"Device (reduceUnrolling4) execution time: %.6f, result: %d\n"
	.size	.L.str.18, 60

	.type	.L.str.21,@object               # @.str.21
.L.str.21:
	.asciz	"Device (reduceUnrolling8) execution time: %.6f, result: %d\n"
	.size	.L.str.21, 60

	.type	.L.str.24,@object               # @.str.24
.L.str.24:
	.asciz	"Device (reduceUnrollingWarps8) execution time: %.6f, result: %d\n"
	.size	.L.str.24, 65

	.type	.L.str.27,@object               # @.str.27
.L.str.27:
	.asciz	"Device (reduceCompleteUnrollingWarps8) execution time: %.6f, result: %d\n"
	.size	.L.str.27, 73

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

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

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

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

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

	.type	.L.str.30,@object               # @.str.30
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.30:
	.asciz	"Device (reduceCompleteUnrollingWarps) execution time: %.6f, result: %d\n"
	.size	.L.str.30, 72

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z16reduceNeighboredPiS_j"
	.size	.L__unnamed_1, 26

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z20reduceNeighboredLessPiS_j"
	.size	.L__unnamed_2, 30

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z17reduceInterleavedPiS_j"
	.size	.L__unnamed_3, 27

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z16reduceUnrolling2PiS_j"
	.size	.L__unnamed_4, 26

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z16reduceUnrolling4PiS_j"
	.size	.L__unnamed_5, 26

	.type	.L__unnamed_6,@object           # @5
.L__unnamed_6:
	.asciz	"_Z16reduceUnrolling8PiS_j"
	.size	.L__unnamed_6, 26

	.type	.L__unnamed_7,@object           # @6
.L__unnamed_7:
	.asciz	"_Z21reduceUnrollingWarps8PiS_j"
	.size	.L__unnamed_7, 31

	.type	.L__unnamed_8,@object           # @7
.L__unnamed_8:
	.asciz	"_Z29reduceCompleteUnrollingWarps8PiS_j"
	.size	.L__unnamed_8, 39

	.type	.L__unnamed_9,@object           # @8
.L__unnamed_9:
	.asciz	"_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j"
	.size	.L__unnamed_9, 49

	.type	.L__unnamed_10,@object          # @9
.L__unnamed_10:
	.asciz	"_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j"
	.size	.L__unnamed_10, 48

	.type	.L__unnamed_11,@object          # @10
.L__unnamed_11:
	.asciz	"_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j"
	.size	.L__unnamed_11, 48

	.type	.L__unnamed_12,@object          # @11
.L__unnamed_12:
	.asciz	"_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j"
	.size	.L__unnamed_12, 48

	.type	.L__unnamed_13,@object          # @12
.L__unnamed_13:
	.asciz	"_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j"
	.size	.L__unnamed_13, 47

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

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

	.type	.Lstr,@object                   # @str
	.section	.rodata.str1.1,"aMS",@progbits,1
.Lstr:
	.asciz	"Test (reduceNeighbored) failed!"
	.size	.Lstr, 32

	.type	.Lstr.1,@object                 # @str.1
.Lstr.1:
	.asciz	"Test (reduceNeighbored) passed!"
	.size	.Lstr.1, 32

	.type	.Lstr.2,@object                 # @str.2
.Lstr.2:
	.asciz	"Test (reduceNeighboredLess) failed!"
	.size	.Lstr.2, 36

	.type	.Lstr.3,@object                 # @str.3
.Lstr.3:
	.asciz	"Test (reduceNeighboredLess) passed!"
	.size	.Lstr.3, 36

	.type	.Lstr.4,@object                 # @str.4
.Lstr.4:
	.asciz	"Test (reduceInterleaved) failed!"
	.size	.Lstr.4, 33

	.type	.Lstr.5,@object                 # @str.5
.Lstr.5:
	.asciz	"Test (reduceInterleaved) passed!"
	.size	.Lstr.5, 33

	.type	.Lstr.6,@object                 # @str.6
.Lstr.6:
	.asciz	"Test (reduceUnrolling2) failed!"
	.size	.Lstr.6, 32

	.type	.Lstr.7,@object                 # @str.7
.Lstr.7:
	.asciz	"Test (reduceUnrolling2) passed!"
	.size	.Lstr.7, 32

	.type	.Lstr.8,@object                 # @str.8
.Lstr.8:
	.asciz	"Test (reduceUnrolling4) failed!"
	.size	.Lstr.8, 32

	.type	.Lstr.9,@object                 # @str.9
.Lstr.9:
	.asciz	"Test (reduceUnrolling4) passed!"
	.size	.Lstr.9, 32

	.type	.Lstr.10,@object                # @str.10
.Lstr.10:
	.asciz	"Test (reduceUnrolling8) failed!"
	.size	.Lstr.10, 32

	.type	.Lstr.11,@object                # @str.11
.Lstr.11:
	.asciz	"Test (reduceUnrolling8) passed!"
	.size	.Lstr.11, 32

	.type	.Lstr.12,@object                # @str.12
.Lstr.12:
	.asciz	"Test (reduceUnrollingWarps8) failed!"
	.size	.Lstr.12, 37

	.type	.Lstr.13,@object                # @str.13
.Lstr.13:
	.asciz	"Test (reduceUnrollingWarps8) passed!"
	.size	.Lstr.13, 37

	.type	.Lstr.14,@object                # @str.14
.Lstr.14:
	.asciz	"Test (reduceCompleteUnrollingWarps8) failed!"
	.size	.Lstr.14, 45

	.type	.Lstr.15,@object                # @str.15
.Lstr.15:
	.asciz	"Test (reduceCompleteUnrollingWarps8) passed!"
	.size	.Lstr.15, 45

	.type	.Lstr.16,@object                # @str.16
.Lstr.16:
	.asciz	"Test (reduceCompleteUnrollingWarps) failed!"
	.size	.Lstr.16, 44

	.type	.Lstr.17,@object                # @str.17
.Lstr.17:
	.asciz	"Test (reduceCompleteUnrollingWarps) passed!"
	.size	.Lstr.17, 44

	.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 _Z31__device_stub__reduceNeighboredPiS_j
	.addrsig_sym _Z35__device_stub__reduceNeighboredLessPiS_j
	.addrsig_sym _Z32__device_stub__reduceInterleavedPiS_j
	.addrsig_sym _Z31__device_stub__reduceUnrolling2PiS_j
	.addrsig_sym _Z31__device_stub__reduceUnrolling4PiS_j
	.addrsig_sym _Z31__device_stub__reduceUnrolling8PiS_j
	.addrsig_sym _Z36__device_stub__reduceUnrollingWarps8PiS_j
	.addrsig_sym _Z44__device_stub__reduceCompleteUnrollingWarps8PiS_j
	.addrsig_sym _Z43__device_stub__reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.addrsig_sym _Z43__device_stub__reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.addrsig_sym _Z43__device_stub__reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.addrsig_sym _Z43__device_stub__reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.addrsig_sym _Z43__device_stub__reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Z16reduceNeighboredPiS_j
	.addrsig_sym _Z20reduceNeighboredLessPiS_j
	.addrsig_sym _Z17reduceInterleavedPiS_j
	.addrsig_sym _Z16reduceUnrolling2PiS_j
	.addrsig_sym _Z16reduceUnrolling4PiS_j
	.addrsig_sym _Z16reduceUnrolling8PiS_j
	.addrsig_sym _Z21reduceUnrollingWarps8PiS_j
	.addrsig_sym _Z29reduceCompleteUnrollingWarps8PiS_j
	.addrsig_sym _Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.addrsig_sym _Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.addrsig_sym _Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.addrsig_sym _Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.addrsig_sym _Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z16reduceNeighboredPiS_j ; -- Begin function _Z16reduceNeighboredPiS_j
	.globl	_Z16reduceNeighboredPiS_j
	.p2align	8
	.type	_Z16reduceNeighboredPiS_j,@function
_Z16reduceNeighboredPiS_j:              ; @_Z16reduceNeighboredPiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s3, s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_mov_b32 s2, exec_lo
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v1, s6, v0
	v_cmpx_gt_u32_e64 s3, v1
	s_cbranch_execz .LBB0_8
; %bb.1:                                ; %.preheader
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mov_b32 s7, 0
	s_mov_b32 s4, s15
	s_lshl_b64 s[6:7], s[6:7], 2
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_cmp_lt_u32 s5, 2
	s_cbranch_scc1 .LBB0_6
; %bb.2:                                ; %.lr.ph
	v_lshlrev_b32_e32 v1, 2, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s6, s0, v1
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
	s_mov_b32 s6, 1
.LBB0_3:                                ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s8, s6, 1
	s_mov_b32 s9, exec_lo
	s_add_i32 s7, s8, -1
	v_and_b32_e32 v3, s7, v0
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_eq_u32_e32 0, v3
	s_cbranch_execz .LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	s_ashr_i32 s7, s6, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[6:7], s[6:7], 2
	v_add_co_u32 v3, vcc_lo, v1, s6
	v_add_co_ci_u32_e32 v4, vcc_lo, s7, v2, vcc_lo
	s_clause 0x1
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v4, v3
	global_store_b32 v[1:2], v3, off
.LBB0_5:                                ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s9
	s_cmp_lt_u32 s8, s5
	s_mov_b32 s6, s8
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB0_3
.LBB0_6:                                ; %._crit_edge
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB0_8
; %bb.7:
	v_mov_b32_e32 v0, 0
	s_mov_b32 s5, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB0_8:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16reduceNeighboredPiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 5
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z16reduceNeighboredPiS_j, .Lfunc_end0-_Z16reduceNeighboredPiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 320
; NumSgprs: 18
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z20reduceNeighboredLessPiS_j ; -- Begin function _Z20reduceNeighboredLessPiS_j
	.globl	_Z20reduceNeighboredLessPiS_j
	.p2align	8
	.type	_Z20reduceNeighboredLessPiS_j,@function
_Z20reduceNeighboredLessPiS_j:          ; @_Z20reduceNeighboredLessPiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s3, s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_mov_b32 s2, exec_lo
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v1, s6, v0
	v_cmpx_gt_u32_e64 s3, v1
	s_cbranch_execz .LBB1_8
; %bb.1:                                ; %.preheader
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mov_b32 s7, 0
	s_mov_b32 s4, s15
	s_lshl_b64 s[6:7], s[6:7], 2
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_cmp_lt_u32 s5, 2
	s_cbranch_scc1 .LBB1_6
; %bb.2:                                ; %.lr.ph.preheader
	v_mov_b32_e32 v2, 0
	s_mov_b32 s6, 1
.LBB1_3:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	s_lshl_b32 s8, s6, 1
	s_mov_b32 s9, exec_lo
	v_mul_lo_u32 v1, s8, v0
	v_cmpx_gt_u32_e64 s5, v1
	s_cbranch_execz .LBB1_5
; %bb.4:                                ;   in Loop: Header=BB1_3 Depth=1
	v_lshlrev_b64 v[3:4], 2, v[1:2]
	s_ashr_i32 s7, s6, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_lshl_b64 s[6:7], s[6:7], 2
	v_add_co_u32 v3, vcc_lo, s0, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v4, vcc_lo
	v_add_co_u32 v5, vcc_lo, v3, s6
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v4, vcc_lo
	s_clause 0x1
	global_load_b32 v1, v[5:6], off
	global_load_b32 v5, v[3:4], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v5, v1
	global_store_b32 v[3:4], v1, off
.LBB1_5:                                ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s9
	s_cmp_lt_u32 s8, s5
	s_mov_b32 s6, s8
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB1_3
.LBB1_6:                                ; %._crit_edge
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB1_8
; %bb.7:
	v_mov_b32_e32 v0, 0
	s_mov_b32 s5, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB1_8:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z20reduceNeighboredLessPiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 7
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z20reduceNeighboredLessPiS_j, .Lfunc_end1-_Z20reduceNeighboredLessPiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 328
; NumSgprs: 18
; NumVgprs: 7
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 7
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z17reduceInterleavedPiS_j ; -- Begin function _Z17reduceInterleavedPiS_j
	.globl	_Z17reduceInterleavedPiS_j
	.p2align	8
	.type	_Z17reduceInterleavedPiS_j,@function
_Z17reduceInterleavedPiS_j:             ; @_Z17reduceInterleavedPiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s3, s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_mov_b32 s2, exec_lo
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v1, s6, v0
	v_cmpx_gt_u32_e64 s3, v1
	s_cbranch_execz .LBB2_8
; %bb.1:                                ; %.preheader
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mov_b32 s7, 0
	s_mov_b32 s4, s15
	s_lshl_b64 s[8:9], s[6:7], 2
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s8
	s_addc_u32 s1, s1, s9
	s_cmp_lt_u32 s5, 2
	s_cbranch_scc1 .LBB2_6
; %bb.2:                                ; %.lr.ph
	v_lshlrev_b32_e32 v1, 2, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s6, s0, v1
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
.LBB2_3:                                ; =>This Inner Loop Header: Depth=1
	s_lshr_b32 s6, s5, 1
	s_mov_b32 s8, exec_lo
	v_cmpx_gt_u32_e64 s6, v0
	s_cbranch_execz .LBB2_5
; %bb.4:                                ;   in Loop: Header=BB2_3 Depth=1
	s_lshl_b64 s[10:11], s[6:7], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_add_co_u32 v3, vcc_lo, v1, s10
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v2, vcc_lo
	s_clause 0x1
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v4, v3
	global_store_b32 v[1:2], v3, off
.LBB2_5:                                ;   in Loop: Header=BB2_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s8
	s_cmp_gt_u32 s5, 3
	s_mov_b32 s5, s6
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB2_3
.LBB2_6:                                ; %._crit_edge
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB2_8
; %bb.7:
	v_mov_b32_e32 v0, 0
	s_mov_b32 s5, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB2_8:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17reduceInterleavedPiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 5
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end2:
	.size	_Z17reduceInterleavedPiS_j, .Lfunc_end2-_Z17reduceInterleavedPiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 300
; NumSgprs: 18
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16reduceUnrolling2PiS_j ; -- Begin function _Z16reduceUnrolling2PiS_j
	.globl	_Z16reduceUnrolling2PiS_j
	.p2align	8
	.type	_Z16reduceUnrolling2PiS_j,@function
_Z16reduceUnrolling2PiS_j:              ; @_Z16reduceUnrolling2PiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s7, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 1
	v_add_nc_u32_e32 v1, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v3, s5, v1
	v_cmp_gt_u32_e32 vcc_lo, s7, v3
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB3_2
; %bb.1:
	v_mov_b32_e32 v2, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v2
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s0, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v4, vcc_lo
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_u32 v1, vcc_lo, s0, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_clause 0x1
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v4, v3
	global_store_b32 v[1:2], v3, off
.LBB3_2:
	s_or_b32 exec_lo, exec_lo, s7
	s_mov_b32 s7, 0
	s_waitcnt lgkmcnt(0)
	s_waitcnt_vscnt null, 0x0
	s_lshl_b64 s[8:9], s[6:7], 2
	s_barrier
	s_add_u32 s0, s0, s8
	s_addc_u32 s1, s1, s9
	s_cmp_lt_u32 s5, 2
	buffer_gl0_inv
	s_cbranch_scc1 .LBB3_7
; %bb.3:                                ; %.lr.ph
	v_lshlrev_b32_e32 v1, 2, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s6, s0, v1
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
.LBB3_4:                                ; =>This Inner Loop Header: Depth=1
	s_lshr_b32 s6, s5, 1
	s_mov_b32 s8, exec_lo
	v_cmpx_gt_u32_e64 s6, v0
	s_cbranch_execz .LBB3_6
; %bb.5:                                ;   in Loop: Header=BB3_4 Depth=1
	s_lshl_b64 s[10:11], s[6:7], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_add_co_u32 v3, vcc_lo, v1, s10
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v2, vcc_lo
	s_clause 0x1
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v4, v3
	global_store_b32 v[1:2], v3, off
.LBB3_6:                                ;   in Loop: Header=BB3_4 Depth=1
	s_or_b32 exec_lo, exec_lo, s8
	s_cmp_gt_u32 s5, 3
	s_mov_b32 s5, s6
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB3_4
.LBB3_7:                                ; %._crit_edge
	s_mov_b32 s5, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB3_9
; %bb.8:
	v_mov_b32_e32 v0, 0
	s_mov_b32 s5, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB3_9:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16reduceUnrolling2PiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 5
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end3:
	.size	_Z16reduceUnrolling2PiS_j, .Lfunc_end3-_Z16reduceUnrolling2PiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 428
; NumSgprs: 18
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16reduceUnrolling4PiS_j ; -- Begin function _Z16reduceUnrolling4PiS_j
	.globl	_Z16reduceUnrolling4PiS_j
	.p2align	8
	.type	_Z16reduceUnrolling4PiS_j,@function
_Z16reduceUnrolling4PiS_j:              ; @_Z16reduceUnrolling4PiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s7, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 2
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s5, 3, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s7, v1
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB4_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s5, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	s_waitcnt vmcnt(0)
	v_dual_mov_b32 v2, v6 :: v_dual_add_nc_u32 v3, v3, v4
	s_delay_alu instid0(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	global_store_b32 v[9:10], v3, off
	v_add_co_u32 v1, vcc_lo, s0, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB4_2:
	s_or_b32 exec_lo, exec_lo, s7
	s_mov_b32 s7, 0
	s_waitcnt lgkmcnt(0)
	s_waitcnt_vscnt null, 0x0
	s_lshl_b64 s[8:9], s[6:7], 2
	s_barrier
	s_add_u32 s0, s0, s8
	s_addc_u32 s1, s1, s9
	s_cmp_lt_u32 s5, 2
	buffer_gl0_inv
	s_cbranch_scc1 .LBB4_7
; %bb.3:                                ; %.lr.ph
	v_lshlrev_b32_e32 v1, 2, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s6, s0, v1
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
.LBB4_4:                                ; =>This Inner Loop Header: Depth=1
	s_lshr_b32 s6, s5, 1
	s_mov_b32 s8, exec_lo
	v_cmpx_gt_u32_e64 s6, v0
	s_cbranch_execz .LBB4_6
; %bb.5:                                ;   in Loop: Header=BB4_4 Depth=1
	s_lshl_b64 s[10:11], s[6:7], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_add_co_u32 v3, vcc_lo, v1, s10
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v2, vcc_lo
	s_clause 0x1
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v4, v3
	global_store_b32 v[1:2], v3, off
.LBB4_6:                                ;   in Loop: Header=BB4_4 Depth=1
	s_or_b32 exec_lo, exec_lo, s8
	s_cmp_gt_u32 s5, 3
	s_mov_b32 s5, s6
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB4_4
.LBB4_7:                                ; %._crit_edge
	s_mov_b32 s5, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB4_9
; %bb.8:
	v_mov_b32_e32 v0, 0
	s_mov_b32 s5, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB4_9:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16reduceUnrolling4PiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end4:
	.size	_Z16reduceUnrolling4PiS_j, .Lfunc_end4-_Z16reduceUnrolling4PiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 540
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16reduceUnrolling8PiS_j ; -- Begin function _Z16reduceUnrolling8PiS_j
	.globl	_Z16reduceUnrolling8PiS_j
	.p2align	8
	.type	_Z16reduceUnrolling8PiS_j,@function
_Z16reduceUnrolling8PiS_j:              ; @_Z16reduceUnrolling8PiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s7, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s5, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s7, v1
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB5_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s5, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB5_2:
	s_or_b32 exec_lo, exec_lo, s7
	s_mov_b32 s7, 0
	s_waitcnt lgkmcnt(0)
	s_waitcnt_vscnt null, 0x0
	s_lshl_b64 s[8:9], s[6:7], 2
	s_barrier
	s_add_u32 s0, s0, s8
	s_addc_u32 s1, s1, s9
	s_cmp_lt_u32 s5, 2
	buffer_gl0_inv
	s_cbranch_scc1 .LBB5_7
; %bb.3:                                ; %.lr.ph
	v_lshlrev_b32_e32 v1, 2, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s6, s0, v1
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
.LBB5_4:                                ; =>This Inner Loop Header: Depth=1
	s_lshr_b32 s6, s5, 1
	s_mov_b32 s8, exec_lo
	v_cmpx_gt_u32_e64 s6, v0
	s_cbranch_execz .LBB5_6
; %bb.5:                                ;   in Loop: Header=BB5_4 Depth=1
	s_lshl_b64 s[10:11], s[6:7], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_add_co_u32 v3, vcc_lo, v1, s10
	v_add_co_ci_u32_e32 v4, vcc_lo, s11, v2, vcc_lo
	s_clause 0x1
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v4, v3
	global_store_b32 v[1:2], v3, off
.LBB5_6:                                ;   in Loop: Header=BB5_4 Depth=1
	s_or_b32 exec_lo, exec_lo, s8
	s_cmp_gt_u32 s5, 3
	s_mov_b32 s5, s6
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB5_4
.LBB5_7:                                ; %._crit_edge
	s_mov_b32 s5, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB5_9
; %bb.8:
	v_mov_b32_e32 v0, 0
	s_mov_b32 s5, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB5_9:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16reduceUnrolling8PiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end5:
	.size	_Z16reduceUnrolling8PiS_j, .Lfunc_end5-_Z16reduceUnrolling8PiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 752
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z21reduceUnrollingWarps8PiS_j ; -- Begin function _Z21reduceUnrollingWarps8PiS_j
	.globl	_Z21reduceUnrollingWarps8PiS_j
	.p2align	8
	.type	_Z21reduceUnrollingWarps8PiS_j,@function
_Z21reduceUnrollingWarps8PiS_j:         ; @_Z21reduceUnrollingWarps8PiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s7, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s5, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s7, v1
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB6_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s5, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB6_2:
	s_or_b32 exec_lo, exec_lo, s7
	s_mov_b32 s7, 0
	v_lshlrev_b32_e32 v3, 2, v0
	s_lshl_b64 s[8:9], s[6:7], 2
	s_waitcnt lgkmcnt(0)
	s_waitcnt_vscnt null, 0x0
	s_add_u32 s0, s0, s8
	s_addc_u32 s1, s1, s9
	s_cmpk_lt_u32 s5, 0x42
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB6_7
; %bb.3:                                ; %.lr.ph
	v_add_co_u32 v1, s6, s0, v3
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
.LBB6_4:                                ; =>This Inner Loop Header: Depth=1
	s_lshr_b32 s6, s5, 1
	s_mov_b32 s8, exec_lo
	v_cmpx_gt_u32_e64 s6, v0
	s_cbranch_execz .LBB6_6
; %bb.5:                                ;   in Loop: Header=BB6_4 Depth=1
	s_lshl_b64 s[10:11], s[6:7], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_add_co_u32 v4, vcc_lo, v1, s10
	v_add_co_ci_u32_e32 v5, vcc_lo, s11, v2, vcc_lo
	s_clause 0x1
	global_load_b32 v4, v[4:5], off
	global_load_b32 v5, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v5, v4
	global_store_b32 v[1:2], v4, off
.LBB6_6:                                ;   in Loop: Header=BB6_4 Depth=1
	s_or_b32 exec_lo, exec_lo, s8
	s_cmpk_gt_u32 s5, 0x83
	s_mov_b32 s5, s6
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB6_4
.LBB6_7:                                ; %._crit_edge
	s_mov_b32 s5, exec_lo
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB6_9
; %bb.8:
	v_or_b32_e32 v1, 0x80, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s6, s0, v1
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
	v_add_co_u32 v3, s6, s0, v3
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, null, s1, 0, s6
	flat_load_b32 v1, v[1:2] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:64 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:32 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:16 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:8 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:4 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
.LBB6_9:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s5, 0
	s_mov_b32 s6, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB6_11
; %bb.10:
	v_mov_b32_e32 v0, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB6_11:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z21reduceUnrollingWarps8PiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end6:
	.size	_Z21reduceUnrollingWarps8PiS_j, .Lfunc_end6-_Z21reduceUnrollingWarps8PiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1048
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z29reduceCompleteUnrollingWarps8PiS_j ; -- Begin function _Z29reduceCompleteUnrollingWarps8PiS_j
	.globl	_Z29reduceCompleteUnrollingWarps8PiS_j
	.p2align	8
	.type	_Z29reduceCompleteUnrollingWarps8PiS_j,@function
_Z29reduceCompleteUnrollingWarps8PiS_j: ; @_Z29reduceCompleteUnrollingWarps8PiS_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s7, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s5, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s5
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s5, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s7, v1
	s_and_saveexec_b32 s7, vcc_lo
	s_cbranch_execz .LBB7_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s5, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s5, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB7_2:
	s_or_b32 exec_lo, exec_lo, s7
	s_mov_b32 s7, 0
	v_cmp_gt_u32_e32 vcc_lo, 0x200, v0
	s_lshl_b64 s[6:7], s[6:7], 2
	v_lshlrev_b32_e32 v1, 2, v0
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_cmpk_gt_u32 s5, 0x3ff
	s_waitcnt_vscnt null, 0x0
	s_cselect_b32 s6, -1, 0
	s_barrier
	s_and_b32 s7, vcc_lo, s6
	buffer_gl0_inv
	s_and_saveexec_b32 s6, s7
	s_cbranch_execz .LBB7_4
; %bb.3:
	s_clause 0x1
	global_load_b32 v2, v1, s[0:1] offset:2048
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB7_4:
	s_or_b32 exec_lo, exec_lo, s6
	v_cmp_gt_u32_e32 vcc_lo, 0x100, v0
	s_cmpk_gt_u32 s5, 0x1ff
	s_waitcnt_vscnt null, 0x0
	s_cselect_b32 s6, -1, 0
	s_barrier
	s_and_b32 s7, vcc_lo, s6
	buffer_gl0_inv
	s_and_saveexec_b32 s6, s7
	s_cbranch_execz .LBB7_6
; %bb.5:
	s_clause 0x1
	global_load_b32 v2, v1, s[0:1] offset:1024
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB7_6:
	s_or_b32 exec_lo, exec_lo, s6
	v_cmp_gt_u32_e32 vcc_lo, 0x80, v0
	s_cmpk_gt_u32 s5, 0xff
	s_waitcnt_vscnt null, 0x0
	s_cselect_b32 s6, -1, 0
	s_barrier
	s_and_b32 s7, vcc_lo, s6
	buffer_gl0_inv
	s_and_saveexec_b32 s6, s7
	s_cbranch_execz .LBB7_8
; %bb.7:
	s_clause 0x1
	global_load_b32 v2, v1, s[0:1] offset:512
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB7_8:
	s_or_b32 exec_lo, exec_lo, s6
	v_cmp_gt_u32_e32 vcc_lo, 64, v0
	s_cmpk_gt_u32 s5, 0x7f
	s_waitcnt_vscnt null, 0x0
	s_cselect_b32 s5, -1, 0
	s_barrier
	s_and_b32 s6, vcc_lo, s5
	buffer_gl0_inv
	s_and_saveexec_b32 s5, s6
	s_cbranch_execz .LBB7_10
; %bb.9:
	s_clause 0x1
	global_load_b32 v2, v1, s[0:1] offset:256
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB7_10:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB7_12
; %bb.11:
	v_or_b32_e32 v2, 0x80, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s6, s0, v2
	v_add_co_ci_u32_e64 v3, null, s1, 0, s6
	v_add_co_u32 v4, s6, s0, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v5, null, s1, 0, s6
	flat_load_b32 v1, v[2:3] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:64 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:32 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:16 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:8 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:4 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
.LBB7_12:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s5, 0
	s_mov_b32 s6, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB7_14
; %bb.13:
	v_mov_b32_e32 v0, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB7_14:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z29reduceCompleteUnrollingWarps8PiS_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end7:
	.size	_Z29reduceCompleteUnrollingWarps8PiS_j, .Lfunc_end7-_Z29reduceCompleteUnrollingWarps8PiS_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1248
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,comdat
	.protected	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j ; -- Begin function _Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.globl	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
	.p2align	8
	.type	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,@function
_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j: ; @_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s5, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s7, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s7
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s7, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s5, v1
	s_and_saveexec_b32 s5, vcc_lo
	s_cbranch_execz .LBB8_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB8_2:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s7, 0
	v_lshlrev_b32_e32 v1, 2, v0
	s_lshl_b64 s[6:7], s[6:7], 2
	s_mov_b32 s5, exec_lo
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 0x200, v0
	s_cbranch_execz .LBB8_4
; %bb.3:
	v_or_b32_e32 v2, 0x800, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB8_4:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 0x100, v0
	s_cbranch_execz .LBB8_6
; %bb.5:
	v_or_b32_e32 v2, 0x400, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB8_6:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 0x80, v0
	s_cbranch_execz .LBB8_8
; %bb.7:
	v_or_b32_e32 v2, 0x200, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB8_8:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 64, v0
	s_cbranch_execz .LBB8_10
; %bb.9:
	v_or_b32_e32 v2, 0x100, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB8_10:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB8_12
; %bb.11:
	v_or_b32_e32 v2, 0x80, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s6, s0, v2
	v_add_co_ci_u32_e64 v3, null, s1, 0, s6
	v_add_co_u32 v4, s6, s0, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v5, null, s1, 0, s6
	flat_load_b32 v1, v[2:3] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:64 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:32 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:16 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:8 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:4 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
.LBB8_12:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s5, 0
	s_mov_b32 s6, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB8_14
; %bb.13:
	v_mov_b32_e32 v0, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB8_14:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.section	.text._Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j,comdat
.Lfunc_end8:
	.size	_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j, .Lfunc_end8-_Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1244
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j,comdat
	.protected	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j ; -- Begin function _Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.globl	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
	.p2align	8
	.type	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j,@function
_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j: ; @_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s5, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s7, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s7
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s7, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s5, v1
	s_and_saveexec_b32 s5, vcc_lo
	s_cbranch_execz .LBB9_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB9_2:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s7, 0
	v_lshlrev_b32_e32 v1, 2, v0
	s_lshl_b64 s[6:7], s[6:7], 2
	s_mov_b32 s5, exec_lo
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 0x100, v0
	s_cbranch_execz .LBB9_4
; %bb.3:
	v_or_b32_e32 v2, 0x400, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB9_4:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 0x80, v0
	s_cbranch_execz .LBB9_6
; %bb.5:
	v_or_b32_e32 v2, 0x200, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB9_6:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 64, v0
	s_cbranch_execz .LBB9_8
; %bb.7:
	v_or_b32_e32 v2, 0x100, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB9_8:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB9_10
; %bb.9:
	v_or_b32_e32 v2, 0x80, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s6, s0, v2
	v_add_co_ci_u32_e64 v3, null, s1, 0, s6
	v_add_co_u32 v4, s6, s0, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v5, null, s1, 0, s6
	flat_load_b32 v1, v[2:3] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:64 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:32 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:16 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:8 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:4 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
.LBB9_10:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s5, 0
	s_mov_b32 s6, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB9_12
; %bb.11:
	v_mov_b32_e32 v0, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB9_12:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.section	.text._Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j,comdat
.Lfunc_end9:
	.size	_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j, .Lfunc_end9-_Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1172
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j,comdat
	.protected	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j ; -- Begin function _Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.globl	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
	.p2align	8
	.type	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j,@function
_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j: ; @_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s5, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s7, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s7
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s7, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s5, v1
	s_and_saveexec_b32 s5, vcc_lo
	s_cbranch_execz .LBB10_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB10_2:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s7, 0
	v_lshlrev_b32_e32 v1, 2, v0
	s_lshl_b64 s[6:7], s[6:7], 2
	s_mov_b32 s5, exec_lo
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 0x80, v0
	s_cbranch_execz .LBB10_4
; %bb.3:
	v_or_b32_e32 v2, 0x200, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB10_4:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 64, v0
	s_cbranch_execz .LBB10_6
; %bb.5:
	v_or_b32_e32 v2, 0x100, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB10_6:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB10_8
; %bb.7:
	v_or_b32_e32 v2, 0x80, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s6, s0, v2
	v_add_co_ci_u32_e64 v3, null, s1, 0, s6
	v_add_co_u32 v4, s6, s0, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v5, null, s1, 0, s6
	flat_load_b32 v1, v[2:3] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:64 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:32 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:16 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:8 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:4 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
.LBB10_8:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s5, 0
	s_mov_b32 s6, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB10_10
; %bb.9:
	v_mov_b32_e32 v0, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB10_10:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.section	.text._Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j,comdat
.Lfunc_end10:
	.size	_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j, .Lfunc_end10-_Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1100
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j,comdat
	.protected	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j ; -- Begin function _Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.globl	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
	.p2align	8
	.type	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j,@function
_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j: ; @_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s5, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s7, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s7
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s7, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s5, v1
	s_and_saveexec_b32 s5, vcc_lo
	s_cbranch_execz .LBB11_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB11_2:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s7, 0
	v_lshlrev_b32_e32 v1, 2, v0
	s_lshl_b64 s[6:7], s[6:7], 2
	s_mov_b32 s5, exec_lo
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 64, v0
	s_cbranch_execz .LBB11_4
; %bb.3:
	v_or_b32_e32 v2, 0x100, v1
	s_clause 0x1
	global_load_b32 v2, v2, s[0:1]
	global_load_b32 v3, v1, s[0:1]
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v3, v2
	global_store_b32 v1, v2, s[0:1]
.LBB11_4:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB11_6
; %bb.5:
	v_or_b32_e32 v2, 0x80, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s6, s0, v2
	v_add_co_ci_u32_e64 v3, null, s1, 0, s6
	v_add_co_u32 v4, s6, s0, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v5, null, s1, 0, s6
	flat_load_b32 v1, v[2:3] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:64 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:32 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:16 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:8 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[4:5] offset:4 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[4:5], v1 dlc
	s_waitcnt_vscnt null, 0x0
.LBB11_6:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s5, 0
	s_mov_b32 s6, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB11_8
; %bb.7:
	v_mov_b32_e32 v0, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB11_8:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.section	.text._Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j,comdat
.Lfunc_end11:
	.size	_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j, .Lfunc_end11-_Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1028
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.section	.text._Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j,comdat
	.protected	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j ; -- Begin function _Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.globl	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
	.p2align	8
	.type	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j,@function
_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j: ; @_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s5, s[0:1], 0x10
	s_mov_b32 s4, s15
	s_waitcnt lgkmcnt(0)
	s_and_b32 s7, s2, 0xffff
	s_load_b128 s[0:3], s[0:1], 0x0
	s_mul_i32 s6, s15, s7
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b32 s6, s6, 3
	v_add_nc_u32_e32 v3, s6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s7, 7, v[3:4]
	v_cmp_gt_u32_e32 vcc_lo, s5, v1
	s_and_saveexec_b32 s5, vcc_lo
	s_cbranch_execz .LBB12_2
; %bb.1:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, s7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v4, v6
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s0, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v8, vcc_lo, s1, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v3, vcc_lo
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_clause 0x1
	global_load_b32 v4, v[7:8], off
	global_load_b32 v7, v[9:10], off
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	v_add_nc_u32_e32 v5, s7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v7, v[2:3], off
	v_lshlrev_b64 v[2:3], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v4, v7, v4
	global_store_b32 v[9:10], v4, off
	global_load_b32 v3, v[2:3], off
	v_mov_b32_e32 v2, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v3, v3, v4
	global_store_b32 v[9:10], v3, off
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, v1, v3
	global_store_b32 v[9:10], v1, off
.LBB12_2:
	s_or_b32 exec_lo, exec_lo, s5
	s_mov_b32 s7, 0
	s_mov_b32 s5, exec_lo
	s_lshl_b64 s[6:7], s[6:7], 2
	s_waitcnt lgkmcnt(0)
	s_waitcnt_vscnt null, 0x0
	s_add_u32 s0, s0, s6
	s_addc_u32 s1, s1, s7
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	s_barrier
	buffer_gl0_inv
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB12_4
; %bb.3:
	v_lshlrev_b32_e32 v3, 2, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_or_b32_e32 v1, 0x80, v3
	v_add_co_u32 v1, s6, s0, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v2, null, s1, 0, s6
	v_add_co_u32 v3, s6, s0, v3
	v_add_co_ci_u32_e64 v4, null, s1, 0, s6
	flat_load_b32 v1, v[1:2] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:64 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:32 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:16 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:8 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
	flat_load_b32 v1, v[3:4] offset:4 glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v2, v[3:4] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_add_nc_u32_e32 v1, v2, v1
	flat_store_b32 v[3:4], v1 dlc
	s_waitcnt_vscnt null, 0x0
.LBB12_4:
	s_or_b32 exec_lo, exec_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s5, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB12_6
; %bb.5:
	v_mov_b32_e32 v0, 0
	s_mov_b32 s5, 0
	global_load_b32 v1, v0, s[0:1]
	s_lshl_b64 s[0:1], s[4:5], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB12_6:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 11
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.section	.text._Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j,"axG",@progbits,_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j,comdat
.Lfunc_end12:
	.size	_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j, .Lfunc_end12-_Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 964
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16reduceNeighboredPiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16reduceNeighboredPiS_j.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z20reduceNeighboredLessPiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z20reduceNeighboredLessPiS_j.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     7
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z17reduceInterleavedPiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z17reduceInterleavedPiS_j.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16reduceUnrolling2PiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16reduceUnrolling2PiS_j.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16reduceUnrolling4PiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16reduceUnrolling4PiS_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16reduceUnrolling8PiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16reduceUnrolling8PiS_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z21reduceUnrollingWarps8PiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z21reduceUnrollingWarps8PiS_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z29reduceCompleteUnrollingWarps8PiS_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z29reduceCompleteUnrollingWarps8PiS_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z28reduceCompleteUnrollingWarpsILj1024EEvPiS0_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z28reduceCompleteUnrollingWarpsILj512EEvPiS0_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z28reduceCompleteUnrollingWarpsILj256EEvPiS0_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z28reduceCompleteUnrollingWarpsILj128EEvPiS0_j.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:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z28reduceCompleteUnrollingWarpsILj64EEvPiS0_j.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
