#include <algorithm>
#include <cassert>
#include <chrono>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>

struct TItem {
    int price;
    int weight;
    ssize_t index;
    bool operator<(const TItem& other) const {
        return (double)price / weight > (double)other.price / other.weight;
    }
};

const ssize_t BLOCK_SIZE = 32;

const ssize_t THREADS_PER_BLOCK = 512;

void CopyRecordSet(uint32_t* recordSet, const uint32_t* set, const uint32_t* lowerBoundAdditionalSet, ssize_t blockCount) {
    memcpy(recordSet, set, blockCount * sizeof(*set));
    for (ssize_t i = 0; i < blockCount; ++i) {
        recordSet[i] |= lowerBoundAdditionalSet[i];
    }
}

void BranchCPU(ssize_t e, const ssize_t* ind,
                const int* weightNode, const int* priceNode, const ssize_t* step, const ssize_t* last, const uint32_t* set,
                int* newWeightNode, int* newPriceNode, ssize_t* newStep, ssize_t* newLast, uint32_t* newSet,
                ssize_t stepCount, ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price) {
    ssize_t step_e = step[e], last_e = last[e], k = 0;
    ssize_t mayBeStepCount = last_e - step_e + 1;
    ssize_t realStepCount = mayBeStepCount < stepCount ? mayBeStepCount : stepCount;
    for (; k < realStepCount; ++k) {
        memcpy(newSet + (ind[e] + k) * blockCount, set + e * blockCount, blockCount * sizeof(*set));
        ssize_t newStepInd = step_e + k + 1;
        if (newStepInd - 1 == last_e) {
            newWeightNode[ind[e] + k] = weightNode[e];
            newPriceNode[ind[e] + k] = priceNode[e];
            for (; newStepInd < n && weightNode[e] + weight[newStepInd] > W; ++newStepInd);
            newStep[ind[e] + k] = newStepInd;
            newLast[ind[e] + k] = newStepInd;
            break;    
        } else {
            if (k == stepCount - 1) {
                newWeightNode[ind[e] + k] = weightNode[e];
                newPriceNode[ind[e] + k] = priceNode[e];
                newStep[ind[e] + k] = newStepInd - 1;
                newLast[ind[e] + k] = last_e;
            } else {
                newWeightNode[ind[e] + k] = weightNode[e] - weight[newStepInd - 1];
                newPriceNode[ind[e] + k] = priceNode[e] - price[newStepInd - 1];
                newStep[ind[e] + k] = newStepInd;
                newLast[ind[e] + k] = last_e;
                newSet[(ind[e] + k) * blockCount + (newStepInd - 1) / BLOCK_SIZE] ^= (((uint32_t)1) << ((uint32_t)((newStepInd - 1) % BLOCK_SIZE)));                
            }
        }
    }
}

void BoundCPU(ssize_t e, int* weightNode, int* priceNode, ssize_t* last, uint32_t* set, int* lowerBound, int* upperBound, uint32_t* lowerBoundAdditionalSet,
        ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price) {
    ssize_t i = last[e];
    int w_e = weightNode[e], p_e = priceNode[e], weight_i = 0, price_i = 0;
    for (; ; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (i < n && w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            set[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        } else {
            break;
        }
    }
    upperBound[e] = p_e + (weight_i ? (W - w_e) * price_i / weight_i : 0);
    weightNode[e] = w_e;
    priceNode[e] = p_e;
    last[e] = i;

    for (; i < n; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            lowerBoundAdditionalSet[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        }
    }
    lowerBound[e] = p_e;    
}

__global__ void BranchGPU(const ssize_t* ind,
                const int* weightNode, const int* priceNode, const ssize_t* step, const ssize_t* last, const uint32_t* set,
                int* newWeightNode, int* newPriceNode, ssize_t* newStep, ssize_t* newLast, uint32_t* newSet,
                ssize_t stepCount, ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price,
                ssize_t q) {
    ssize_t e = blockIdx.x * blockDim.x + threadIdx.x;
    if (e >= q) {
        return;
    }

    ssize_t step_e = step[e], last_e = last[e], k = 0;
    ssize_t mayBeStepCount = last_e - step_e + 1;
    ssize_t realStepCount = mayBeStepCount < stepCount ? mayBeStepCount : stepCount;
    for (; k < realStepCount; ++k) {
        memcpy(newSet + (ind[e] + k) * blockCount, set + e * blockCount, blockCount * sizeof(*set));
        ssize_t newStepInd = step_e + k + 1;
        if (newStepInd - 1 == last_e) {
            newWeightNode[ind[e] + k] = weightNode[e];
            newPriceNode[ind[e] + k] = priceNode[e];
            for (; newStepInd < n && weightNode[e] + weight[newStepInd] > W; ++newStepInd);
            newStep[ind[e] + k] = newStepInd;
            newLast[ind[e] + k] = newStepInd;
            break;    
        } else {
            if (k == stepCount - 1) {
                newWeightNode[ind[e] + k] = weightNode[e];
                newPriceNode[ind[e] + k] = priceNode[e];
                newStep[ind[e] + k] = newStepInd - 1;
                newLast[ind[e] + k] = last_e;
            } else {
                newWeightNode[ind[e] + k] = weightNode[e] - weight[newStepInd - 1];
                newPriceNode[ind[e] + k] = priceNode[e] - price[newStepInd - 1];
                newStep[ind[e] + k] = newStepInd;
                newLast[ind[e] + k] = last_e;
                newSet[(ind[e] + k) * blockCount + (newStepInd - 1) / BLOCK_SIZE] ^= (((uint32_t)1) << ((uint32_t)((newStepInd - 1) % BLOCK_SIZE)));                
            }
        }
    }
}

__global__ void BoundGPU(int* weightNode, int* priceNode, ssize_t* last, uint32_t* set,
                        int* lowerBound, int* upperBound, uint32_t* lowerBoundAdditionalSet,
                        ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price,
                        ssize_t q) {
    ssize_t e = blockIdx.x * blockDim.x + threadIdx.x;
    if (e >= q) {
        return;
    }

    ssize_t i = last[e];
    int w_e = weightNode[e], p_e = priceNode[e], weight_i = 0, price_i = 0;
    for (; ; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (i < n && w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            set[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        } else {
            break;
        }
    }
    upperBound[e] = p_e + (weight_i ? (W - w_e) * price_i / weight_i : 0);
    weightNode[e] = w_e;
    priceNode[e] = p_e;
    last[e] = i;

    for (; i < n; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            lowerBoundAdditionalSet[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        }
    }
    lowerBound[e] = p_e;    
}

int main(int argc, char* argv[]) {
    std::chrono::high_resolution_clock::time_point totalStart = std::chrono::high_resolution_clock::now();
 
    if (argc != 3 && argc != 4) {
        std::cerr << "Usage: " << argv[0] << " input_file output_file" << std::endl;
        std::cerr << "Or: " << argv[0] << " input_file output_file count_of_steps_in_branching" << std::endl;
        return 0;
    }

    ssize_t stepCount = 2;
    if (argc == 4) {
        stepCount = (ssize_t)atoi(argv[3]);
        if (stepCount < 2 || stepCount > 10) {
            std::cerr << "count_of_steps_in_branching must be in [2, 10]" << std::endl;
            return 0;
        }
    }

    std::ifstream fin(argv[1]);
    std::ofstream fout(argv[2]);

    int W;
    ssize_t n;
    fin >> n >> W;
    std::vector<TItem> items(n);
    for (ssize_t i = 0; i < n; ++i) {
        fin >> items[i].price >> items[i].weight;
        items[i].index = i + 1;
    }
    std::sort(items.begin(), items.end());

    int* weight = (int*)malloc((n + 1) * sizeof(*weight));
    int* price = (int*)malloc((n + 1) * sizeof(*price));
    for (ssize_t i = 0; i < n; ++i) {
        weight[i] = items[i].weight;
        price[i] = items[i].price;
    }
    weight[n] = price[n] = 0;
    int *cudaWeight = nullptr, *cudaPrice = nullptr;

    const ssize_t blockCount = (n + BLOCK_SIZE - 1) / BLOCK_SIZE;
    ssize_t q = 1;
    
    int* weightNode = (int*)calloc(q, sizeof(*weightNode));
    int* priceNode = (int*)calloc(q, sizeof(*priceNode));
    ssize_t* step = (ssize_t*)calloc(q, sizeof(*step));    
    ssize_t* last = (ssize_t*)calloc(q, sizeof(*last));
    uint32_t* set = (uint32_t*)calloc(q * blockCount, sizeof(*set));
    int* lowerBound = (int*)calloc(q, sizeof(*lowerBound));
    int* upperBound = (int*)calloc(q, sizeof(*upperBound));
    uint32_t* lowerBoundAdditionalSet = (uint32_t*)calloc(q * blockCount, sizeof(*lowerBoundAdditionalSet));
    
    BoundCPU(0, weightNode, priceNode, last, set, lowerBound, upperBound, lowerBoundAdditionalSet, blockCount, n, W, weight, price);

    int record = lowerBound[0];
    uint32_t* recordSet = (uint32_t*)calloc(blockCount, sizeof(*recordSet));
    CopyRecordSet(recordSet, set, lowerBoundAdditionalSet, blockCount);
 
    free(lowerBound);
    free(upperBound);
    free(lowerBoundAdditionalSet);

    ssize_t stepNum = 0;
    while (q > 0) {
        std::cout << "Step " << stepNum + 1 << ", q = " << q << std::endl;
        ++stepNum;
        
        ssize_t* ind = (ssize_t*)malloc((q + 1) * sizeof(*ind));
        ind[0] = 0;
        for (ssize_t e = 1; e <= q; ++e) {
            ind[e] = ind[e - 1] + std::min(last[e - 1] - step[e - 1] + 1, stepCount);
        }

        if (q > 1000000) {
            if (cudaWeight == nullptr) {
                cudaMalloc(&cudaWeight, (n + 1) * sizeof(*cudaWeight));
                cudaMalloc(&cudaPrice, (n + 1) * sizeof(*cudaPrice));
                cudaMemcpy(cudaWeight, weight, (n + 1) * sizeof(*cudaWeight), cudaMemcpyHostToDevice);
                cudaMemcpy(cudaPrice, price, (n + 1) * sizeof(*cudaPrice), cudaMemcpyHostToDevice);
            }
        
            int *cudaWeightNode, *cudaNewWeightNode;
            int *cudaPriceNode, *cudaNewPriceNode;
            ssize_t *cudaStep, *cudaNewStep;            
            ssize_t *cudaLast, *cudaNewLast;
            uint32_t *cudaSet, *cudaNewSet;
            ssize_t *cudaInd;

            cudaMalloc(&cudaWeightNode, q * sizeof(*cudaWeightNode));
            cudaMalloc(&cudaPriceNode, q * sizeof(*cudaPriceNode));
            cudaMalloc(&cudaStep, q * sizeof(*cudaStep));            
            cudaMalloc(&cudaLast, q * sizeof(*cudaLast));
            cudaMalloc(&cudaSet, q * blockCount * sizeof(*cudaSet));
            cudaMalloc(&cudaInd, (q + 1) * sizeof(*cudaInd));

            cudaMemcpy(cudaWeightNode, weightNode, q * sizeof(*cudaWeightNode),cudaMemcpyHostToDevice);
            cudaMemcpy(cudaPriceNode, priceNode, q * sizeof(*cudaPriceNode), cudaMemcpyHostToDevice);
            cudaMemcpy(cudaStep, step, q * sizeof(*cudaStep), cudaMemcpyHostToDevice);
            cudaMemcpy(cudaLast, last, q * sizeof(*cudaLast), cudaMemcpyHostToDevice);
            cudaMemcpy(cudaSet, set, q * blockCount * sizeof(*cudaSet), cudaMemcpyHostToDevice);
            cudaMemcpy(cudaInd, ind, (q + 1) * sizeof(*cudaInd), cudaMemcpyHostToDevice);

            cudaMalloc(&cudaNewWeightNode, ind[q] * sizeof(*cudaNewWeightNode));
            cudaMalloc(&cudaNewPriceNode, ind[q] * sizeof(*cudaNewPriceNode));
            cudaMalloc(&cudaNewStep, ind[q] * sizeof(*cudaNewStep));            
            cudaMalloc(&cudaNewLast, ind[q] * sizeof(*cudaNewLast));
            cudaMalloc(&cudaNewSet, ind[q] * blockCount * sizeof(*cudaNewSet));

            ssize_t qBlock = (q + THREADS_PER_BLOCK - 1) / THREADS_PER_BLOCK;
            BranchGPU<<<qBlock, THREADS_PER_BLOCK>>>(cudaInd,
                cudaWeightNode, cudaPriceNode, cudaStep, cudaLast, cudaSet,
                cudaNewWeightNode, cudaNewPriceNode, cudaNewStep, cudaNewLast, cudaNewSet,
                stepCount, blockCount, n, W, cudaWeight, cudaPrice, q);

            cudaDeviceSynchronize();

            q = ind[q];
            free(ind);
        
            cudaFree(cudaWeightNode);
            cudaFree(cudaPriceNode);
            cudaFree(cudaStep);            
            cudaFree(cudaLast);
            cudaFree(cudaSet);            
            cudaFree(cudaInd);

            lowerBoundAdditionalSet = (uint32_t*)calloc(q * blockCount, sizeof(*lowerBoundAdditionalSet));
            
            int* cudaLowerBound;
            int* cudaUpperBound;
            uint32_t* cudaLowerBoundAdditionalSet;
            cudaMalloc(&cudaLowerBound, q * sizeof(*cudaLowerBound));
            cudaMalloc(&cudaUpperBound, q * sizeof(*cudaUpperBound));
            cudaMalloc(&cudaLowerBoundAdditionalSet, q * blockCount * sizeof(*cudaLowerBoundAdditionalSet));
            cudaMemcpy(cudaLowerBoundAdditionalSet, lowerBoundAdditionalSet,
                        q * blockCount * sizeof(*cudaLowerBoundAdditionalSet),
                        cudaMemcpyHostToDevice);

            qBlock = (q + THREADS_PER_BLOCK - 1) / THREADS_PER_BLOCK;
            BoundGPU<<<qBlock, THREADS_PER_BLOCK>>>(cudaNewWeightNode, cudaNewPriceNode, cudaNewLast, cudaNewSet,
                cudaLowerBound, cudaUpperBound, cudaLowerBoundAdditionalSet, blockCount, n, W, cudaWeight, cudaPrice, q);
            
            cudaDeviceSynchronize();

            weightNode = (int*)realloc(weightNode, q * sizeof(*weightNode));
            priceNode = (int*)realloc(priceNode, q * sizeof(*priceNode));
            step = (ssize_t*)realloc(step, q * sizeof(*step));            
            last = (ssize_t*)realloc(last, q * sizeof(*last));
            set = (uint32_t*)realloc(set, q * blockCount * sizeof(*set));
            lowerBound = (int*)malloc(q * sizeof(*lowerBound));
            upperBound = (int*)malloc(q * sizeof(*upperBound));
            
            cudaMemcpy(weightNode, cudaNewWeightNode, q * sizeof(*weightNode), cudaMemcpyDeviceToHost);
            cudaMemcpy(priceNode, cudaNewPriceNode, q * sizeof(*priceNode), cudaMemcpyDeviceToHost);
            cudaMemcpy(step, cudaNewStep, q * sizeof(*step), cudaMemcpyDeviceToHost);            
            cudaMemcpy(last, cudaNewLast, q * sizeof(*last), cudaMemcpyDeviceToHost);
            cudaMemcpy(set, cudaNewSet, q * blockCount * sizeof(*set), cudaMemcpyDeviceToHost);
            cudaMemcpy(lowerBound, cudaLowerBound, q * sizeof(*lowerBound), cudaMemcpyDeviceToHost);
            cudaMemcpy(upperBound, cudaUpperBound, q * sizeof(*upperBound), cudaMemcpyDeviceToHost);    
            cudaMemcpy(lowerBoundAdditionalSet, cudaLowerBoundAdditionalSet,
                        q * blockCount * sizeof(*lowerBoundAdditionalSet),
                        cudaMemcpyDeviceToHost);        

            cudaFree(cudaNewWeightNode);
            cudaFree(cudaNewPriceNode);
            cudaFree(cudaNewStep);
            cudaFree(cudaNewLast);
            cudaFree(cudaNewSet);
            cudaFree(cudaLowerBound);
            cudaFree(cudaUpperBound);
            cudaFree(cudaLowerBoundAdditionalSet);
            
            for (ssize_t e = 0; e < q; ++e) {
                if (lowerBound[e] > record) {
                    record = lowerBound[e];
                    CopyRecordSet(recordSet, set + e * blockCount, lowerBoundAdditionalSet + e * blockCount, blockCount);
                }
            }
            
        } else {
        
            int* newWeightNode = (int*)calloc(ind[q], sizeof(*newWeightNode));
            int* newPriceNode = (int*)calloc(ind[q], sizeof(*newPriceNode));
            ssize_t* newStep = (ssize_t*)calloc(ind[q], sizeof(*newStep));            
            ssize_t* newLast = (ssize_t*)calloc(ind[q], sizeof(*newLast));
            uint32_t* newSet = (uint32_t*)calloc(ind[q] * blockCount, sizeof(*newSet));
            
            for (ssize_t e = 0; e < q; ++e) {
                BranchCPU(e, ind, weightNode, priceNode, step, last, set,
                            newWeightNode, newPriceNode, newStep, newLast, newSet,
                            stepCount, blockCount, n, W, weight, price);                
            }
            q = ind[q];
            free(ind);

            weightNode = (int*)realloc(weightNode, q * sizeof(*weightNode));
            priceNode = (int*)realloc(priceNode, q * sizeof(*priceNode));
            step = (ssize_t*)realloc(step, q * sizeof(*step));            
            last = (ssize_t*)realloc(last, q * sizeof(*last));
            set = (uint32_t*)realloc(set, q * blockCount * sizeof(*set));
            
            memcpy(weightNode, newWeightNode, q * sizeof(*weightNode));
            memcpy(priceNode, newPriceNode, q * sizeof(*priceNode));
            memcpy(step, newStep, q * sizeof(*step));            
            memcpy(last, newLast, q * sizeof(*last));
            memcpy(set, newSet, q * blockCount * sizeof(*set));
            
            free(newWeightNode);
            free(newPriceNode);
            free(newStep);            
            free(newLast);
            free(newSet);
            
            lowerBound = (int*)calloc(q, sizeof(*lowerBound));
            upperBound = (int*)calloc(q, sizeof(*upperBound));	
            lowerBoundAdditionalSet = (uint32_t*)calloc(q * blockCount, sizeof(*lowerBoundAdditionalSet));
        
            for (ssize_t e = 0; e < q; ++e) {
                BoundCPU(e, weightNode, priceNode, last, set, lowerBound, upperBound, lowerBoundAdditionalSet, blockCount, n, W, weight, price);
                if (lowerBound[e] > record) {
                    record = lowerBound[e];
                    CopyRecordSet(recordSet, set + e * blockCount, lowerBoundAdditionalSet + e * blockCount, blockCount);
                }
            }
        }

        ssize_t i = 0, j = q - 1;
        while (true) {
            while (i < q && upperBound[i] > record) {
                ++i;
            }
            while (j >= 0 && upperBound[j] <= record) {
                --j;
            }
            if (i >= j) {
                q = i;
                break;
            }
            weightNode[i] = weightNode[j];
            priceNode[i] = priceNode[j];
            step[i] = step[j];            
            last[i] = last[j];
            memcpy(set + i * blockCount, set + j * blockCount, blockCount * sizeof(*set));
            std::swap(upperBound[i], upperBound[j]);
        }
        
        weightNode = (int*)realloc(weightNode, q * sizeof(*weightNode));
        priceNode = (int*)realloc(priceNode, q * sizeof(*priceNode));
        step = (ssize_t*)realloc(step, q * sizeof(*step));        
        last = (ssize_t*)realloc(last, q * sizeof(*last));
        set = (uint32_t*)realloc(set, q * blockCount * sizeof(*set));

        free(lowerBound);
        free(upperBound);
        free(lowerBoundAdditionalSet);
    }

    fout << record << std::endl;
    std::vector<ssize_t> recordInd;
    for (ssize_t i = 0; i < n; ++i) {
        if (recordSet[i / BLOCK_SIZE] & (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)))) {
            recordInd.push_back(items[i].index);
        }
    }
    std::sort(recordInd.begin(), recordInd.end());
    for (auto ind : recordInd) {
        fout << ind << " ";
    }
    fout << std::endl;

    free(weightNode);
    free(priceNode);
    free(step);    
    free(last);
    free(set);
    free(recordSet);
    
    free(weight);
    free(price);
    if (cudaWeight != nullptr) {
        cudaFree(cudaWeight);
        cudaFree(cudaPrice);
    }

    fin.close();
    fout.close();
    
    std::chrono::high_resolution_clock::time_point totalEnd = std::chrono::high_resolution_clock::now();
    double totalTime = std::chrono::duration_cast<std::chrono::duration<double>>(totalEnd - totalStart).count();
    std::cout << "Total time: " << totalTime << std::endl;
    
    return 0;
}

	.file	"tmpxft_0034300b_00000000-6_knapsack_bfs_gpu.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4502:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4502:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.text._ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_,comdat
	.type	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.isra.0, @function
_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.isra.0:
.LFB5518:
	.cfi_startproc
	leaq	-1(%rdx), %rax
	movq	%rsi, %r9
	movq	%rcx, %r8
	movq	%rdx, %rsi
	movl	$2, %ecx
	cqto
	idivq	%rcx
	movq	%r9, %rcx
.L3:
	cmpq	%rax, %rcx
	jge	.L11
	leaq	1(%rcx), %rdx
	addq	%rdx, %rdx
	movq	-8(%rdi,%rdx,8), %r11
	leaq	-1(%rdx), %r10
	cmpq	%r11, (%rdi,%rdx,8)
	cmovge	%rdx, %r10
	movq	(%rdi,%r10,8), %rdx
	movq	%rdx, (%rdi,%rcx,8)
	movq	%r10, %rcx
	jmp	.L3
.L11:
	testl	$1, %esi
	jne	.L6
	leaq	-2(%rsi), %rax
	movl	$2, %esi
	cqto
	idivq	%rsi
	cmpq	%rax, %rcx
	jne	.L6
	leaq	1(%rcx,%rcx), %rax
	movq	(%rdi,%rax,8), %rdx
	movq	%rdx, (%rdi,%rcx,8)
	movq	%rax, %rcx
.L6:
	leaq	-1(%rcx), %rax
	movl	$2, %esi
.L9:
	cqto
	idivq	%rsi
	leaq	(%rdi,%rcx,8), %rdx
	cmpq	%rcx, %r9
	jge	.L7
	movq	(%rdi,%rax,8), %rcx
	cmpq	%rcx, %r8
	jle	.L7
	movq	%rcx, (%rdx)
	leaq	-1(%rax), %rdx
	movq	%rax, %rcx
	movq	%rdx, %rax
	jmp	.L9
.L7:
	movq	%r8, (%rdx)
	ret
	.cfi_endproc
.LFE5518:
	.size	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.isra.0, .-_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.isra.0
	.text
	.type	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0, @function
_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0:
.LFB5520:
	.cfi_startproc
	jmp	cudaMalloc@PLT
	.cfi_endproc
.LFE5520:
	.size	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0, .-_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB5521:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE5521:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.section	.text._ZNK5TItemltERKS_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_,comdat
	.align 2
	.type	_ZNK5TItemltERKS_.isra.0, @function
_ZNK5TItemltERKS_.isra.0:
.LFB5522:
	.cfi_startproc
	cvtsi2sdl	%esi, %xmm2
	cvtsi2sdl	%edi, %xmm1
	cvtsi2sdl	%edx, %xmm0
	divsd	%xmm2, %xmm1
	cvtsi2sdl	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	comisd	%xmm0, %xmm1
	seta	%al
	ret
	.cfi_endproc
.LFE5522:
	.size	_ZNK5TItemltERKS_.isra.0, .-_ZNK5TItemltERKS_.isra.0
	.section	.text._ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_,comdat
	.type	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_.isra.0, @function
_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_.isra.0:
.LFB5523:
	.cfi_startproc
	movq	%rdi, %r8
	pushq	%rdx
	.cfi_def_cfa_offset 16
	movl	(%rdi), %edi
	movl	4(%r8), %esi
	movq	8(%r8), %r10
.L16:
	movl	-12(%r8), %ecx
	movl	-16(%r8), %edx
	movq	%r8, %r9
	subq	$16, %r8
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	je	.L19
	movups	(%r8), %xmm0
	movups	%xmm0, 16(%r8)
	jmp	.L16
.L19:
	movl	%edi, (%r9)
	movl	%esi, 4(%r9)
	movq	%r10, 8(%r9)
	popq	%rax
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5523:
	.size	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_.isra.0, .-_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_.isra.0
	.section	.text._ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_,comdat
	.type	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.isra.0, @function
_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.isra.0:
.LFB5524:
	.cfi_startproc
	cmpq	%rsi, %rdi
	jne	.L30
	ret
.L30:
	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
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	16(%rdi), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 64
.L22:
	cmpq	%rbp, %r12
	je	.L34
	movl	0(%rbp), %r14d
	movl	4(%rbp), %r13d
	movl	4(%rbx), %ecx
	movl	(%rbx), %edx
	movl	%r13d, %esi
	movl	%r14d, %edi
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	je	.L23
	movq	%rbp, %rdx
	movq	8(%rbp), %r15
	subq	%rbx, %rdx
	cmpq	$16, %rdx
	jle	.L24
	movl	$16, %edi
	movq	%rbx, %rsi
	subq	%rdx, %rdi
	addq	%rbp, %rdi
	call	memmove@PLT
	jmp	.L25
.L24:
	jne	.L25
	movups	(%rbx), %xmm0
	movups	%xmm0, 0(%rbp)
.L25:
	movl	%r14d, (%rbx)
	movl	%r13d, 4(%rbx)
	movq	%r15, 8(%rbx)
	jmp	.L26
.L23:
	movq	%rbp, %rdi
	call	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_.isra.0
.L26:
	addq	$16, %rbp
	jmp	.L22
.L34:
	popq	%rax
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5524:
	.size	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.isra.0, .-_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.isra.0
	.section	.text._ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_,comdat
	.type	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_.isra.0, @function
_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_.isra.0:
.LFB5525:
	.cfi_startproc
	leaq	-1(%rdx), %rax
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdx, %r11
	movq	%rdi, %r10
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	cqto
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rcx, %rbp
	movl	$2, %ecx
	idivq	%rcx
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	pushq	%r9
	.cfi_def_cfa_offset 64
	movq	%rsi, %r9
	movq	%rax, %r14
.L36:
	cmpq	%r14, %r9
	jge	.L46
	leaq	1(%r9), %rbx
	addq	%rbx, %rbx
	leaq	-1(%rbx), %r13
	movq	%rbx, %rax
	movq	%r13, %rdx
	salq	$4, %rax
	salq	$4, %rdx
	addq	%r10, %rax
	addq	%r10, %rdx
	movl	4(%rax), %esi
	movl	(%rax), %edi
	movl	4(%rdx), %ecx
	movl	(%rdx), %edx
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	cmove	%rbx, %r13
	salq	$4, %r9
	movq	%r13, %rax
	salq	$4, %rax
	movups	(%r10,%rax), %xmm0
	movups	%xmm0, (%r10,%r9)
	movq	%r13, %r9
	jmp	.L36
.L46:
	testl	$1, %r11d
	jne	.L39
	leaq	-2(%r11), %rax
	movl	$2, %ecx
	cqto
	idivq	%rcx
	cmpq	%rax, %r9
	jne	.L39
	leaq	1(%r9,%r9), %rax
	salq	$4, %r9
	movq	%rax, %rdx
	salq	$4, %rdx
	movups	(%r10,%rdx), %xmm1
	movups	%xmm1, (%r10,%r9)
	movq	%rax, %r9
.L39:
	leaq	-1(%r9), %rax
	movl	$2, %esi
	movq	%rbp, %r13
	movl	%ebp, %r15d
	cqto
	sarq	$32, %r13
	movl	$2, %r14d
	idivq	%rsi
	movl	%r13d, %ecx
	movq	%rax, %r11
.L41:
	movq	%r9, %rbx
	salq	$4, %rbx
	addq	%r10, %rbx
	cmpq	%r9, %r12
	jge	.L40
	movq	%r11, %r9
	movl	%r15d, %edx
	salq	$4, %r9
	addq	%r10, %r9
	movl	4(%r9), %esi
	movl	(%r9), %edi
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	je	.L40
	leaq	-1(%r11), %rax
	movups	(%r9), %xmm2
	movq	%r11, %r9
	cqto
	idivq	%r14
	movups	%xmm2, (%rbx)
	movq	%rax, %r11
	jmp	.L41
.L40:
	movl	%ebp, (%rbx)
	movl	%r13d, 4(%rbx)
	movq	%r8, 8(%rbx)
	popq	%rax
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5525:
	.size	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_.isra.0, .-_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_.isra.0
	.section	.text._ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_,comdat
	.type	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.isra.0, @function
_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.isra.0:
.LFB5527:
	.cfi_startproc
	cmpq	%rsi, %rdi
	jne	.L59
	ret
.L59:
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$8, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	8(%rdi), %rbx
.L49:
	cmpq	%rbx, %r12
	je	.L63
	movq	(%rbx), %r13
	movq	0(%rbp), %rax
	cmpq	%rax, %r13
	jge	.L57
	movq	%rbx, %rdx
	subq	%rbp, %rdx
	cmpq	$8, %rdx
	jle	.L51
	movq	%r14, %rdi
	movq	%rbp, %rsi
	subq	%rdx, %rdi
	addq	%rbx, %rdi
	call	memmove@PLT
	jmp	.L52
.L51:
	jne	.L52
	movq	%rax, (%rbx)
.L52:
	movq	%r13, 0(%rbp)
	jmp	.L53
.L57:
	movq	%rbx, %rax
.L50:
	movq	-8(%rax), %rdx
	cmpq	%rdx, %r13
	jge	.L64
	movq	%rdx, (%rax)
	subq	$8, %rax
	jmp	.L50
.L64:
	movq	%r13, (%rax)
.L53:
	addq	$8, %rbx
	jmp	.L49
.L63:
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5527:
	.size	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.isra.0, .-_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.isra.0
	.section	.text._ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_,comdat
	.type	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_.isra.0, @function
_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_.isra.0:
.LFB5529:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	16(%rdi), %rax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%rdx, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%rax, 8(%rsp)
.L66:
	movq	%rbp, %r8
	subq	%rbx, %r8
	cmpq	$256, %r8
	jle	.L65
	movq	%r8, %r12
	sarq	$4, %r12
	testq	%r13, %r13
	jne	.L67
	leaq	-2(%r12), %r13
	sarq	%r13
.L70:
	movq	%r13, %rax
	movq	%r12, %rdx
	movq	%r13, %rsi
	movq	%rbx, %rdi
	salq	$4, %rax
	movq	(%rbx,%rax), %rcx
	movq	8(%rbx,%rax), %r8
	call	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_.isra.0
	testq	%r13, %r13
	je	.L69
	decq	%r13
	jmp	.L70
.L69:
	movq	%rbp, %rax
	subq	$16, %rbp
	subq	%rbx, %rax
	cmpq	$16, %rax
	jle	.L65
	movups	(%rbx), %xmm0
	movq	%rbp, %rdx
	movq	0(%rbp), %rcx
	xorl	%esi, %esi
	movq	8(%rbp), %r8
	subq	%rbx, %rdx
	movq	%rbx, %rdi
	movups	%xmm0, 0(%rbp)
	sarq	$4, %rdx
	call	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_.isra.0
	jmp	.L69
.L67:
	sarq	$5, %r8
	movl	16(%rbx), %eax
	movl	20(%rbx), %r14d
	salq	$4, %r8
	movq	8(%rsp), %r10
	addq	%rbx, %r8
	movl	%eax, (%rsp)
	movl	(%rsp), %edi
	movl	%r14d, %esi
	movl	(%r8), %eax
	movl	4(%r8), %r15d
	movl	%eax, %edx
	movl	%r15d, %ecx
	movl	%eax, 4(%rsp)
	call	_ZNK5TItemltERKS_.isra.0
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %ecx
	movl	(%rbx), %r12d
	movl	4(%rbx), %r11d
	movq	8(%rbx), %r9
	testb	%al, %al
	je	.L73
	movl	4(%rsp), %edi
	movl	%r15d, %esi
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	je	.L74
	movups	(%r8), %xmm1
	movups	%xmm1, (%rbx)
	jmp	.L87
.L74:
	movl	(%rsp), %edi
	movl	%r14d, %esi
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	je	.L76
	movups	-16(%rbp), %xmm2
	movups	%xmm2, (%rbx)
	jmp	.L88
.L76:
	movups	16(%rbx), %xmm3
	movups	%xmm3, (%rbx)
.L89:
	movl	%r12d, 16(%rbx)
	movl	%r11d, 20(%rbx)
	movq	%r9, 24(%rbx)
.L75:
	movq	%rbp, %r8
	jmp	.L77
.L73:
	movl	(%rsp), %edi
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	je	.L78
	movups	16(%rbx), %xmm4
	movups	%xmm4, (%rbx)
	jmp	.L89
.L78:
	movl	4(%rsp), %edi
	movl	%r15d, %esi
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	je	.L79
	movups	-16(%rbp), %xmm5
	movups	%xmm5, (%rbx)
.L88:
	movl	%r12d, -16(%rbp)
	movl	%r11d, -12(%rbp)
	movq	%r9, -8(%rbp)
	jmp	.L75
.L79:
	movups	(%r8), %xmm6
	movups	%xmm6, (%rbx)
.L87:
	movl	%r12d, (%r8)
	movl	%r11d, 4(%r8)
	movq	%r9, 8(%r8)
	jmp	.L75
.L82:
	movq	8(%r12), %rax
	movups	(%r8), %xmm7
	movups	%xmm7, (%r12)
	movl	%r11d, (%r8)
	movq	%rax, 8(%r8)
	movl	%r10d, 4(%r8)
	leaq	16(%r12), %r10
.L77:
	movl	(%rbx), %r14d
	movl	4(%rbx), %r15d
	movq	%r10, %rax
.L80:
	movl	(%rax), %r11d
	movl	4(%rax), %r10d
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movq	%rax, %r12
	movl	%r10d, %esi
	movl	%r11d, %edi
	call	_ZNK5TItemltERKS_.isra.0
	movl	%eax, %edx
	leaq	16(%r12), %rax
	testb	%dl, %dl
	jne	.L80
	leaq	-16(%r8), %r9
.L81:
	movl	4(%r9), %ecx
	movl	(%r9), %edx
	movl	%r15d, %esi
	movl	%r14d, %edi
	movq	%r9, %r8
	subq	$16, %r9
	call	_ZNK5TItemltERKS_.isra.0
	testb	%al, %al
	jne	.L81
	cmpq	%r8, %r12
	jb	.L82
	decq	%r13
	movq	%rbp, %rsi
	movq	%r12, %rdi
	movq	%r12, %rbp
	movq	%r13, %rdx
	call	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_.isra.0
	jmp	.L66
.L65:
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5529:
	.size	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_.isra.0, .-_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_.isra.0
	.section	.text._ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_.isra.0,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_,comdat
	.type	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_.isra.0, @function
_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_.isra.0:
.LFB5536:
	.cfi_startproc
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	%rdx, %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	8(%rdi), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rdi, %rbx
.L91:
	movq	%rbp, %rax
	subq	%rbx, %rax
	cmpq	$128, %rax
	jle	.L90
	movq	%rax, %r13
	sarq	$3, %r13
	testq	%r14, %r14
	jne	.L92
	leaq	-2(%r13), %r12
	sarq	%r12
.L94:
	movq	(%rbx,%r12,8), %rcx
	movq	%r13, %rdx
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.isra.0
	testq	%r12, %r12
	je	.L95
	decq	%r12
	jmp	.L94
.L95:
	movq	%rbp, %rax
	subq	$8, %rbp
	subq	%rbx, %rax
	cmpq	$8, %rax
	jle	.L90
	movq	(%rbx), %rax
	movq	0(%rbp), %rcx
	movq	%rbp, %rdx
	xorl	%esi, %esi
	subq	%rbx, %rdx
	movq	%rbx, %rdi
	movq	%rax, 0(%rbp)
	sarq	$3, %rdx
	call	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.isra.0
	jmp	.L95
.L92:
	sarq	$4, %rax
	movq	8(%rbx), %rdi
	movq	-8(%rbp), %rcx
	movq	%r12, %rdx
	leaq	(%rbx,%rax,8), %r8
	movq	(%rbx), %rax
	movq	(%r8), %rsi
	cmpq	%rsi, %rdi
	jge	.L98
	cmpq	%rsi, %rcx
	jg	.L104
	cmpq	%rdi, %rcx
	jle	.L101
	jmp	.L112
.L98:
	cmpq	%rdi, %rcx
	jle	.L103
.L101:
	movq	%rdi, (%rbx)
	movq	%rax, 8(%rbx)
.L100:
	movq	%rbp, %rax
	jmp	.L102
.L103:
	cmpq	%rsi, %rcx
	jle	.L104
.L112:
	movq	%rcx, (%rbx)
	movq	%rax, -8(%rbp)
	jmp	.L100
.L104:
	movq	%rsi, (%rbx)
	movq	%rax, (%r8)
	jmp	.L100
.L107:
	movq	%rsi, 0(%r13)
	movq	%rcx, (%rdx)
	leaq	8(%r13), %rdx
.L102:
	movq	(%rbx), %rdi
.L105:
	movq	%rdx, %r13
	movq	(%rdx), %rcx
	leaq	8(%rdx), %rdx
	cmpq	%rdi, %rcx
	jl	.L105
	subq	$8, %rax
.L106:
	movq	%rax, %rdx
	movq	(%rax), %rsi
	subq	$8, %rax
	cmpq	%rsi, %rdi
	jl	.L106
	movq	%rdx, %rax
	cmpq	%rdx, %r13
	jb	.L107
	decq	%r14
	movq	%rbp, %rsi
	movq	%r13, %rdi
	movq	%r13, %rbp
	movq	%r14, %rdx
	call	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_.isra.0
	jmp	.L91
.L90:
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5536:
	.size	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_.isra.0, .-_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_.isra.0
	.text
	.globl	_Z13CopyRecordSetPjPKjS1_l
	.type	_Z13CopyRecordSetPjPKjS1_l, @function
_Z13CopyRecordSetPjPKjS1_l:
.LFB4483:
	.cfi_startproc
	endbr64
	movq	%rdi, %r8
	movq	%rcx, %r9
	leaq	0(,%rcx,4), %rcx
	xorl	%eax, %eax
	rep movsb
.L114:
	cmpq	%r9, %rax
	jge	.L116
	movl	(%rdx,%rax,4), %ecx
	orl	%ecx, (%r8,%rax,4)
	incq	%rax
	jmp	.L114
.L116:
	ret
	.cfi_endproc
.LFE4483:
	.size	_Z13CopyRecordSetPjPKjS1_l, .-_Z13CopyRecordSetPjPKjS1_l
	.globl	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_
	.type	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_, @function
_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_:
.LFB4484:
	.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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	(%r9,%rdi,8), %r13
	leaq	(%rsi,%rdi,8), %r9
	movq	(%r8,%rdi,8), %rax
	movq	104(%rsp), %r10
	movq	%r13, %r8
	movq	112(%rsp), %rbx
	subq	%rax, %r8
	incq	%r8
	cmpq	%r10, %r8
	movq	%r8, %r14
	leaq	0(,%rdi,4), %r8
	cmovg	%r10, %r14
	salq	$2, %rbx
	leaq	(%rdx,%r8), %r12
	leaq	(%rcx,%r8), %r11
	imulq	%rbx, %rbp
	addq	56(%rsp), %rbp
	xorl	%r8d, %r8d
	movq	%rbp, -8(%rsp)
	decq	%r10
.L118:
	cmpq	%r14, %r8
	jge	.L117
	movq	(%r9), %rdx
	movq	96(%rsp), %rsi
	movq	%rbx, %rcx
	addq	%r8, %rdx
	imulq	112(%rsp), %rdx
	cmpq	%r13, %rax
	leaq	(%rsi,%rdx,4), %rdx
	movq	-8(%rsp), %rsi
	movq	%rdx, %rdi
	rep movsb
	leaq	1(%rax), %rsi
	movq	%rsi, %rcx
	movq	(%r9), %rdx
	movl	(%r12), %edi
	jne	.L119
	movq	64(%rsp), %rax
	addq	%r8, %rdx
	movq	72(%rsp), %rbx
	movl	%edi, (%rax,%rdx,4)
	movl	(%r11), %eax
	movl	%eax, (%rbx,%rdx,4)
.L120:
	cmpq	120(%rsp), %rcx
	jge	.L121
	movq	136(%rsp), %rax
	movl	(%rax,%rcx,4), %eax
	addl	(%r12), %eax
	cmpl	128(%rsp), %eax
	jle	.L121
	incq	%rcx
	jmp	.L120
.L121:
	movq	80(%rsp), %rax
	movq	%rcx, (%rax,%rdx,8)
	movq	88(%rsp), %rax
	addq	(%r9), %r8
	movq	%rcx, (%rax,%r8,8)
	jmp	.L117
.L119:
	addq	%r8, %rdx
	movq	64(%rsp), %r15
	movq	80(%rsp), %rbp
	leaq	0(,%rdx,4), %rcx
	addq	%rcx, %r15
	leaq	0(%rbp,%rdx,8), %rdx
	addq	72(%rsp), %rcx
	cmpq	%r8, %r10
	jne	.L124
	movl	%edi, (%r15)
	movl	(%r11), %edi
	movl	%edi, (%rcx)
	movq	88(%rsp), %rcx
	movq	%rax, (%rdx)
	movq	(%r9), %rax
	addq	%r10, %rax
	movq	%r13, (%rcx,%rax,8)
	jmp	.L125
.L124:
	movq	136(%rsp), %rbp
	subl	0(%rbp,%rax,4), %edi
	movl	%edi, (%r15)
	movq	144(%rsp), %r15
	movl	(%r11), %edi
	subl	(%r15,%rax,4), %edi
	movl	%edi, (%rcx)
	movq	88(%rsp), %rcx
	movq	%rsi, (%rdx)
	movq	(%r9), %rdx
	addq	%r8, %rdx
	movq	%r13, (%rcx,%rdx,8)
	movl	$32, %ecx
	cqto
	movq	(%r9), %rdi
	idivq	%rcx
	addq	%r8, %rdi
	imulq	112(%rsp), %rdi
	movl	%edx, %ecx
	addq	%rdi, %rax
	movl	$1, %edi
	sall	%cl, %edi
	movq	96(%rsp), %rcx
	xorl	%edi, (%rcx,%rax,4)
.L125:
	incq	%r8
	movq	%rsi, %rax
	jmp	.L118
.L117:
	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
.LFE4484:
	.size	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_, .-_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_
	.globl	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	.type	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_, @function
_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_:
.LFB4485:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	0(,%rdi,4), %rax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	(%rdx,%rax), %r11
	movl	$1, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	(%rcx,%rdi,8), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	72(%rsp), %rbp
	movq	%rsi, %rbx
	addq	%rax, %rbx
	movq	(%r12), %rsi
	movl	(%r11), %r10d
	imulq	%rdi, %rbp
	movl	(%rbx), %r15d
.L130:
	movq	96(%rsp), %rax
	movl	(%rax,%rsi,4), %ecx
	movq	104(%rsp), %rax
	movl	(%rax,%rsi,4), %edx
	cmpq	80(%rsp), %rsi
	jge	.L129
	leal	(%r15,%rcx), %r13d
	cmpl	88(%rsp), %r13d
	jg	.L129
	movq	%rsi, %rax
	movl	$32, %ecx
	addl	%edx, %r10d
	movl	%r14d, %r15d
	cqto
	incq	%rsi
	idivq	%rcx
	addq	%rbp, %rax
	movl	%edx, %ecx
	sall	%cl, %r15d
	orl	%r15d, (%r8,%rax,4)
	movl	%r13d, %r15d
	jmp	.L130
.L129:
	testl	%ecx, %ecx
	je	.L131
	movl	88(%rsp), %eax
	subl	%r15d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ecx
.L131:
	movq	56(%rsp), %rax
	addl	%r10d, %ecx
	movl	$32, %r8d
	movl	%ecx, (%rax,%rdi,4)
	movl	%r15d, (%rbx)
	movl	$1, %ebx
	movl	%r10d, (%r11)
	movq	%rsi, (%r12)
.L132:
	cmpq	80(%rsp), %rsi
	jge	.L139
	movq	96(%rsp), %rax
	movl	(%rax,%rsi,4), %r11d
	addl	%r15d, %r11d
	cmpl	88(%rsp), %r11d
	jg	.L133
	movq	104(%rsp), %rax
	movl	%ebx, %r14d
	movl	%r11d, %r15d
	addl	(%rax,%rsi,4), %r10d
	movq	%rsi, %rax
	cqto
	idivq	%r8
	movl	%edx, %ecx
	addq	%rbp, %rax
	sall	%cl, %r14d
	movq	64(%rsp), %rcx
	orl	%r14d, (%rcx,%rax,4)
.L133:
	incq	%rsi
	jmp	.L132
.L139:
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	movl	%r10d, (%r9,%rdi,4)
	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
.LFE4485:
	.size	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_, .-_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	.globl	_Z67__device_stub__Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_lPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.type	_Z67__device_stub__Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_lPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, @function
_Z67__device_stub__Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_lPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l:
.LFB4524:
	.cfi_startproc
	endbr64
	subq	$344, %rsp
	.cfi_def_cfa_offset 352
	movq	352(%rsp), %rax
	movq	%rdi, 104(%rsp)
	leaq	136(%rsp), %rdi
	movq	%rsi, 96(%rsp)
	leaq	148(%rsp), %rsi
	movq	%rax, 56(%rsp)
	movq	360(%rsp), %rax
	movq	%rdx, 88(%rsp)
	leaq	120(%rsp), %rdx
	movq	%rax, 48(%rsp)
	movq	368(%rsp), %rax
	movq	%rcx, 80(%rsp)
	leaq	128(%rsp), %rcx
	movq	%rax, 40(%rsp)
	movq	376(%rsp), %rax
	movq	%r8, 72(%rsp)
	movq	%rax, 32(%rsp)
	movq	384(%rsp), %rax
	movq	%r9, 64(%rsp)
	movq	%rax, 24(%rsp)
	movq	424(%rsp), %rax
	movq	%rax, 16(%rsp)
	movq	432(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 328(%rsp)
	xorl	%eax, %eax
	leaq	104(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	96(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 264(%rsp)
	leaq	392(%rsp), %rax
	movq	%rax, 272(%rsp)
	leaq	400(%rsp), %rax
	movq	%rax, 280(%rsp)
	leaq	408(%rsp), %rax
	movq	%rax, 288(%rsp)
	leaq	416(%rsp), %rax
	movq	%rax, 296(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 304(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 312(%rsp)
	leaq	440(%rsp), %rax
	movq	%rax, 320(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 136(%rsp)
	movl	$1, 144(%rsp)
	movq	%rax, 148(%rsp)
	movl	$1, 156(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L140
	pushq	128(%rsp)
	.cfi_def_cfa_offset 360
	leaq	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l(%rip), %rdi
	pushq	128(%rsp)
	.cfi_def_cfa_offset 368
	movq	164(%rsp), %rcx
	movl	172(%rsp), %r8d
	movq	152(%rsp), %rsi
	movl	160(%rsp), %edx
	leaq	200(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 360
	popq	%rdx
	.cfi_def_cfa_offset 352
.L140:
	movq	328(%rsp), %rax
	subq	%fs:40, %rax
	je	.L142
	call	__stack_chk_fail@PLT
.L142:
	addq	$344, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4524:
	.size	_Z67__device_stub__Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_lPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, .-_Z67__device_stub__Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_lPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.globl	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.type	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, @function
_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l:
.LFB4525:
	.cfi_startproc
	endbr64
	jmp	_Z67__device_stub__Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_lPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.cfi_endproc
.LFE4525:
	.size	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, .-_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.globl	_Z50__device_stub__Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_lPiS_PlPjS_S_S1_lliPKiS3_l
	.type	_Z50__device_stub__Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_lPiS_PlPjS_S_S1_lliPKiS3_l, @function
_Z50__device_stub__Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_lPiS_PlPjS_S_S1_lliPKiS3_l:
.LFB4526:
	.cfi_startproc
	endbr64
	subq	$264, %rsp
	.cfi_def_cfa_offset 272
	movq	272(%rsp), %rax
	movq	%rdi, 72(%rsp)
	leaq	96(%rsp), %rdi
	movq	%rsi, 64(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 24(%rsp)
	movq	304(%rsp), %rax
	movq	%rdx, 56(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 16(%rsp)
	movq	312(%rsp), %rax
	movq	%rcx, 48(%rsp)
	leaq	88(%rsp), %rcx
	movq	%r8, 40(%rsp)
	movq	%r9, 32(%rsp)
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	72(%rsp), %rax
	movl	$1, 104(%rsp)
	movq	%rax, 144(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	280(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	288(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	296(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	320(%rsp), %rax
	movq	%rax, 240(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L145
	pushq	88(%rsp)
	.cfi_def_cfa_offset 280
	leaq	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 288
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 280
	popq	%rdx
	.cfi_def_cfa_offset 272
.L145:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	je	.L147
	call	__stack_chk_fail@PLT
.L147:
	addq	$264, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4526:
	.size	_Z50__device_stub__Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_lPiS_PlPjS_S_S1_lliPKiS3_l, .-_Z50__device_stub__Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_lPiS_PlPjS_S_S1_lliPKiS3_l
	.globl	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.type	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l, @function
_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l:
.LFB4527:
	.cfi_startproc
	endbr64
	jmp	_Z50__device_stub__Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_lPiS_PlPjS_S_S1_lliPKiS3_l
	.cfi_endproc
.LFE4527:
	.size	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l, .-_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l"
.LC1:
	.string	"_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4529:
	.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	.LC0(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l(%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
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC1(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l(%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
.LFE4529:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.rodata._ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_.str1.1,"aMS",@progbits,1
.LC2:
	.string	"cannot create std::vector larger than max_size()"
	.section	.text._ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorI5TItemSaIS0_EEC5EmRKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
	.type	_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_, @function
_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_:
.LFB4897:
	.cfi_startproc
	endbr64
	movabsq	$576460752303423487, %rax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmpq	%rsi, %rax
	jnb	.L153
	leaq	.LC2(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L153:
	xorl	%ecx, %ecx
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rbp
	movq	%rcx, (%rdi)
	salq	$4, %r12
	xorl	%eax, %eax
	movq	%rcx, 8(%rdi)
	movq	%rcx, 16(%rdi)
	testq	%rsi, %rsi
	je	.L154
	movq	%r12, %rdi
	call	_Znwm@PLT
.L154:
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, %rdx
	movq	%rax, 8(%rbx)
	movq	%r12, 16(%rbx)
	testq	%rbp, %rbp
	je	.L155
	xorl	%edx, %edx
	decq	%rbp
	movq	%rdx, (%rax)
	movq	%rdx, 8(%rax)
	leaq	16(%rax), %rdx
	je	.L155
.L156:
	cmpq	%rdx, %r12
	je	.L155
	movups	(%rax), %xmm0
	addq	$16, %rdx
	movups	%xmm0, -16(%rdx)
	jmp	.L156
.L155:
	movq	%rdx, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4897:
	.size	_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_, .-_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
	.weak	_ZNSt6vectorI5TItemSaIS0_EEC1EmRKS1_
	.set	_ZNSt6vectorI5TItemSaIS0_EEC1EmRKS1_,_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
	.section	.text._ZNSt6vectorI5TItemSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI5TItemSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorI5TItemSaIS0_EED2Ev
	.type	_ZNSt6vectorI5TItemSaIS0_EED2Ev, @function
_ZNSt6vectorI5TItemSaIS0_EED2Ev:
.LFB4900:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L166
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L166:
	ret
	.cfi_endproc
.LFE4900:
	.size	_ZNSt6vectorI5TItemSaIS0_EED2Ev, .-_ZNSt6vectorI5TItemSaIS0_EED2Ev
	.weak	_ZNSt6vectorI5TItemSaIS0_EED1Ev
	.set	_ZNSt6vectorI5TItemSaIS0_EED1Ev,_ZNSt6vectorI5TItemSaIS0_EED2Ev
	.section	.text._ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_,comdat
	.weak	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_
	.type	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_, @function
_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_:
.LFB4905:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	je	.L177
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %rbp
	subq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	movq	%rbp, %rax
	sarq	$4, %rax
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	bsrq	%rax, %rdx
	xorq	$63, %rdx
	testq	%rax, %rax
	movl	$64, %eax
	movq	%rdi, 8(%rsp)
	cmovne	%edx, %eax
	movl	$63, %edx
	subl	%eax, %edx
	movslq	%edx, %rdx
	addq	%rdx, %rdx
	call	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_.isra.0
	cmpq	$256, %rbp
	movq	8(%rsp), %rdi
	jle	.L171
	leaq	256(%rdi), %rbp
	movq	%rbp, %rsi
	call	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.isra.0
.L172:
	cmpq	%rbx, %rbp
	je	.L180
	movq	%rbp, %rdi
	addq	$16, %rbp
	call	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_.isra.0
	jmp	.L172
.L171:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rbx, %rsi
	popq	%rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.isra.0
.L180:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L177:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE4905:
	.size	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_, .-_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_
	.section	.text._ZNSt6vectorIlSaIlEED2Ev,"axG",@progbits,_ZNSt6vectorIlSaIlEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIlSaIlEED2Ev
	.type	_ZNSt6vectorIlSaIlEED2Ev, @function
_ZNSt6vectorIlSaIlEED2Ev:
.LFB4922:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L181
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L181:
	ret
	.cfi_endproc
.LFE4922:
	.size	_ZNSt6vectorIlSaIlEED2Ev, .-_ZNSt6vectorIlSaIlEED2Ev
	.weak	_ZNSt6vectorIlSaIlEED1Ev
	.set	_ZNSt6vectorIlSaIlEED1Ev,_ZNSt6vectorIlSaIlEED2Ev
	.section	.text._ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_,"axG",@progbits,_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_,comdat
	.weak	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_
	.type	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_, @function
_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_:
.LFB4927:
	.cfi_startproc
	endbr64
	cmpq	%rsi, %rdi
	je	.L194
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	%rdi, %rbx
	movq	%rbx, %rax
	sarq	$3, %rax
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	bsrq	%rax, %rdx
	movq	%rdi, 8(%rsp)
	xorq	$63, %rdx
	testq	%rax, %rax
	movl	$64, %eax
	cmovne	%edx, %eax
	movl	$63, %edx
	subl	%eax, %edx
	movslq	%edx, %rdx
	addq	%rdx, %rdx
	call	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_.isra.0
	cmpq	$128, %rbx
	movq	8(%rsp), %rdi
	jle	.L186
	leaq	128(%rdi), %rbx
	movq	%rbx, %rsi
	call	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.isra.0
	movq	%rbx, %rax
.L187:
	cmpq	%rbp, %rax
	je	.L197
	movq	(%rax), %rcx
	movq	%rax, %rdx
.L188:
	movq	-8(%rdx), %rsi
	cmpq	%rsi, %rcx
	jge	.L198
	movq	%rsi, (%rdx)
	subq	$8, %rdx
	jmp	.L188
.L198:
	movq	%rcx, (%rdx)
	addq	$8, %rax
	jmp	.L187
.L186:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rbp, %rsi
	popq	%rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.isra.0
.L197:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L194:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE4927:
	.size	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_, .-_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_
	.section	.rodata._ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_.str1.1,"aMS",@progbits,1
.LC3:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_
	.type	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_, @function
_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_:
.LFB5157:
	.cfi_startproc
	endbr64
	movabsq	$1152921504606846975, %rcx
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r14
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	subq	%r14, %rbx
	sarq	$3, %rbx
	cmpq	%rcx, %rbx
	jne	.L200
	leaq	.LC3(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L200:
	cmpq	%r14, (%rsp)
	movl	$1, %eax
	movq	%rsi, %r15
	movq	%rdi, %r13
	cmovne	%rbx, %rax
	movq	%rsi, %rbp
	addq	%rax, %rbx
	setc	%al
	subq	%r14, %r15
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L210
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L205
	movabsq	$1152921504606846975, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L204
.L210:
	movq	%rcx, %rbx
.L204:
	leaq	0(,%rbx,8), %rdi
	movq	%rdx, 8(%rsp)
	call	_Znwm@PLT
	movq	8(%rsp), %rdx
	movq	%rax, %r12
.L205:
	movq	(%rdx), %rax
	movq	%rax, (%r12,%r15)
	testq	%r15, %r15
	jle	.L206
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	call	memmove@PLT
.L206:
	movq	(%rsp), %rax
	leaq	8(%r12,%r15), %rdx
	subq	%rbp, %rax
	testq	%rax, %rax
	jle	.L207
	movq	%rdx, %rdi
	movq	%rbp, %rsi
	movq	%rax, %rcx
	rep movsb
.L207:
	leaq	(%rdx,%rax), %rbp
	testq	%r14, %r14
	je	.L208
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L208:
	leaq	(%r12,%rbx,8), %rax
	movq	%r12, 0(%r13)
	movq	%rbp, 8(%r13)
	movq	%rax, 16(%r13)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5157:
	.size	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_, .-_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_
	.section	.rodata.str1.1
.LC4:
	.string	"Usage: "
.LC5:
	.string	" input_file output_file"
.LC6:
	.string	"Or: "
.LC7:
	.string	" input_file output_file count_of_steps_in_branching"
.LC8:
	.string	"count_of_steps_in_branching must be in [2, 10]"
.LC9:
	.string	"Step "
.LC10:
	.string	", q = "
.LC11:
	.string	" "
.LC13:
	.string	"Total time: "
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4486:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4486
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movl	%edi, %r15d
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$1432, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movq	%rax, -1472(%rbp)
	movl	%r15d, %eax
	subl	$3, %eax
	cmpl	$1, %eax
	jbe	.L218
	leaq	.LC4(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB0:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC5(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC6(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC7(%rip), %rsi
	movq	%rax, %rdi
	jmp	.L277
.L218:
	cmpl	$4, %r15d
	jne	.L263
	movq	24(%rbx), %rdi
	call	atoi@PLT
	cltq
	movq	%rax, -1392(%rbp)
	subq	$2, %rax
	cmpq	$8, %rax
	jbe	.L220
	leaq	.LC8(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.L277:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L219
.L263:
	movq	$2, -1392(%rbp)
.L220:
	movq	8(%rbx), %rsi
	leaq	-576(%rbp), %r12
	movl	$8, %edx
	movq	%r12, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE0:
	movq	16(%rbx), %rsi
	movl	$16, %edx
	leaq	-1088(%rbp), %rdi
.LEHB1:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE1:
	leaq	-1288(%rbp), %rsi
	movq	%r12, %rdi
.LEHB2:
	call	_ZNSi10_M_extractIlEERSiRT_@PLT
	movq	%rax, %rdi
	leaq	-1292(%rbp), %rsi
	call	_ZNSirsERi@PLT
	movq	-1288(%rbp), %rsi
	leaq	-1112(%rbp), %rdx
	leaq	-1136(%rbp), %rdi
	call	_ZNSt6vectorI5TItemSaIS0_EEC1EmRKS1_
.LEHE2:
	xorl	%ebx, %ebx
.L221:
	cmpq	%rbx, -1288(%rbp)
	jle	.L278
	movq	%rbx, %rax
	movq	%r12, %rdi
	salq	$4, %rax
	addq	-1136(%rbp), %rax
	movq	%rax, %rsi
	movq	%rax, %r15
.LEHB3:
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	leaq	4(%r15), %rsi
	call	_ZNSirsERi@PLT
	incq	%rbx
	movq	%rbx, 8(%r15)
	jmp	.L221
.L278:
	movq	-1136(%rbp), %rax
	movq	-1128(%rbp), %rsi
	movq	%rax, %rdi
	movq	%rax, -1448(%rbp)
	call	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_
	movq	-1288(%rbp), %r13
	leaq	4(,%r13,4), %rbx
	movq	%rbx, %rdi
	call	malloc@PLT
	movq	%rbx, %rdi
	movq	%rax, -1368(%rbp)
	call	malloc@PLT
	movq	-1448(%rbp), %rdx
	movq	%rax, -1376(%rbp)
	xorl	%eax, %eax
.L223:
	cmpq	%rax, %r13
	jle	.L279
	movl	4(%rdx), %ecx
	movq	-1368(%rbp), %rsi
	addq	$16, %rdx
	movl	%ecx, (%rsi,%rax,4)
	movq	-1376(%rbp), %rsi
	movl	-16(%rdx), %ecx
	movl	%ecx, (%rsi,%rax,4)
	incq	%rax
	jmp	.L223
.L279:
	movq	-1376(%rbp), %rax
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	movl	$32, %ecx
	movl	$4, %esi
	movq	%r9, -1280(%rbp)
	movl	%edi, -4(%rax,%rbx)
	movq	-1368(%rbp), %rax
	movl	$1, %edi
	movq	%r9, -1272(%rbp)
	movl	%r8d, -4(%rax,%rbx)
	leaq	31(%r13), %rax
	cqto
	idivq	%rcx
	movq	%rax, %r15
	call	calloc@PLT
	movl	$4, %esi
	movl	$1, %edi
	movq	%rax, -1336(%rbp)
	call	calloc@PLT
	movl	$8, %esi
	movl	$1, %edi
	movq	%rax, -1344(%rbp)
	call	calloc@PLT
	movl	$8, %esi
	movl	$1, %edi
	movq	%rax, -1384(%rbp)
	call	calloc@PLT
	movl	$4, %esi
	movq	%r15, %rdi
	movq	%rax, -1312(%rbp)
	call	calloc@PLT
	movl	$4, %esi
	movl	$1, %edi
	movq	%rax, -1320(%rbp)
	call	calloc@PLT
	movl	$4, %esi
	movl	$1, %edi
	movq	%rax, %r14
	call	calloc@PLT
	movl	$4, %esi
	movq	%r15, %rdi
	movq	%rax, %r12
	call	calloc@PLT
	movq	%r14, %r9
	xorl	%edi, %edi
	pushq	%r10
	movq	%rax, %rbx
	movl	-1292(%rbp), %eax
	pushq	-1376(%rbp)
	movq	-1320(%rbp), %r8
	movq	-1312(%rbp), %rcx
	pushq	-1368(%rbp)
	movq	-1344(%rbp), %rdx
	pushq	%rax
	pushq	%r13
	movq	-1336(%rbp), %rsi
	pushq	%r15
	pushq	%rbx
	pushq	%r12
	call	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	movl	(%r14), %eax
	addq	$64, %rsp
	movq	%r15, %rdi
	movl	$4, %esi
	movl	%eax, -1356(%rbp)
	call	calloc@PLT
	movq	-1320(%rbp), %rsi
	movq	%r15, %rcx
	movq	%rbx, %rdx
	movq	%rax, %rdi
	movq	%rax, -1408(%rbp)
	call	_Z13CopyRecordSetPjPKjS1_l
	movq	%r14, %rdi
	call	free@PLT
	movq	%r12, %rdi
	movl	$1, %r12d
	call	free@PLT
	movq	%rbx, %rdi
	call	free@PLT
	leaq	0(,%r15,4), %rax
	xorl	%r11d, %r11d
	movq	%rax, -1416(%rbp)
	movq	%r11, -1456(%rbp)
.L245:
	leaq	.LC9(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	incq	-1456(%rbp)
	movq	-1456(%rbp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC10(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%r12, %rsi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	8(,%r12,8), %r13
	movq	%r13, %rdi
	call	malloc@PLT
	xorl	%esi, %esi
	movl	$1, %edx
	movq	%rax, -1304(%rbp)
	movq	%rsi, (%rax)
.L225:
	movq	-1384(%rbp), %rcx
	movq	-1312(%rbp), %rax
	movq	-8(%rax,%rdx,8), %rax
	subq	-8(%rcx,%rdx,8), %rax
	movq	-1392(%rbp), %rcx
	incq	%rax
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	movq	-1304(%rbp), %rcx
	addq	-8(%rcx,%rdx,8), %rax
	movq	%rax, (%rcx,%rdx,8)
	incq	%rdx
	cmpq	%r12, %rdx
	jle	.L225
	cmpq	$1000000, %r12
	jle	.L226
	cmpq	$0, -1280(%rbp)
	jne	.L227
	movq	-1288(%rbp), %rax
	leaq	-1280(%rbp), %rdi
	leaq	4(,%rax,4), %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	-1288(%rbp), %rax
	leaq	-1272(%rbp), %rdi
	leaq	4(,%rax,4), %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	-1288(%rbp), %rax
	movq	-1368(%rbp), %rsi
	movl	$1, %ecx
	movq	-1280(%rbp), %rdi
	leaq	4(,%rax,4), %rdx
	call	cudaMemcpy@PLT
	movq	-1288(%rbp), %rax
	movq	-1376(%rbp), %rsi
	movl	$1, %ecx
	movq	-1272(%rbp), %rdi
	leaq	4(,%rax,4), %rdx
	call	cudaMemcpy@PLT
.L227:
	leaq	0(,%r12,4), %r14
	leaq	-1264(%rbp), %rdi
	movq	%r14, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-1248(%rbp), %rdi
	movq	%r14, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-8(%r13), %rbx
	leaq	-1232(%rbp), %rdi
	movq	%rbx, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-1216(%rbp), %rdi
	movq	%rbx, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	%r15, %rax
	leaq	-1200(%rbp), %rdi
	imulq	%r12, %rax
	salq	$2, %rax
	movq	%rax, %rsi
	movq	%rax, -1328(%rbp)
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-1184(%rbp), %rdi
	movq	%r13, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	-1336(%rbp), %rsi
	movq	-1264(%rbp), %rdi
	movl	$1, %ecx
	movq	%r14, %rdx
	call	cudaMemcpy@PLT
	movq	-1344(%rbp), %rsi
	movq	-1248(%rbp), %rdi
	movl	$1, %ecx
	movq	%r14, %rdx
	call	cudaMemcpy@PLT
	movq	-1384(%rbp), %rsi
	movq	-1232(%rbp), %rdi
	movl	$1, %ecx
	movq	%rbx, %rdx
	call	cudaMemcpy@PLT
	movq	-1312(%rbp), %rsi
	movq	-1216(%rbp), %rdi
	movl	$1, %ecx
	movq	%rbx, %rdx
	call	cudaMemcpy@PLT
	movq	-1328(%rbp), %rdx
	movq	-1320(%rbp), %rsi
	movl	$1, %ecx
	movq	-1200(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-1304(%rbp), %rsi
	movq	-1184(%rbp), %rdi
	movl	$1, %ecx
	movq	%r13, %rdx
	call	cudaMemcpy@PLT
	movq	-1304(%rbp), %rax
	leaq	-1256(%rbp), %rdi
	addq	%rax, %rbx
	movq	(%rbx), %rax
	leaq	0(,%rax,4), %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	(%rbx), %rax
	leaq	-1240(%rbp), %rdi
	leaq	0(,%rax,4), %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	(%rbx), %rax
	leaq	-1224(%rbp), %rdi
	leaq	0(,%rax,8), %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	(%rbx), %rax
	leaq	-1208(%rbp), %rdi
	leaq	0(,%rax,8), %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	(%rbx), %rsi
	leaq	-1192(%rbp), %rdi
	imulq	%r15, %rsi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movl	$8388609, %edx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %ecx
	leaq	511(%r12), %rax
	salq	$9, %rdx
	movl	$1, -1104(%rbp)
	sarq	$9, %rax
	movq	%rdx, -1112(%rbp)
	movl	%eax, -1148(%rbp)
	movabsq	$4294967297, %rax
	movq	%rax, -1144(%rbp)
	movq	-1148(%rbp), %rdi
	movl	-1140(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L228
	movl	-1292(%rbp), %eax
	pushq	%r12
	pushq	-1272(%rbp)
	pushq	-1280(%rbp)
	pushq	%rax
	pushq	-1288(%rbp)
	pushq	%r15
	pushq	-1392(%rbp)
	pushq	-1192(%rbp)
	pushq	-1208(%rbp)
	pushq	-1224(%rbp)
	pushq	-1240(%rbp)
	pushq	-1256(%rbp)
	movq	-1200(%rbp), %r9
	movq	-1216(%rbp), %r8
	movq	-1232(%rbp), %rcx
	movq	-1248(%rbp), %rdx
	movq	-1264(%rbp), %rsi
	movq	-1184(%rbp), %rdi
	.cfi_escape 0x2e,0x60
	call	_Z67__device_stub__Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_lPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	addq	$96, %rsp
.L228:
	.cfi_escape 0x2e,0
	call	cudaDeviceSynchronize@PLT
	movq	-1304(%rbp), %rdi
	movq	(%rbx), %rbx
	call	free@PLT
	movq	-1264(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1248(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1232(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1216(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1200(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1184(%rbp), %rdi
	call	cudaFree@PLT
	movq	%r15, %rax
	movl	$4, %esi
	leaq	0(,%rbx,4), %r14
	imulq	%rbx, %rax
	movq	%rax, %rdi
	movq	%rax, %r13
	call	calloc@PLT
	leaq	-1176(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, -1352(%rbp)
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-1168(%rbp), %rdi
	movq	%r14, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	%r13, %rax
	leaq	-1160(%rbp), %rdi
	salq	$2, %rax
	movq	%rax, %rsi
	movq	%rax, -1328(%rbp)
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movq	-1328(%rbp), %rdx
	movq	-1352(%rbp), %rsi
	movl	$1, %ecx
	movq	-1160(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	$512, %esi
	movl	$8388609, %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	leaq	511(%rbx), %rax
	salq	$9, %rcx
	movl	$1, -1104(%rbp)
	cqto
	movq	%rcx, -1112(%rbp)
	idivq	%rsi
	movq	%rcx, %rdx
	movl	$1, %ecx
	movl	%eax, -1148(%rbp)
	movabsq	$4294967297, %rax
	movq	%rax, -1144(%rbp)
	movq	-1148(%rbp), %rdi
	movl	-1140(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L229
	pushq	%rcx
	movl	-1292(%rbp), %eax
	pushq	%rbx
	movq	-1208(%rbp), %rdx
	pushq	-1272(%rbp)
	pushq	-1280(%rbp)
	movq	-1168(%rbp), %r9
	pushq	%rax
	pushq	-1288(%rbp)
	movq	-1176(%rbp), %r8
	movq	-1240(%rbp), %rsi
	pushq	%r15
	pushq	-1160(%rbp)
	movq	-1256(%rbp), %rdi
	movq	-1192(%rbp), %rcx
	.cfi_escape 0x2e,0x40
	call	_Z50__device_stub__Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_lPiS_PlPjS_S_S1_lliPKiS3_l
	addq	$64, %rsp
.L229:
	.cfi_escape 0x2e,0
	call	cudaDeviceSynchronize@PLT
	movq	-1336(%rbp), %rdi
	movq	%r14, %rsi
	leaq	0(,%rbx,8), %r12
	call	realloc@PLT
	movq	-1344(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, -1336(%rbp)
	call	realloc@PLT
	movq	-1384(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rax, -1344(%rbp)
	call	realloc@PLT
	movq	-1312(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rax, -1384(%rbp)
	call	realloc@PLT
	movq	-1328(%rbp), %rsi
	movq	-1320(%rbp), %rdi
	movq	%rax, -1312(%rbp)
	call	realloc@PLT
	movq	%r14, %rdi
	movq	%rax, -1304(%rbp)
	call	malloc@PLT
	movq	%r14, %rdi
	movq	%rax, -1400(%rbp)
	call	malloc@PLT
	movq	-1256(%rbp), %rsi
	movl	$2, %ecx
	movq	%r14, %rdx
	movq	-1336(%rbp), %rdi
	movq	%rax, %r13
	call	cudaMemcpy@PLT
	movq	-1240(%rbp), %rsi
	movq	-1344(%rbp), %rdi
	movl	$2, %ecx
	movq	%r14, %rdx
	call	cudaMemcpy@PLT
	movq	-1224(%rbp), %rsi
	movq	-1384(%rbp), %rdi
	movl	$2, %ecx
	movq	%r12, %rdx
	call	cudaMemcpy@PLT
	movq	-1208(%rbp), %rsi
	movq	-1312(%rbp), %rdi
	movl	$2, %ecx
	movq	%r12, %rdx
	call	cudaMemcpy@PLT
	movq	-1328(%rbp), %rdx
	movq	-1192(%rbp), %rsi
	movl	$2, %ecx
	movq	-1304(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-1176(%rbp), %rsi
	movq	-1400(%rbp), %rdi
	movl	$2, %ecx
	movq	%r14, %rdx
	call	cudaMemcpy@PLT
	movq	-1168(%rbp), %rsi
	movl	$2, %ecx
	movq	%r14, %rdx
	movq	%r13, %rdi
	call	cudaMemcpy@PLT
	movq	-1328(%rbp), %rdx
	movq	-1160(%rbp), %rsi
	movl	$2, %ecx
	movq	-1352(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-1256(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1240(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1224(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1208(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1192(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1176(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1168(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1160(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1304(%rbp), %r11
	movq	-1352(%rbp), %rdx
	xorl	%r10d, %r10d
.L230:
	cmpq	%rbx, %r10
	jge	.L233
	movq	-1400(%rbp), %rax
	movl	(%rax,%r10,4), %r12d
	movl	-1356(%rbp), %eax
	cmpl	%eax, %r12d
	jle	.L231
	movq	-1408(%rbp), %rdi
	movq	%r15, %rcx
	movq	%r11, %rsi
	call	_Z13CopyRecordSetPjPKjS1_l
	movl	%r12d, -1356(%rbp)
.L231:
	movq	-1416(%rbp), %rax
	incq	%r10
	addq	%rax, %r11
	addq	%rax, %rdx
	jmp	.L230
.L226:
	movq	-1304(%rbp), %rax
	movl	$4, %esi
	movq	-8(%rax,%r13), %rbx
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%rbx, %r14
	call	calloc@PLT
	imulq	%r15, %r14
	movl	$4, %esi
	movq	%rbx, %rdi
	movq	%rax, -1352(%rbp)
	call	calloc@PLT
	movl	$8, %esi
	movq	%rbx, %rdi
	movq	%rax, -1400(%rbp)
	call	calloc@PLT
	movl	$8, %esi
	movq	%rbx, %rdi
	movq	%rax, -1424(%rbp)
	call	calloc@PLT
	movl	$4, %esi
	movq	%r14, %rdi
	movq	%rax, -1432(%rbp)
	call	calloc@PLT
	movq	%rax, -1440(%rbp)
.L234:
	movl	-1292(%rbp), %eax
	movq	%r13, %rdi
	incq	%r13
	movl	%eax, -1360(%rbp)
	movq	-1288(%rbp), %rax
	movq	%rax, -1464(%rbp)
	movl	-1360(%rbp), %eax
	pushq	-1376(%rbp)
	pushq	-1368(%rbp)
	pushq	%rax
	pushq	-1464(%rbp)
	pushq	%r15
	pushq	-1392(%rbp)
	pushq	-1440(%rbp)
	pushq	-1432(%rbp)
	pushq	-1424(%rbp)
	pushq	-1400(%rbp)
	movq	-1312(%rbp), %r9
	pushq	-1352(%rbp)
	movq	-1384(%rbp), %r8
	pushq	-1320(%rbp)
	movq	-1344(%rbp), %rcx
	movq	-1336(%rbp), %rdx
	movq	-1304(%rbp), %rsi
	call	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_
	addq	$96, %rsp
	cmpq	%r12, %r13
	jne	.L234
	movq	-1304(%rbp), %rdi
	leaq	0(,%rbx,4), %r13
	leaq	0(,%rbx,8), %r12
	call	free@PLT
	movq	-1336(%rbp), %rdi
	movq	%r13, %rsi
	call	realloc@PLT
	movq	-1344(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rax, -1336(%rbp)
	call	realloc@PLT
	movq	-1384(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rax, -1344(%rbp)
	call	realloc@PLT
	movq	-1312(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rax, -1384(%rbp)
	call	realloc@PLT
	movq	-1320(%rbp), %rdi
	movq	%rax, -1312(%rbp)
	leaq	0(,%r14,4), %rax
	movq	%rax, %rsi
	movq	%rax, -1328(%rbp)
	call	realloc@PLT
	movq	-1352(%rbp), %rsi
	movq	%r13, %rcx
	movq	%r13, %rdx
	movq	-1336(%rbp), %rdi
	movq	%rax, -1304(%rbp)
	call	__memcpy_chk@PLT
	movq	-1400(%rbp), %rsi
	movq	%r13, %rcx
	movq	%r13, %rdx
	movq	-1344(%rbp), %rdi
	call	__memcpy_chk@PLT
	movq	-1424(%rbp), %rsi
	movq	%r12, %rcx
	movq	%r12, %rdx
	movq	-1384(%rbp), %rdi
	call	__memcpy_chk@PLT
	movq	-1432(%rbp), %rsi
	movq	%r12, %rcx
	movq	%r12, %rdx
	movq	-1312(%rbp), %rdi
	xorl	%r12d, %r12d
	call	__memcpy_chk@PLT
	leaq	0(,%r14,4), %rcx
	movq	-1440(%rbp), %rsi
	movq	-1304(%rbp), %rdi
	movq	%rcx, %rdx
	call	__memcpy_chk@PLT
	movq	-1352(%rbp), %rdi
	call	free@PLT
	movq	-1400(%rbp), %rdi
	call	free@PLT
	movq	-1424(%rbp), %rdi
	call	free@PLT
	movq	-1432(%rbp), %rdi
	call	free@PLT
	movq	-1440(%rbp), %rdi
	call	free@PLT
	movl	$4, %esi
	movq	%rbx, %rdi
	call	calloc@PLT
	movl	$4, %esi
	movq	%rbx, %rdi
	movq	%rax, -1400(%rbp)
	call	calloc@PLT
	movq	%r14, %rdi
	movl	$4, %esi
	xorl	%r14d, %r14d
	movq	%rax, %r13
	call	calloc@PLT
	movq	%rax, -1352(%rbp)
.L235:
	cmpq	%r12, %rbx
	jle	.L233
	pushq	%rdx
	movl	-1360(%rbp), %eax
	movq	%r12, %rdi
	pushq	-1376(%rbp)
	movq	-1400(%rbp), %r9
	movq	-1304(%rbp), %r8
	pushq	-1368(%rbp)
	movq	-1312(%rbp), %rcx
	pushq	%rax
	pushq	-1464(%rbp)
	movq	-1344(%rbp), %rdx
	movq	-1336(%rbp), %rsi
	pushq	%r15
	pushq	-1352(%rbp)
	pushq	%r13
	call	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	movq	-1400(%rbp), %rax
	addq	$64, %rsp
	movl	(%rax,%r12,4), %r10d
	movl	-1356(%rbp), %eax
	cmpl	%eax, %r10d
	jle	.L236
	movq	-1352(%rbp), %rax
	movq	-1408(%rbp), %rdi
	movq	%r15, %rcx
	leaq	(%rax,%r14), %rdx
	movq	-1304(%rbp), %rax
	leaq	(%rax,%r14), %rsi
	call	_Z13CopyRecordSetPjPKjS1_l
	movl	%r10d, -1356(%rbp)
.L236:
	movq	-1416(%rbp), %rax
	incq	%r12
	addq	%rax, %r14
	jmp	.L235
.L233:
	leaq	-1(%rbx), %r8
	xorl	%r12d, %r12d
.L238:
	leaq	0(,%r12,4), %r14
	cmpq	%r12, %rbx
	jle	.L241
	movl	-1356(%rbp), %eax
	cmpl	%eax, 0(%r13,%r12,4)
	jle	.L241
	incq	%r12
	jmp	.L238
.L280:
	movl	-1356(%rbp), %eax
	cmpl	%eax, 0(%r13,%r8,4)
	jg	.L242
	decq	%r8
.L241:
	testq	%r8, %r8
	jns	.L280
.L242:
	movq	%r12, %rdx
	leaq	0(,%r12,8), %rax
	imulq	%r15, %rdx
	movq	%rax, -1320(%rbp)
	salq	$2, %rdx
	cmpq	%r8, %r12
	jl	.L244
	movq	-1336(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rdx, -1328(%rbp)
	call	realloc@PLT
	movq	-1344(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, -1336(%rbp)
	call	realloc@PLT
	movq	-1320(%rbp), %rsi
	movq	-1384(%rbp), %rdi
	movq	%rax, -1344(%rbp)
	call	realloc@PLT
	movq	-1320(%rbp), %rsi
	movq	-1312(%rbp), %rdi
	movq	%rax, -1384(%rbp)
	call	realloc@PLT
	movq	-1328(%rbp), %rsi
	movq	-1304(%rbp), %rdi
	movq	%rax, -1312(%rbp)
	call	realloc@PLT
	movq	-1400(%rbp), %rdi
	movq	%rax, -1320(%rbp)
	call	free@PLT
	movq	%r13, %rdi
	call	free@PLT
	movq	-1352(%rbp), %rdi
	call	free@PLT
	testq	%r12, %r12
	jg	.L245
	jmp	.L281
.L244:
	leaq	0(,%r8,4), %rax
	movq	-1336(%rbp), %rcx
	movq	-1304(%rbp), %rsi
	movq	%r8, -1424(%rbp)
	movq	%rax, -1320(%rbp)
	movq	-1336(%rbp), %rax
	movl	(%rax,%r8,4), %eax
	movl	%eax, (%rcx,%r14)
	movq	-1344(%rbp), %rax
	movq	-1344(%rbp), %rcx
	movl	(%rax,%r8,4), %eax
	movl	%eax, (%rcx,%r14)
	movq	-1384(%rbp), %rax
	movq	-1384(%rbp), %rcx
	movq	(%rax,%r8,8), %rax
	movq	%rax, (%rcx,%r12,8)
	movq	-1312(%rbp), %rax
	movq	-1312(%rbp), %rcx
	movq	(%rax,%r8,8), %rax
	movq	%rax, (%rcx,%r12,8)
	movq	-1328(%rbp), %rax
	cmpq	%rax, %rdx
	movq	%rax, %rcx
	movq	%r8, %rax
	cmovnb	%rdx, %rcx
	imulq	%r15, %rax
	addq	%r13, %r14
	subq	%rdx, %rcx
	leaq	(%rsi,%rax,4), %rsi
	movq	-1304(%rbp), %rax
	leaq	(%rax,%rdx), %rdi
	movq	-1416(%rbp), %rdx
	call	__memcpy_chk@PLT
	movq	-1320(%rbp), %rax
	movq	-1424(%rbp), %r8
	leaq	0(%r13,%rax), %rcx
	movl	(%r14), %eax
	movl	(%rcx), %edx
	movl	%edx, (%r14)
	movl	%eax, (%rcx)
	jmp	.L238
.L281:
	leaq	-1088(%rbp), %rax
	movl	-1356(%rbp), %esi
	movq	%rax, %rdi
	movq	%rax, %r15
	call	_ZNSolsEi@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE3:
	xorl	%eax, %eax
	movq	-1448(%rbp), %rbx
	xorl	%r12d, %r12d
	movq	%rax, -1112(%rbp)
	movq	%rax, -1104(%rbp)
	addq	$8, %rbx
	movq	%rax, -1096(%rbp)
.L248:
	cmpq	%r12, -1288(%rbp)
	jle	.L282
	movq	-1408(%rbp), %rcx
	movq	%r12, %rax
	sarq	$5, %rax
	movl	(%rcx,%rax,4), %eax
	btl	%r12d, %eax
	jnc	.L250
	movq	-1104(%rbp), %rsi
	cmpq	-1096(%rbp), %rsi
	je	.L251
	movq	(%rbx), %rax
	addq	$8, %rsi
	movq	%rax, -8(%rsi)
	movq	%rsi, -1104(%rbp)
	jmp	.L250
.L251:
	leaq	-1112(%rbp), %rdi
	movq	%rbx, %rdx
.LEHB4:
	call	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_
.L250:
	incq	%r12
	addq	$16, %rbx
	jmp	.L248
.L282:
	movq	-1104(%rbp), %r12
	movq	-1112(%rbp), %rbx
	leaq	.LC11(%rip), %r13
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_
.L254:
	cmpq	%rbx, %r12
	je	.L283
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	%rax, %rdi
	movq	%r13, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	addq	$8, %rbx
	jmp	.L254
.L283:
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	-1336(%rbp), %rdi
	call	free@PLT
	movq	-1344(%rbp), %rdi
	call	free@PLT
	movq	-1384(%rbp), %rdi
	call	free@PLT
	movq	-1312(%rbp), %rdi
	call	free@PLT
	movq	-1320(%rbp), %rdi
	call	free@PLT
	movq	-1408(%rbp), %rdi
	call	free@PLT
	movq	-1368(%rbp), %rdi
	call	free@PLT
	movq	-1376(%rbp), %rdi
	call	free@PLT
	movq	-1280(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L256
	call	cudaFree@PLT
	movq	-1272(%rbp), %rdi
	call	cudaFree@PLT
.L256:
	leaq	-576(%rbp), %rbx
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv@PLT
	movq	%r15, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movq	-1472(%rbp), %rcx
	leaq	.LC13(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	subq	%rcx, %rax
	cvtsi2sdq	%rax, %xmm0
	divsd	.LC12(%rip), %xmm0
	movq	%xmm0, %r12
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%r12, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE4:
	leaq	-1112(%rbp), %rdi
	call	_ZNSt6vectorIlSaIlEED1Ev
	leaq	-1136(%rbp), %rdi
	call	_ZNSt6vectorI5TItemSaIS0_EED1Ev
	movq	%r15, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
.L219:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L262
	jmp	.L275
.L267:
	endbr64
	movq	%rax, %rbx
.L257:
	leaq	-1112(%rbp), %rdi
	call	_ZNSt6vectorIlSaIlEED1Ev
	jmp	.L258
.L266:
	endbr64
	movq	%rax, %rbx
.L258:
	leaq	-1136(%rbp), %rdi
	call	_ZNSt6vectorI5TItemSaIS0_EED1Ev
	jmp	.L259
.L265:
	endbr64
	movq	%rax, %rbx
.L259:
	leaq	-1088(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L260
.L264:
	endbr64
	movq	%rax, %rbx
.L260:
	leaq	-576(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L275
	movq	%rbx, %rdi
.LEHB5:
	call	_Unwind_Resume@PLT
.LEHE5:
.L275:
	call	__stack_chk_fail@PLT
.L262:
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4486:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4486:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4486-.LLSDACSB4486
.LLSDACSB4486:
	.uleb128 .LEHB0-.LFB4486
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB4486
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L264-.LFB4486
	.uleb128 0
	.uleb128 .LEHB2-.LFB4486
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L265-.LFB4486
	.uleb128 0
	.uleb128 .LEHB3-.LFB4486
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L266-.LFB4486
	.uleb128 0
	.uleb128 .LEHB4-.LFB4486
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L267-.LFB4486
	.uleb128 0
	.uleb128 .LEHB5-.LFB4486
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE4486:
	.section	.text.startup
	.size	main, .-main
	.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
.LC12:
	.long	0
	.long	1104006501
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:


#include <hip/hip_runtime.h>
#include <algorithm>
#include <cassert>
#include <chrono>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>

struct TItem {
    int price;
    int weight;
    ssize_t index;
    bool operator<(const TItem& other) const {
        return (double)price / weight > (double)other.price / other.weight;
    }
};

const ssize_t BLOCK_SIZE = 32;

const ssize_t THREADS_PER_BLOCK = 512;

void CopyRecordSet(uint32_t* recordSet, const uint32_t* set, const uint32_t* lowerBoundAdditionalSet, ssize_t blockCount) {
    memcpy(recordSet, set, blockCount * sizeof(*set));
    for (ssize_t i = 0; i < blockCount; ++i) {
        recordSet[i] |= lowerBoundAdditionalSet[i];
    }
}

void BranchCPU(ssize_t e, const ssize_t* ind,
                const int* weightNode, const int* priceNode, const ssize_t* step, const ssize_t* last, const uint32_t* set,
                int* newWeightNode, int* newPriceNode, ssize_t* newStep, ssize_t* newLast, uint32_t* newSet,
                ssize_t stepCount, ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price) {
    ssize_t step_e = step[e], last_e = last[e], k = 0;
    ssize_t mayBeStepCount = last_e - step_e + 1;
    ssize_t realStepCount = mayBeStepCount < stepCount ? mayBeStepCount : stepCount;
    for (; k < realStepCount; ++k) {
        memcpy(newSet + (ind[e] + k) * blockCount, set + e * blockCount, blockCount * sizeof(*set));
        ssize_t newStepInd = step_e + k + 1;
        if (newStepInd - 1 == last_e) {
            newWeightNode[ind[e] + k] = weightNode[e];
            newPriceNode[ind[e] + k] = priceNode[e];
            for (; newStepInd < n && weightNode[e] + weight[newStepInd] > W; ++newStepInd);
            newStep[ind[e] + k] = newStepInd;
            newLast[ind[e] + k] = newStepInd;
            break;    
        } else {
            if (k == stepCount - 1) {
                newWeightNode[ind[e] + k] = weightNode[e];
                newPriceNode[ind[e] + k] = priceNode[e];
                newStep[ind[e] + k] = newStepInd - 1;
                newLast[ind[e] + k] = last_e;
            } else {
                newWeightNode[ind[e] + k] = weightNode[e] - weight[newStepInd - 1];
                newPriceNode[ind[e] + k] = priceNode[e] - price[newStepInd - 1];
                newStep[ind[e] + k] = newStepInd;
                newLast[ind[e] + k] = last_e;
                newSet[(ind[e] + k) * blockCount + (newStepInd - 1) / BLOCK_SIZE] ^= (((uint32_t)1) << ((uint32_t)((newStepInd - 1) % BLOCK_SIZE)));                
            }
        }
    }
}

void BoundCPU(ssize_t e, int* weightNode, int* priceNode, ssize_t* last, uint32_t* set, int* lowerBound, int* upperBound, uint32_t* lowerBoundAdditionalSet,
        ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price) {
    ssize_t i = last[e];
    int w_e = weightNode[e], p_e = priceNode[e], weight_i = 0, price_i = 0;
    for (; ; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (i < n && w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            set[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        } else {
            break;
        }
    }
    upperBound[e] = p_e + (weight_i ? (W - w_e) * price_i / weight_i : 0);
    weightNode[e] = w_e;
    priceNode[e] = p_e;
    last[e] = i;

    for (; i < n; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            lowerBoundAdditionalSet[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        }
    }
    lowerBound[e] = p_e;    
}

__global__ void BranchGPU(const ssize_t* ind,
                const int* weightNode, const int* priceNode, const ssize_t* step, const ssize_t* last, const uint32_t* set,
                int* newWeightNode, int* newPriceNode, ssize_t* newStep, ssize_t* newLast, uint32_t* newSet,
                ssize_t stepCount, ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price,
                ssize_t q) {
    ssize_t e = blockIdx.x * blockDim.x + threadIdx.x;
    if (e >= q) {
        return;
    }

    ssize_t step_e = step[e], last_e = last[e], k = 0;
    ssize_t mayBeStepCount = last_e - step_e + 1;
    ssize_t realStepCount = mayBeStepCount < stepCount ? mayBeStepCount : stepCount;
    for (; k < realStepCount; ++k) {
        memcpy(newSet + (ind[e] + k) * blockCount, set + e * blockCount, blockCount * sizeof(*set));
        ssize_t newStepInd = step_e + k + 1;
        if (newStepInd - 1 == last_e) {
            newWeightNode[ind[e] + k] = weightNode[e];
            newPriceNode[ind[e] + k] = priceNode[e];
            for (; newStepInd < n && weightNode[e] + weight[newStepInd] > W; ++newStepInd);
            newStep[ind[e] + k] = newStepInd;
            newLast[ind[e] + k] = newStepInd;
            break;    
        } else {
            if (k == stepCount - 1) {
                newWeightNode[ind[e] + k] = weightNode[e];
                newPriceNode[ind[e] + k] = priceNode[e];
                newStep[ind[e] + k] = newStepInd - 1;
                newLast[ind[e] + k] = last_e;
            } else {
                newWeightNode[ind[e] + k] = weightNode[e] - weight[newStepInd - 1];
                newPriceNode[ind[e] + k] = priceNode[e] - price[newStepInd - 1];
                newStep[ind[e] + k] = newStepInd;
                newLast[ind[e] + k] = last_e;
                newSet[(ind[e] + k) * blockCount + (newStepInd - 1) / BLOCK_SIZE] ^= (((uint32_t)1) << ((uint32_t)((newStepInd - 1) % BLOCK_SIZE)));                
            }
        }
    }
}

__global__ void BoundGPU(int* weightNode, int* priceNode, ssize_t* last, uint32_t* set,
                        int* lowerBound, int* upperBound, uint32_t* lowerBoundAdditionalSet,
                        ssize_t blockCount, ssize_t n, int W, const int* weight, const int* price,
                        ssize_t q) {
    ssize_t e = blockIdx.x * blockDim.x + threadIdx.x;
    if (e >= q) {
        return;
    }

    ssize_t i = last[e];
    int w_e = weightNode[e], p_e = priceNode[e], weight_i = 0, price_i = 0;
    for (; ; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (i < n && w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            set[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        } else {
            break;
        }
    }
    upperBound[e] = p_e + (weight_i ? (W - w_e) * price_i / weight_i : 0);
    weightNode[e] = w_e;
    priceNode[e] = p_e;
    last[e] = i;

    for (; i < n; ++i) {
        weight_i = weight[i];
        price_i = price[i];
        if (w_e + weight_i <= W) {
            w_e += weight_i;
            p_e += price_i;
            lowerBoundAdditionalSet[e * blockCount + i / BLOCK_SIZE] |= (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)));
        }
    }
    lowerBound[e] = p_e;    
}

int main(int argc, char* argv[]) {
    std::chrono::high_resolution_clock::time_point totalStart = std::chrono::high_resolution_clock::now();
 
    if (argc != 3 && argc != 4) {
        std::cerr << "Usage: " << argv[0] << " input_file output_file" << std::endl;
        std::cerr << "Or: " << argv[0] << " input_file output_file count_of_steps_in_branching" << std::endl;
        return 0;
    }

    ssize_t stepCount = 2;
    if (argc == 4) {
        stepCount = (ssize_t)atoi(argv[3]);
        if (stepCount < 2 || stepCount > 10) {
            std::cerr << "count_of_steps_in_branching must be in [2, 10]" << std::endl;
            return 0;
        }
    }

    std::ifstream fin(argv[1]);
    std::ofstream fout(argv[2]);

    int W;
    ssize_t n;
    fin >> n >> W;
    std::vector<TItem> items(n);
    for (ssize_t i = 0; i < n; ++i) {
        fin >> items[i].price >> items[i].weight;
        items[i].index = i + 1;
    }
    std::sort(items.begin(), items.end());

    int* weight = (int*)malloc((n + 1) * sizeof(*weight));
    int* price = (int*)malloc((n + 1) * sizeof(*price));
    for (ssize_t i = 0; i < n; ++i) {
        weight[i] = items[i].weight;
        price[i] = items[i].price;
    }
    weight[n] = price[n] = 0;
    int *cudaWeight = nullptr, *cudaPrice = nullptr;

    const ssize_t blockCount = (n + BLOCK_SIZE - 1) / BLOCK_SIZE;
    ssize_t q = 1;
    
    int* weightNode = (int*)calloc(q, sizeof(*weightNode));
    int* priceNode = (int*)calloc(q, sizeof(*priceNode));
    ssize_t* step = (ssize_t*)calloc(q, sizeof(*step));    
    ssize_t* last = (ssize_t*)calloc(q, sizeof(*last));
    uint32_t* set = (uint32_t*)calloc(q * blockCount, sizeof(*set));
    int* lowerBound = (int*)calloc(q, sizeof(*lowerBound));
    int* upperBound = (int*)calloc(q, sizeof(*upperBound));
    uint32_t* lowerBoundAdditionalSet = (uint32_t*)calloc(q * blockCount, sizeof(*lowerBoundAdditionalSet));
    
    BoundCPU(0, weightNode, priceNode, last, set, lowerBound, upperBound, lowerBoundAdditionalSet, blockCount, n, W, weight, price);

    int record = lowerBound[0];
    uint32_t* recordSet = (uint32_t*)calloc(blockCount, sizeof(*recordSet));
    CopyRecordSet(recordSet, set, lowerBoundAdditionalSet, blockCount);
 
    free(lowerBound);
    free(upperBound);
    free(lowerBoundAdditionalSet);

    ssize_t stepNum = 0;
    while (q > 0) {
        std::cout << "Step " << stepNum + 1 << ", q = " << q << std::endl;
        ++stepNum;
        
        ssize_t* ind = (ssize_t*)malloc((q + 1) * sizeof(*ind));
        ind[0] = 0;
        for (ssize_t e = 1; e <= q; ++e) {
            ind[e] = ind[e - 1] + std::min(last[e - 1] - step[e - 1] + 1, stepCount);
        }

        if (q > 1000000) {
            if (cudaWeight == nullptr) {
                hipMalloc(&cudaWeight, (n + 1) * sizeof(*cudaWeight));
                hipMalloc(&cudaPrice, (n + 1) * sizeof(*cudaPrice));
                hipMemcpy(cudaWeight, weight, (n + 1) * sizeof(*cudaWeight), hipMemcpyHostToDevice);
                hipMemcpy(cudaPrice, price, (n + 1) * sizeof(*cudaPrice), hipMemcpyHostToDevice);
            }
        
            int *cudaWeightNode, *cudaNewWeightNode;
            int *cudaPriceNode, *cudaNewPriceNode;
            ssize_t *cudaStep, *cudaNewStep;            
            ssize_t *cudaLast, *cudaNewLast;
            uint32_t *cudaSet, *cudaNewSet;
            ssize_t *cudaInd;

            hipMalloc(&cudaWeightNode, q * sizeof(*cudaWeightNode));
            hipMalloc(&cudaPriceNode, q * sizeof(*cudaPriceNode));
            hipMalloc(&cudaStep, q * sizeof(*cudaStep));            
            hipMalloc(&cudaLast, q * sizeof(*cudaLast));
            hipMalloc(&cudaSet, q * blockCount * sizeof(*cudaSet));
            hipMalloc(&cudaInd, (q + 1) * sizeof(*cudaInd));

            hipMemcpy(cudaWeightNode, weightNode, q * sizeof(*cudaWeightNode),hipMemcpyHostToDevice);
            hipMemcpy(cudaPriceNode, priceNode, q * sizeof(*cudaPriceNode), hipMemcpyHostToDevice);
            hipMemcpy(cudaStep, step, q * sizeof(*cudaStep), hipMemcpyHostToDevice);
            hipMemcpy(cudaLast, last, q * sizeof(*cudaLast), hipMemcpyHostToDevice);
            hipMemcpy(cudaSet, set, q * blockCount * sizeof(*cudaSet), hipMemcpyHostToDevice);
            hipMemcpy(cudaInd, ind, (q + 1) * sizeof(*cudaInd), hipMemcpyHostToDevice);

            hipMalloc(&cudaNewWeightNode, ind[q] * sizeof(*cudaNewWeightNode));
            hipMalloc(&cudaNewPriceNode, ind[q] * sizeof(*cudaNewPriceNode));
            hipMalloc(&cudaNewStep, ind[q] * sizeof(*cudaNewStep));            
            hipMalloc(&cudaNewLast, ind[q] * sizeof(*cudaNewLast));
            hipMalloc(&cudaNewSet, ind[q] * blockCount * sizeof(*cudaNewSet));

            ssize_t qBlock = (q + THREADS_PER_BLOCK - 1) / THREADS_PER_BLOCK;
            BranchGPU<<<qBlock, THREADS_PER_BLOCK>>>(cudaInd,
                cudaWeightNode, cudaPriceNode, cudaStep, cudaLast, cudaSet,
                cudaNewWeightNode, cudaNewPriceNode, cudaNewStep, cudaNewLast, cudaNewSet,
                stepCount, blockCount, n, W, cudaWeight, cudaPrice, q);

            hipDeviceSynchronize();

            q = ind[q];
            free(ind);
        
            hipFree(cudaWeightNode);
            hipFree(cudaPriceNode);
            hipFree(cudaStep);            
            hipFree(cudaLast);
            hipFree(cudaSet);            
            hipFree(cudaInd);

            lowerBoundAdditionalSet = (uint32_t*)calloc(q * blockCount, sizeof(*lowerBoundAdditionalSet));
            
            int* cudaLowerBound;
            int* cudaUpperBound;
            uint32_t* cudaLowerBoundAdditionalSet;
            hipMalloc(&cudaLowerBound, q * sizeof(*cudaLowerBound));
            hipMalloc(&cudaUpperBound, q * sizeof(*cudaUpperBound));
            hipMalloc(&cudaLowerBoundAdditionalSet, q * blockCount * sizeof(*cudaLowerBoundAdditionalSet));
            hipMemcpy(cudaLowerBoundAdditionalSet, lowerBoundAdditionalSet,
                        q * blockCount * sizeof(*cudaLowerBoundAdditionalSet),
                        hipMemcpyHostToDevice);

            qBlock = (q + THREADS_PER_BLOCK - 1) / THREADS_PER_BLOCK;
            BoundGPU<<<qBlock, THREADS_PER_BLOCK>>>(cudaNewWeightNode, cudaNewPriceNode, cudaNewLast, cudaNewSet,
                cudaLowerBound, cudaUpperBound, cudaLowerBoundAdditionalSet, blockCount, n, W, cudaWeight, cudaPrice, q);
            
            hipDeviceSynchronize();

            weightNode = (int*)realloc(weightNode, q * sizeof(*weightNode));
            priceNode = (int*)realloc(priceNode, q * sizeof(*priceNode));
            step = (ssize_t*)realloc(step, q * sizeof(*step));            
            last = (ssize_t*)realloc(last, q * sizeof(*last));
            set = (uint32_t*)realloc(set, q * blockCount * sizeof(*set));
            lowerBound = (int*)malloc(q * sizeof(*lowerBound));
            upperBound = (int*)malloc(q * sizeof(*upperBound));
            
            hipMemcpy(weightNode, cudaNewWeightNode, q * sizeof(*weightNode), hipMemcpyDeviceToHost);
            hipMemcpy(priceNode, cudaNewPriceNode, q * sizeof(*priceNode), hipMemcpyDeviceToHost);
            hipMemcpy(step, cudaNewStep, q * sizeof(*step), hipMemcpyDeviceToHost);            
            hipMemcpy(last, cudaNewLast, q * sizeof(*last), hipMemcpyDeviceToHost);
            hipMemcpy(set, cudaNewSet, q * blockCount * sizeof(*set), hipMemcpyDeviceToHost);
            hipMemcpy(lowerBound, cudaLowerBound, q * sizeof(*lowerBound), hipMemcpyDeviceToHost);
            hipMemcpy(upperBound, cudaUpperBound, q * sizeof(*upperBound), hipMemcpyDeviceToHost);    
            hipMemcpy(lowerBoundAdditionalSet, cudaLowerBoundAdditionalSet,
                        q * blockCount * sizeof(*lowerBoundAdditionalSet),
                        hipMemcpyDeviceToHost);        

            hipFree(cudaNewWeightNode);
            hipFree(cudaNewPriceNode);
            hipFree(cudaNewStep);
            hipFree(cudaNewLast);
            hipFree(cudaNewSet);
            hipFree(cudaLowerBound);
            hipFree(cudaUpperBound);
            hipFree(cudaLowerBoundAdditionalSet);
            
            for (ssize_t e = 0; e < q; ++e) {
                if (lowerBound[e] > record) {
                    record = lowerBound[e];
                    CopyRecordSet(recordSet, set + e * blockCount, lowerBoundAdditionalSet + e * blockCount, blockCount);
                }
            }
            
        } else {
        
            int* newWeightNode = (int*)calloc(ind[q], sizeof(*newWeightNode));
            int* newPriceNode = (int*)calloc(ind[q], sizeof(*newPriceNode));
            ssize_t* newStep = (ssize_t*)calloc(ind[q], sizeof(*newStep));            
            ssize_t* newLast = (ssize_t*)calloc(ind[q], sizeof(*newLast));
            uint32_t* newSet = (uint32_t*)calloc(ind[q] * blockCount, sizeof(*newSet));
            
            for (ssize_t e = 0; e < q; ++e) {
                BranchCPU(e, ind, weightNode, priceNode, step, last, set,
                            newWeightNode, newPriceNode, newStep, newLast, newSet,
                            stepCount, blockCount, n, W, weight, price);                
            }
            q = ind[q];
            free(ind);

            weightNode = (int*)realloc(weightNode, q * sizeof(*weightNode));
            priceNode = (int*)realloc(priceNode, q * sizeof(*priceNode));
            step = (ssize_t*)realloc(step, q * sizeof(*step));            
            last = (ssize_t*)realloc(last, q * sizeof(*last));
            set = (uint32_t*)realloc(set, q * blockCount * sizeof(*set));
            
            memcpy(weightNode, newWeightNode, q * sizeof(*weightNode));
            memcpy(priceNode, newPriceNode, q * sizeof(*priceNode));
            memcpy(step, newStep, q * sizeof(*step));            
            memcpy(last, newLast, q * sizeof(*last));
            memcpy(set, newSet, q * blockCount * sizeof(*set));
            
            free(newWeightNode);
            free(newPriceNode);
            free(newStep);            
            free(newLast);
            free(newSet);
            
            lowerBound = (int*)calloc(q, sizeof(*lowerBound));
            upperBound = (int*)calloc(q, sizeof(*upperBound));	
            lowerBoundAdditionalSet = (uint32_t*)calloc(q * blockCount, sizeof(*lowerBoundAdditionalSet));
        
            for (ssize_t e = 0; e < q; ++e) {
                BoundCPU(e, weightNode, priceNode, last, set, lowerBound, upperBound, lowerBoundAdditionalSet, blockCount, n, W, weight, price);
                if (lowerBound[e] > record) {
                    record = lowerBound[e];
                    CopyRecordSet(recordSet, set + e * blockCount, lowerBoundAdditionalSet + e * blockCount, blockCount);
                }
            }
        }

        ssize_t i = 0, j = q - 1;
        while (true) {
            while (i < q && upperBound[i] > record) {
                ++i;
            }
            while (j >= 0 && upperBound[j] <= record) {
                --j;
            }
            if (i >= j) {
                q = i;
                break;
            }
            weightNode[i] = weightNode[j];
            priceNode[i] = priceNode[j];
            step[i] = step[j];            
            last[i] = last[j];
            memcpy(set + i * blockCount, set + j * blockCount, blockCount * sizeof(*set));
            std::swap(upperBound[i], upperBound[j]);
        }
        
        weightNode = (int*)realloc(weightNode, q * sizeof(*weightNode));
        priceNode = (int*)realloc(priceNode, q * sizeof(*priceNode));
        step = (ssize_t*)realloc(step, q * sizeof(*step));        
        last = (ssize_t*)realloc(last, q * sizeof(*last));
        set = (uint32_t*)realloc(set, q * blockCount * sizeof(*set));

        free(lowerBound);
        free(upperBound);
        free(lowerBoundAdditionalSet);
    }

    fout << record << std::endl;
    std::vector<ssize_t> recordInd;
    for (ssize_t i = 0; i < n; ++i) {
        if (recordSet[i / BLOCK_SIZE] & (((uint32_t)1) << ((uint32_t)(i % BLOCK_SIZE)))) {
            recordInd.push_back(items[i].index);
        }
    }
    std::sort(recordInd.begin(), recordInd.end());
    for (auto ind : recordInd) {
        fout << ind << " ";
    }
    fout << std::endl;

    free(weightNode);
    free(priceNode);
    free(step);    
    free(last);
    free(set);
    free(recordSet);
    
    free(weight);
    free(price);
    if (cudaWeight != nullptr) {
        hipFree(cudaWeight);
        hipFree(cudaPrice);
    }

    fin.close();
    fout.close();
    
    std::chrono::high_resolution_clock::time_point totalEnd = std::chrono::high_resolution_clock::now();
    double totalTime = std::chrono::duration_cast<std::chrono::duration<double>>(totalEnd - totalStart).count();
    std::cout << "Total time: " << totalTime << std::endl;
    
    return 0;
}

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

                                        # End of file scope inline assembly
	.globl	_Z13CopyRecordSetPjPKjS1_l      # -- Begin function _Z13CopyRecordSetPjPKjS1_l
	.type	_Z13CopyRecordSetPjPKjS1_l,@function
_Z13CopyRecordSetPjPKjS1_l:             # @_Z13CopyRecordSetPjPKjS1_l
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rdi, %r15
	leaq	(,%rcx,4), %rdx
	callq	memcpy@PLT
	testq	%rbx, %rbx
	jle	.LBB0_3
# %bb.1:                                # %.lr.ph.preheader
	xorl	%eax, %eax
.LBB0_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	(%r14,%rax,4), %ecx
	orl	%ecx, (%r15,%rax,4)
	incq	%rax
	cmpq	%rax, %rbx
	jne	.LBB0_2
.LBB0_3:                                # %._crit_edge
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z13CopyRecordSetPjPKjS1_l, .Lfunc_end0-_Z13CopyRecordSetPjPKjS1_l
	.cfi_endproc
                                        # -- End function
	.globl	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_ # -- Begin function _Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_
	.type	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_,@function
_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_: # @_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_
	.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	$104, %rsp
	.cfi_def_cfa_offset 160
	.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	%rcx, 8(%rsp)                   # 8-byte Spill
	movq	208(%rsp), %rax
	movq	(%r8,%rdi,8), %r15
	movq	(%r9,%rdi,8), %r13
	movq	%r13, 16(%rsp)                  # 8-byte Spill
	subq	%r15, %r13
	incq	%r13
	cmpq	%rax, %r13
	cmovgeq	%rax, %r13
	testq	%r13, %r13
	jle	.LBB1_12
# %bb.1:                                # %.lr.ph
	movq	%rdx, %r10
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	248(%rsp), %rcx
	movq	240(%rsp), %r9
	movq	216(%rsp), %r12
	movq	192(%rsp), %rdi
	movq	184(%rsp), %r8
	movq	176(%rsp), %r11
	movq	168(%rsp), %rbp
	movq	160(%rsp), %rdx
	movq	%r12, %rsi
	imulq	%r14, %rsi
	leaq	(%rdx,%rsi,4), %rdx
	movq	%rdx, 96(%rsp)                  # 8-byte Spill
	leaq	-1(%rax), %rdx
	movq	%rdx, 72(%rsp)                  # 8-byte Spill
	leaq	-4(%rbp,%rax,4), %rdx
	movq	%rdx, 64(%rsp)                  # 8-byte Spill
	leaq	-4(%r11,%rax,4), %rdx
	movq	%rdx, 56(%rsp)                  # 8-byte Spill
	leaq	-8(%r8,%rax,8), %rdx
	movq	%rdx, 48(%rsp)                  # 8-byte Spill
	leaq	-8(%rdi,%rax,8), %rax
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	leaq	(%rcx,%r15,4), %rax
	movq	%rax, 32(%rsp)                  # 8-byte Spill
	movq	%r15, %rax
	subq	16(%rsp), %rax                  # 8-byte Folded Reload
	movq	%rax, 88(%rsp)                  # 8-byte Spill
	leaq	(,%r12,4), %rax
	movq	%rax, 80(%rsp)                  # 8-byte Spill
	leaq	(%r9,%r15,4), %rax
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	xorl	%r12d, %r12d
.LBB1_2:                                # =>This Inner Loop Header: Depth=1
	movq	%r10, %rbp
	movq	(%rbx,%r14,8), %rax
	addq	%r12, %rax
	imulq	216(%rsp), %rax
	movq	200(%rsp), %rcx
	leaq	(%rcx,%rax,4), %rdi
	movq	96(%rsp), %rsi                  # 8-byte Reload
	movq	80(%rsp), %rdx                  # 8-byte Reload
	callq	memcpy@PLT
	leaq	(%r15,%r12), %rax
	incq	%rax
	movq	88(%rsp), %rcx                  # 8-byte Reload
	addq	%r12, %rcx
	je	.LBB1_3
# %bb.8:                                #   in Loop: Header=BB1_2 Depth=1
	leaq	(%r15,%r12), %rcx
	movq	%rbp, %r10
	movl	(%rbp,%r14,4), %edx
	cmpq	%r12, 72(%rsp)                  # 8-byte Folded Reload
	jne	.LBB1_10
# %bb.9:                                #   in Loop: Header=BB1_2 Depth=1
	movq	(%rbx,%r14,8), %rax
	movq	64(%rsp), %rsi                  # 8-byte Reload
	movl	%edx, (%rsi,%rax,4)
	movq	8(%rsp), %rdx                   # 8-byte Reload
	movl	(%rdx,%r14,4), %edx
	movq	56(%rsp), %rsi                  # 8-byte Reload
	movl	%edx, (%rsi,%rax,4)
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movq	%rcx, (%rdx,%rax,8)
	movq	(%rbx,%r14,8), %rax
	movq	16(%rsp), %rcx                  # 8-byte Reload
	movq	40(%rsp), %rdx                  # 8-byte Reload
	movq	%rcx, (%rdx,%rax,8)
	jmp	.LBB1_11
.LBB1_10:                               #   in Loop: Header=BB1_2 Depth=1
	movq	24(%rsp), %rsi                  # 8-byte Reload
	subl	(%rsi,%r12,4), %edx
	movq	(%rbx,%r14,8), %rsi
	movq	168(%rsp), %rdi
	leaq	(%rdi,%rsi,4), %rdi
	movl	%edx, (%rdi,%r12,4)
	movq	8(%rsp), %rdx                   # 8-byte Reload
	movl	(%rdx,%r14,4), %edx
	movq	32(%rsp), %rdi                  # 8-byte Reload
	subl	(%rdi,%r12,4), %edx
	movq	176(%rsp), %rdi
	leaq	(%rdi,%rsi,4), %rdi
	movl	%edx, (%rdi,%r12,4)
	movq	184(%rsp), %rdx
	leaq	(%rdx,%rsi,8), %rdx
	movq	%rax, (%rdx,%r12,8)
	movq	(%rbx,%r14,8), %rax
	movq	192(%rsp), %rdx
	leaq	(%rdx,%rax,8), %rax
	movq	16(%rsp), %rdx                  # 8-byte Reload
	movq	%rdx, (%rax,%r12,8)
	leaq	31(%rcx), %rax
	testq	%rcx, %rcx
	cmovnsq	%rcx, %rax
	movl	%eax, %edx
	andl	$224, %edx
	subl	%edx, %ecx
	movl	$1, %edx
                                        # kill: def $cl killed $cl killed $rcx
	shll	%cl, %edx
	movq	(%rbx,%r14,8), %rcx
	addq	%r12, %rcx
	imulq	216(%rsp), %rcx
	sarq	$5, %rax
	movq	200(%rsp), %rsi
	leaq	(%rsi,%rcx,4), %rcx
	xorl	%edx, (%rcx,%rax,4)
.LBB1_11:                               #   in Loop: Header=BB1_2 Depth=1
	incq	%r12
	cmpq	%r12, %r13
	jne	.LBB1_2
	jmp	.LBB1_12
.LBB1_3:
	movl	(%rbp,%r14,4), %edx
	movq	(%rbx,%r14,8), %rcx
	movq	168(%rsp), %rsi
	leaq	(%rsi,%rcx,4), %rsi
	movl	%edx, (%rsi,%r12,4)
	movq	8(%rsp), %rdx                   # 8-byte Reload
	movl	(%rdx,%r14,4), %edx
	movq	176(%rsp), %rsi
	leaq	(%rsi,%rcx,4), %rsi
	movl	%edx, (%rsi,%r12,4)
	movq	224(%rsp), %r9
	cmpq	%r9, %rax
	jge	.LBB1_7
# %bb.4:                                # %.lr.ph123
	movl	(%rbp,%r14,4), %edx
	movq	240(%rsp), %rdi
	movl	232(%rsp), %r8d
.LBB1_5:                                # =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rax,4), %esi
	addl	%edx, %esi
	cmpl	%r8d, %esi
	jle	.LBB1_7
# %bb.6:                                #   in Loop: Header=BB1_5 Depth=1
	incq	%rax
	cmpq	%r9, %rax
	jl	.LBB1_5
.LBB1_7:                                # %._crit_edge
	movq	184(%rsp), %rdx
	leaq	(%rdx,%rcx,8), %rcx
	movq	%rax, (%rcx,%r12,8)
	movq	(%rbx,%r14,8), %rcx
	movq	192(%rsp), %rdx
	leaq	(%rdx,%rcx,8), %rcx
	movq	%rax, (%rcx,%r12,8)
.LBB1_12:                               # %.loopexit
	addq	$104, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_, .Lfunc_end1-_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_
	.cfi_endproc
                                        # -- End function
	.globl	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_ # -- Begin function _Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	.type	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_,@function
_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_:   # @_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	.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
	.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	%r8, -16(%rsp)                  # 8-byte Spill
	movq	104(%rsp), %r11
	movq	96(%rsp), %r14
	movl	88(%rsp), %r15d
	movq	80(%rsp), %r12
	movq	72(%rsp), %r8
	movq	(%rcx,%rdi,8), %r13
	movl	(%rsi,%rdi,4), %ebx
	movq	%rdx, -8(%rsp)                  # 8-byte Spill
	movl	(%rdx,%rdi,4), %ebp
	movl	(%r14,%r13,4), %r10d
	movl	(%r11,%r13,4), %eax
	cmpq	%r12, %r13
	jge	.LBB2_6
# %bb.1:                                # %.lr.ph
	movq	%rcx, -32(%rsp)                 # 8-byte Spill
	movq	%r9, -24(%rsp)                  # 8-byte Spill
	imulq	%rdi, %r8
	movq	-16(%rsp), %rcx                 # 8-byte Reload
	leaq	(%rcx,%r8,4), %rdx
.LBB2_2:                                # =>This Inner Loop Header: Depth=1
	leal	(%r10,%rbx), %r8d
	cmpl	%r15d, %r8d
	jg	.LBB2_5
# %bb.3:                                #   in Loop: Header=BB2_2 Depth=1
	addl	%eax, %ebp
	leaq	31(%r13), %rax
	testq	%r13, %r13
	cmovnsq	%r13, %rax
	movl	%eax, %r9d
	andl	$224, %r9d
	movl	%r13d, %ecx
	subl	%r9d, %ecx
	movl	$1, %r9d
                                        # kill: def $cl killed $cl killed $ecx
	shll	%cl, %r9d
	sarq	$5, %rax
	orl	%r9d, (%rdx,%rax,4)
	movl	4(%r14,%r13,4), %r10d
	movl	4(%r11,%r13,4), %eax
	movq	%r11, %rcx
	leaq	1(%r13), %r11
	movl	%r8d, %ebx
	movq	%r11, %r13
	cmpq	%r11, %r12
	movq	%rcx, %r11
	jne	.LBB2_2
# %bb.4:
	movq	%r12, %r13
	movl	%r8d, %ebx
.LBB2_5:                                # %._crit_edge
	movq	-24(%rsp), %r9                  # 8-byte Reload
	movq	-32(%rsp), %rcx                 # 8-byte Reload
	movq	72(%rsp), %r8
.LBB2_6:                                # %._crit_edge
	movq	56(%rsp), %rdx
	testl	%r10d, %r10d
	je	.LBB2_7
# %bb.8:
	movl	%r15d, %edx
	subl	%ebx, %edx
	imull	%edx, %eax
	cltd
	idivl	%r10d
	movq	56(%rsp), %rdx
	jmp	.LBB2_9
.LBB2_7:
	xorl	%eax, %eax
.LBB2_9:
	addl	%ebp, %eax
	movl	%eax, (%rdx,%rdi,4)
	movl	%ebx, (%rsi,%rdi,4)
	movq	-8(%rsp), %rax                  # 8-byte Reload
	movl	%ebp, (%rax,%rdi,4)
	movq	%r13, (%rcx,%rdi,8)
	cmpq	%r12, %r13
	jge	.LBB2_14
# %bb.10:                               # %.lr.ph91
	movq	64(%rsp), %rax
	imulq	%rdi, %r8
	leaq	(%rax,%r8,4), %rax
.LBB2_11:                               # =>This Inner Loop Header: Depth=1
	movl	(%r14,%r13,4), %edx
	addl	%ebx, %edx
	cmpl	%r15d, %edx
	jg	.LBB2_13
# %bb.12:                               #   in Loop: Header=BB2_11 Depth=1
	addl	(%r11,%r13,4), %ebp
	leaq	31(%r13), %rsi
	testq	%r13, %r13
	cmovnsq	%r13, %rsi
	movl	%esi, %r8d
	andl	$224, %r8d
	movl	%r13d, %ecx
	subl	%r8d, %ecx
	movl	$1, %r8d
                                        # kill: def $cl killed $cl killed $ecx
	shll	%cl, %r8d
	sarq	$5, %rsi
	orl	%r8d, (%rax,%rsi,4)
	movl	%edx, %ebx
.LBB2_13:                               #   in Loop: Header=BB2_11 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	jne	.LBB2_11
.LBB2_14:                               # %._crit_edge92
	movl	%ebp, (%r9,%rdi,4)
	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
.Lfunc_end2:
	.size	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_, .Lfunc_end2-_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	.cfi_endproc
                                        # -- End function
	.globl	_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l # -- Begin function _Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.type	_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l,@function
_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l: # @_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.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	$240, %rsp
	.cfi_def_cfa_offset 288
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	16(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	312(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	320(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	328(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	336(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	344(%rsp), %rax
	movq	%rax, 104(%rbx)
	leaq	352(%rsp), %rax
	movq	%rax, 112(%rbx)
	leaq	360(%rsp), %rax
	movq	%rax, 120(%rbx)
	leaq	368(%rsp), %rax
	movq	%rax, 128(%rbx)
	leaq	376(%rsp), %rax
	movq	%rax, 136(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%rsp, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$256, %rsp                      # imm = 0x100
	.cfi_adjust_cfa_offset -256
	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	_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, .Lfunc_end3-_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.cfi_endproc
                                        # -- End function
	.globl	_Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l # -- Begin function _Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.type	_Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l,@function
_Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l: # @_Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$208, %rsp
	.cfi_def_cfa_offset 256
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	16(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	256(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%rsp, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$224, %rsp
	.cfi_adjust_cfa_offset -224
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l, .Lfunc_end4-_Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function main
.LCPI5_0:
	.quad	0x41cdcd6500000000              # double 1.0E+9
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1400, %rsp                     # imm = 0x578
	.cfi_def_cfa_offset 1456
	.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, %r14d
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	leal	-5(%r14), %ecx
	cmpl	$-3, %ecx
	ja	.LBB5_3
# %bb.1:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	.LBB5_6
# %bb.2:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	strlen
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	jmp	.LBB5_7
.LBB5_3:
	movq	%rax, 344(%rsp)                 # 8-byte Spill
	movl	$2, %r12d
	cmpl	$4, %r14d
	jne	.LBB5_13
# %bb.4:
	movq	24(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	callq	atoi
                                        # kill: def $eax killed $eax def $rax
	leal	-11(%rax), %ecx
	cmpl	$-10, %ecx
	ja	.LBB5_12
# %bb.5:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %ebx
	movl	$_ZSt4cerr, %edi
	movl	$.L.str.4, %esi
	movl	$46, %edx
	jmp	.LBB5_11
.LBB5_6:
	movq	_ZSt4cerr(%rip), %rax
	movq	-24(%rax), %rax
	leaq	_ZSt4cerr(%rax), %rdi
	movl	32(%rdi), %esi
	orl	$1, %esi
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.LBB5_7:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %r14d
	movl	$_ZSt4cerr, %edi
	movl	$.L.str.1, %esi
	movl	$23, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cerr(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	callq	_ZNSo3putEc
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	movl	$.L.str.2, %esi
	movl	$4, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	.LBB5_9
# %bb.8:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	strlen
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	jmp	.LBB5_10
.LBB5_9:
	movq	_ZSt4cerr(%rip), %rax
	movq	-24(%rax), %rax
	leaq	_ZSt4cerr(%rax), %rdi
	movl	32(%rdi), %esi
	orl	$1, %esi
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.LBB5_10:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit428
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %ebx
	movl	$_ZSt4cerr, %edi
	movl	$.L.str.3, %esi
	movl	$51, %edx
.LBB5_11:
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cerr(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	callq	_ZNSo3putEc
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	jmp	.LBB5_176
.LBB5_12:
	movl	%eax, %r12d
.LBB5_13:
	movq	8(%rbx), %rsi
	.cfi_escape 0x2e, 0x00
	leaq	880(%rsp), %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
	movq	16(%rbx), %rsi
.Ltmp0:
	.cfi_escape 0x2e, 0x00
	leaq	368(%rsp), %rdi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp1:
# %bb.14:
.Ltmp3:
	.cfi_escape 0x2e, 0x00
	leaq	880(%rsp), %rdi
	leaq	32(%rsp), %rsi
	callq	_ZNSi10_M_extractIlEERSiRT_
.Ltmp4:
# %bb.15:                               # %_ZNSirsERl.exit
.Ltmp5:
	.cfi_escape 0x2e, 0x00
	leaq	60(%rsp), %rsi
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp6:
# %bb.16:
	movq	32(%rsp), %rsi
.Ltmp8:
	.cfi_escape 0x2e, 0x00
	leaq	296(%rsp), %rdi
	leaq	144(%rsp), %rdx
	callq	_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
.Ltmp9:
# %bb.17:
	movq	32(%rsp), %r13
	testq	%r13, %r13
	jle	.LBB5_22
# %bb.18:                               # %.lr.ph.preheader
	movq	296(%rsp), %rsi
	xorl	%r14d, %r14d
	leaq	880(%rsp), %rbx
	xorl	%r15d, %r15d
.LBB5_19:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	addq	%r14, %rsi
.Ltmp11:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_ZNSirsERi
.Ltmp12:
# %bb.20:                               #   in Loop: Header=BB5_19 Depth=1
	movq	296(%rsp), %rcx
	leaq	(%rcx,%r14), %rsi
	addq	$4, %rsi
.Ltmp13:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp14:
# %bb.21:                               #   in Loop: Header=BB5_19 Depth=1
	incq	%r15
	movq	296(%rsp), %rsi
	movq	%r15, 8(%rsi,%r14)
	movq	32(%rsp), %r13
	addq	$16, %r14
	cmpq	%r13, %r15
	jl	.LBB5_19
.LBB5_22:                               # %._crit_edge
	movq	296(%rsp), %rbx
	movq	304(%rsp), %r14
	cmpq	%r14, %rbx
	je	.LBB5_29
# %bb.23:
	movq	%r14, %rax
	subq	%rbx, %rax
	sarq	$4, %rax
	je	.LBB5_25
# %bb.24:                               # %cond.false
	bsrq	%rax, %rax
	xorq	$63, %rax
	jmp	.LBB5_26
.LBB5_25:
	movl	$64, %eax
.LBB5_26:                               # %cond.end
	addq	%rax, %rax
	movl	$126, %edx
	subq	%rax, %rdx
.Ltmp16:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_
.Ltmp17:
# %bb.27:                               # %.noexc
.Ltmp18:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
.Ltmp19:
# %bb.28:                               # %.noexc._ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_.exit_crit_edge
	movq	32(%rsp), %r13
.LBB5_29:                               # %_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEEEvT_S8_.exit
	movq	%r12, 224(%rsp)                 # 8-byte Spill
	leaq	4(,%r13,4), %rbx
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	malloc
	testq	%r13, %r13
	jle	.LBB5_32
# %bb.30:                               # %.lr.ph569
	movq	296(%rsp), %rsi
	addq	$4, %rsi
	xorl	%ecx, %ecx
.LBB5_31:                               # =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edx
	movl	%edx, (%r14,%rcx,4)
	movl	-4(%rsi), %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	addq	$16, %rsi
	cmpq	%rcx, %r13
	jne	.LBB5_31
.LBB5_32:                               # %._crit_edge570
	xorl	%ecx, %ecx
	movl	%ecx, (%rax,%r13,4)
	movl	%ecx, (%r14,%r13,4)
	movq	%rcx, 104(%rsp)
	movq	%rcx, 136(%rsp)
	leaq	31(%r13), %rcx
	leaq	62(%r13), %r15
	testq	%rcx, %rcx
	cmovnsq	%rcx, %r15
	sarq	$5, %r15
	.cfi_escape 0x2e, 0x00
	movl	$1, %ebp
	movl	$1, %edi
	movq	%r14, 120(%rsp)                 # 8-byte Spill
	movq	%r13, 208(%rsp)                 # 8-byte Spill
	movq	%rax, 112(%rsp)                 # 8-byte Spill
	movl	$4, %esi
	callq	calloc
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$1, %edi
	movl	$4, %esi
	callq	calloc
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$1, %edi
	movl	$8, %esi
	callq	calloc
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$1, %edi
	movl	$8, %esi
	callq	calloc
	movq	%rax, (%rsp)                    # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, %r14
	movq	%rax, 72(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$1, %edi
	movl	$4, %esi
	callq	calloc
	movq	%rax, %r13
	.cfi_escape 0x2e, 0x00
	movl	$1, %edi
	movl	$4, %esi
	callq	calloc
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, %r12
	movl	60(%rsp), %eax
	.cfi_escape 0x2e, 0x40
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	xorl	%edi, %edi
	movq	56(%rsp), %rsi                  # 8-byte Reload
	movq	32(%rsp), %rdx                  # 8-byte Reload
	movq	8(%rsp), %rcx                   # 8-byte Reload
	movq	%r14, %r8
	movq	%r13, %r9
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	movq	240(%rsp), %r14                 # 8-byte Reload
	pushq	%r14
	.cfi_adjust_cfa_offset 8
	pushq	%r15
	.cfi_adjust_cfa_offset 8
	pushq	%r12
	.cfi_adjust_cfa_offset 8
	movq	%rbx, 72(%rsp)                  # 8-byte Spill
	pushq	%rbx
	.cfi_adjust_cfa_offset 8
	callq	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	addq	$64, %rsp
	.cfi_adjust_cfa_offset -64
	movq	%r13, 8(%rsp)                   # 8-byte Spill
	movl	(%r13), %ebx
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, %r13
	leaq	(,%r15,4), %rdx
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	movq	72(%rsp), %rsi                  # 8-byte Reload
	movq	%rdx, 96(%rsp)                  # 8-byte Spill
	callq	memcpy@PLT
	testq	%r14, %r14
	jle	.LBB5_35
# %bb.33:                               # %.lr.ph.i.preheader
	xorl	%eax, %eax
.LBB5_34:                               # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	movl	(%r12,%rax,4), %ecx
	orl	%ecx, (%r13,%rax,4)
	incq	%rax
	cmpq	%rax, %r15
	jne	.LBB5_34
.LBB5_35:                               # %_Z13CopyRecordSetPjPKjS1_l.exit
	movq	%r15, 80(%rsp)                  # 8-byte Spill
	movq	%r13, 128(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	8(%rsp), %rdi                   # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	16(%rsp), %rdi                  # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	callq	free
	xorl	%r15d, %r15d
	movq	224(%rsp), %r13                 # 8-byte Reload
	movq	(%rsp), %r12                    # 8-byte Reload
.LBB5_36:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB5_44 Depth 2
                                        #     Child Loop BB5_113 Depth 2
                                        #     Child Loop BB5_116 Depth 2
                                        #       Child Loop BB5_119 Depth 3
                                        #     Child Loop BB5_106 Depth 2
                                        #       Child Loop BB5_109 Depth 3
                                        #     Child Loop BB5_123 Depth 2
                                        #       Child Loop BB5_124 Depth 3
                                        #       Child Loop BB5_128 Depth 3
.Ltmp21:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.5, %esi
	movl	$5, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp22:
# %bb.37:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit431
                                        #   in Loop: Header=BB5_36 Depth=1
	incq	%r15
.Ltmp23:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movq	%r15, %rsi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp24:
# %bb.38:                               # %_ZNSolsEl.exit
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp25:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp26:
# %bb.39:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit434
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp27:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movq	%rbp, %rsi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp28:
# %bb.40:                               # %_ZNSolsEl.exit436
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp29:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp30:
# %bb.41:                               # %.noexc498
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp31:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp32:
# %bb.42:                               # %.noexc499
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp33:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp34:
# %bb.43:                               # %.lr.ph573.preheader
                                        #   in Loop: Header=BB5_36 Depth=1
	leaq	(,%rbp,8), %rax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	leaq	8(,%rbp,8), %rdi
	.cfi_escape 0x2e, 0x00
	movq	%rdi, 16(%rsp)                  # 8-byte Spill
	callq	malloc
	movq	%rax, %r14
	movq	$0, (%rax)
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	40(%rsp), %rsi                  # 8-byte Reload
.LBB5_44:                               # %.lr.ph573
                                        #   Parent Loop BB5_36 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	(%r12,%rax,8), %rdx
	subq	(%rsi,%rax,8), %rdx
	incq	%rdx
	cmpq	%r13, %rdx
	jl	.LBB5_46
# %bb.45:                               # %.lr.ph573
                                        #   in Loop: Header=BB5_44 Depth=2
	movq	%r13, %rdx
.LBB5_46:                               # %.lr.ph573
                                        #   in Loop: Header=BB5_44 Depth=2
	addq	%rdx, %rcx
	movq	%rcx, 8(%r14,%rax,8)
	incq	%rax
	cmpq	%rax, %rbp
	jne	.LBB5_44
# %bb.47:                               # %._crit_edge574
                                        #   in Loop: Header=BB5_36 Depth=1
	cmpq	$1000000, %rbp                  # imm = 0xF4240
	movq	%r15, 352(%rsp)                 # 8-byte Spill
	movq	%r12, (%rsp)                    # 8-byte Spill
	jbe	.LBB5_112
# %bb.48:                               #   in Loop: Header=BB5_36 Depth=1
	cmpq	$0, 104(%rsp)
	jne	.LBB5_53
# %bb.49:                               #   in Loop: Header=BB5_36 Depth=1
	movq	32(%rsp), %rax
	leaq	4(,%rax,4), %rsi
.Ltmp36:
	.cfi_escape 0x2e, 0x00
	leaq	104(%rsp), %rdi
	callq	hipMalloc
.Ltmp37:
# %bb.50:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	32(%rsp), %rax
	leaq	4(,%rax,4), %rsi
.Ltmp38:
	.cfi_escape 0x2e, 0x00
	leaq	136(%rsp), %rdi
	callq	hipMalloc
.Ltmp39:
# %bb.51:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit440
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	104(%rsp), %rdi
	movq	32(%rsp), %rax
	leaq	4(,%rax,4), %rdx
.Ltmp40:
	.cfi_escape 0x2e, 0x00
	movq	120(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp41:
# %bb.52:                               #   in Loop: Header=BB5_36 Depth=1
	movq	136(%rsp), %rdi
	movq	32(%rsp), %rax
	leaq	4(,%rax,4), %rdx
.Ltmp42:
	.cfi_escape 0x2e, 0x00
	movq	112(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp43:
.LBB5_53:                               #   in Loop: Header=BB5_36 Depth=1
	leaq	(,%rbp,4), %r15
.Ltmp45:
	.cfi_escape 0x2e, 0x00
	leaq	144(%rsp), %rdi
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp46:
# %bb.54:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit442
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp47:
	.cfi_escape 0x2e, 0x00
	leaq	288(%rsp), %rdi
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp48:
# %bb.55:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit444
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp49:
	.cfi_escape 0x2e, 0x00
	leaq	280(%rsp), %rdi
	movq	8(%rsp), %rsi                   # 8-byte Reload
	callq	hipMalloc
.Ltmp50:
# %bb.56:                               # %_ZL9hipMallocIlE10hipError_tPPT_m.exit
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp51:
	.cfi_escape 0x2e, 0x00
	leaq	264(%rsp), %rdi
	movq	8(%rsp), %rsi                   # 8-byte Reload
	callq	hipMalloc
.Ltmp52:
# %bb.57:                               # %_ZL9hipMallocIlE10hipError_tPPT_m.exit447
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	96(%rsp), %r12                  # 8-byte Reload
	imulq	%rbp, %r12
.Ltmp53:
	.cfi_escape 0x2e, 0x00
	leaq	256(%rsp), %rdi
	movq	%r12, %rsi
	callq	hipMalloc
.Ltmp54:
# %bb.58:                               # %_ZL9hipMallocIjE10hipError_tPPT_m.exit
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp55:
	.cfi_escape 0x2e, 0x00
	leaq	248(%rsp), %rdi
	movq	16(%rsp), %rsi                  # 8-byte Reload
	callq	hipMalloc
.Ltmp56:
# %bb.59:                               # %_ZL9hipMallocIlE10hipError_tPPT_m.exit450
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	144(%rsp), %rdi
.Ltmp57:
	.cfi_escape 0x2e, 0x00
	movq	48(%rsp), %rsi                  # 8-byte Reload
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp58:
# %bb.60:                               #   in Loop: Header=BB5_36 Depth=1
	movq	288(%rsp), %rdi
.Ltmp59:
	.cfi_escape 0x2e, 0x00
	movq	24(%rsp), %rsi                  # 8-byte Reload
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp60:
# %bb.61:                               #   in Loop: Header=BB5_36 Depth=1
	movq	280(%rsp), %rdi
.Ltmp61:
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rsi                  # 8-byte Reload
	movq	8(%rsp), %rdx                   # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp62:
# %bb.62:                               #   in Loop: Header=BB5_36 Depth=1
	movq	264(%rsp), %rdi
.Ltmp63:
	.cfi_escape 0x2e, 0x00
	movq	(%rsp), %rsi                    # 8-byte Reload
	movq	8(%rsp), %rdx                   # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp64:
# %bb.63:                               #   in Loop: Header=BB5_36 Depth=1
	movq	256(%rsp), %rdi
.Ltmp65:
	.cfi_escape 0x2e, 0x00
	movq	72(%rsp), %rsi                  # 8-byte Reload
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp66:
# %bb.64:                               #   in Loop: Header=BB5_36 Depth=1
	movq	248(%rsp), %rdi
.Ltmp67:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rsi
	movq	16(%rsp), %rdx                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp68:
# %bb.65:                               #   in Loop: Header=BB5_36 Depth=1
	movq	(%r14,%rbp,8), %rsi
	shlq	$2, %rsi
.Ltmp69:
	.cfi_escape 0x2e, 0x00
	leaq	200(%rsp), %rdi
	callq	hipMalloc
.Ltmp70:
# %bb.66:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit452
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	(%r14,%rbp,8), %rsi
	shlq	$2, %rsi
.Ltmp71:
	.cfi_escape 0x2e, 0x00
	leaq	192(%rsp), %rdi
	callq	hipMalloc
.Ltmp72:
# %bb.67:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit454
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	(%r14,%rbp,8), %rsi
	shlq	$3, %rsi
.Ltmp73:
	.cfi_escape 0x2e, 0x00
	leaq	272(%rsp), %rdi
	callq	hipMalloc
.Ltmp74:
# %bb.68:                               # %_ZL9hipMallocIlE10hipError_tPPT_m.exit456
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	(%r14,%rbp,8), %rsi
	shlq	$3, %rsi
.Ltmp75:
	.cfi_escape 0x2e, 0x00
	leaq	184(%rsp), %rdi
	callq	hipMalloc
.Ltmp76:
# %bb.69:                               # %_ZL9hipMallocIlE10hipError_tPPT_m.exit458
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	(%r14,%rbp,8), %rsi
	imulq	96(%rsp), %rsi                  # 8-byte Folded Reload
.Ltmp77:
	.cfi_escape 0x2e, 0x00
	leaq	176(%rsp), %rdi
	callq	hipMalloc
.Ltmp78:
# %bb.70:                               # %_ZL9hipMallocIjE10hipError_tPPT_m.exit460
                                        #   in Loop: Header=BB5_36 Depth=1
	leaq	511(%rbp), %rax
	shrq	$9, %rax
	movl	%eax, %edi
	movabsq	$4294967296, %rax               # imm = 0x100000000
	orq	%rax, %rdi
.Ltmp80:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movabsq	$4294967808, %rdx               # imm = 0x100000200
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp81:
# %bb.71:                               #   in Loop: Header=BB5_36 Depth=1
	testl	%eax, %eax
	jne	.LBB5_73
# %bb.72:                               #   in Loop: Header=BB5_36 Depth=1
	movq	248(%rsp), %rdi
	movq	144(%rsp), %rsi
	movq	288(%rsp), %rdx
	movq	280(%rsp), %rcx
	movq	264(%rsp), %r8
	movq	256(%rsp), %r9
	movl	60(%rsp), %eax
.Ltmp82:
	.cfi_escape 0x2e, 0x60
	pushq	%rbp
	.cfi_adjust_cfa_offset 8
	pushq	144(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	%r13
	.cfi_adjust_cfa_offset 8
	pushq	232(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	248(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	344(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	272(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	288(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
.Ltmp83:
.LBB5_73:                               #   in Loop: Header=BB5_36 Depth=1
.Ltmp84:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp85:
# %bb.74:                               #   in Loop: Header=BB5_36 Depth=1
	movq	(%r14,%rbp,8), %r15
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	free
	movq	144(%rsp), %rdi
.Ltmp86:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp87:
# %bb.75:                               #   in Loop: Header=BB5_36 Depth=1
	movq	288(%rsp), %rdi
.Ltmp88:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp89:
# %bb.76:                               #   in Loop: Header=BB5_36 Depth=1
	movq	280(%rsp), %rdi
.Ltmp90:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp91:
# %bb.77:                               #   in Loop: Header=BB5_36 Depth=1
	movq	264(%rsp), %rdi
.Ltmp92:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp93:
# %bb.78:                               #   in Loop: Header=BB5_36 Depth=1
	movq	256(%rsp), %rdi
.Ltmp94:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp95:
# %bb.79:                               #   in Loop: Header=BB5_36 Depth=1
	movq	248(%rsp), %rdi
.Ltmp96:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp97:
# %bb.80:                               #   in Loop: Header=BB5_36 Depth=1
	movq	%r15, %rbp
	imulq	80(%rsp), %rbp                  # 8-byte Folded Reload
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%rbp, %rdi
	callq	calloc
	movq	%rax, %r13
	leaq	(,%r15,4), %rsi
.Ltmp99:
	.cfi_escape 0x2e, 0x00
	leaq	240(%rsp), %rdi
	movq	%rsi, 64(%rsp)                  # 8-byte Spill
	callq	hipMalloc
.Ltmp100:
	movq	24(%rsp), %r14                  # 8-byte Reload
# %bb.81:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit462
                                        #   in Loop: Header=BB5_36 Depth=1
.Ltmp101:
	.cfi_escape 0x2e, 0x00
	leaq	232(%rsp), %rdi
	movq	64(%rsp), %rsi                  # 8-byte Reload
	callq	hipMalloc
.Ltmp102:
# %bb.82:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit464
                                        #   in Loop: Header=BB5_36 Depth=1
	shlq	$2, %rbp
.Ltmp103:
	.cfi_escape 0x2e, 0x00
	leaq	168(%rsp), %rdi
	movq	%rbp, %rsi
	callq	hipMalloc
.Ltmp104:
# %bb.83:                               # %_ZL9hipMallocIjE10hipError_tPPT_m.exit466
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	168(%rsp), %rdi
.Ltmp105:
	.cfi_escape 0x2e, 0x00
	movq	%r13, %rsi
	movq	%rbp, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp106:
# %bb.84:                               #   in Loop: Header=BB5_36 Depth=1
	leaq	511(%r15), %rax
	leaq	1022(%r15), %rcx
	testq	%rax, %rax
	cmovnsq	%rax, %rcx
	shrq	$9, %rcx
	movl	%ecx, %edi
	movabsq	$4294967296, %rax               # imm = 0x100000000
	orq	%rax, %rdi
.Ltmp107:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movabsq	$4294967808, %rdx               # imm = 0x100000200
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp108:
# %bb.85:                               #   in Loop: Header=BB5_36 Depth=1
	testl	%eax, %eax
	jne	.LBB5_87
# %bb.86:                               #   in Loop: Header=BB5_36 Depth=1
	movq	200(%rsp), %rdi
	movq	192(%rsp), %rsi
	movq	184(%rsp), %rdx
	movq	176(%rsp), %rcx
	movq	240(%rsp), %r8
	movq	232(%rsp), %r9
	movl	60(%rsp), %eax
.Ltmp109:
	.cfi_escape 0x2e, 0x40
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	pushq	%r15
	.cfi_adjust_cfa_offset 8
	pushq	152(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	128(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	128(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	224(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	addq	$64, %rsp
	.cfi_adjust_cfa_offset -64
.Ltmp110:
.LBB5_87:                               #   in Loop: Header=BB5_36 Depth=1
.Ltmp111:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp112:
# %bb.88:                               #   in Loop: Header=BB5_36 Depth=1
	.cfi_escape 0x2e, 0x00
	movq	48(%rsp), %rdi                  # 8-byte Reload
	movq	64(%rsp), %r12                  # 8-byte Reload
	movq	%r12, %rsi
	callq	realloc
	movq	%r13, 88(%rsp)                  # 8-byte Spill
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	realloc
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	leaq	(,%r15,8), %r13
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rdi                  # 8-byte Reload
	movq	%r13, %rsi
	callq	realloc
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	%r13, %rsi
	callq	realloc
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	72(%rsp), %rdi                  # 8-byte Reload
	movq	%rbp, %rsi
	callq	realloc
	movq	%rax, (%rsp)                    # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	callq	malloc
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	callq	malloc
	movq	%rax, %r14
	movq	200(%rsp), %rsi
.Ltmp113:
	.cfi_escape 0x2e, 0x00
	movq	48(%rsp), %rdi                  # 8-byte Reload
	movq	88(%rsp), %rax                  # 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %r12
	movq	%rax, %r13
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp114:
# %bb.89:                               #   in Loop: Header=BB5_36 Depth=1
	movq	192(%rsp), %rsi
.Ltmp115:
	.cfi_escape 0x2e, 0x00
	movq	24(%rsp), %rdi                  # 8-byte Reload
	movq	64(%rsp), %rdx                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp116:
# %bb.90:                               #   in Loop: Header=BB5_36 Depth=1
	movq	272(%rsp), %rsi
.Ltmp117:
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rdi                  # 8-byte Reload
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp118:
# %bb.91:                               #   in Loop: Header=BB5_36 Depth=1
	movq	184(%rsp), %rsi
.Ltmp119:
	.cfi_escape 0x2e, 0x00
	movq	8(%rsp), %rdi                   # 8-byte Reload
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp120:
# %bb.92:                               #   in Loop: Header=BB5_36 Depth=1
	movq	176(%rsp), %rsi
.Ltmp121:
	.cfi_escape 0x2e, 0x00
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	%rbp, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp122:
# %bb.93:                               #   in Loop: Header=BB5_36 Depth=1
	movq	240(%rsp), %rsi
.Ltmp123:
	.cfi_escape 0x2e, 0x00
	movq	16(%rsp), %rdi                  # 8-byte Reload
	movq	64(%rsp), %rdx                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp124:
# %bb.94:                               #   in Loop: Header=BB5_36 Depth=1
	movq	232(%rsp), %rsi
.Ltmp125:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movq	64(%rsp), %rdx                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp126:
# %bb.95:                               #   in Loop: Header=BB5_36 Depth=1
	movq	168(%rsp), %rsi
.Ltmp127:
	.cfi_escape 0x2e, 0x00
	movq	%r13, %rdi
	movq	%rbp, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp128:
# %bb.96:                               #   in Loop: Header=BB5_36 Depth=1
	movq	200(%rsp), %rdi
.Ltmp129:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp130:
# %bb.97:                               #   in Loop: Header=BB5_36 Depth=1
	movq	192(%rsp), %rdi
.Ltmp131:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp132:
# %bb.98:                               #   in Loop: Header=BB5_36 Depth=1
	movq	272(%rsp), %rdi
.Ltmp133:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp134:
# %bb.99:                               #   in Loop: Header=BB5_36 Depth=1
	movq	184(%rsp), %rdi
.Ltmp135:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp136:
# %bb.100:                              #   in Loop: Header=BB5_36 Depth=1
	movq	176(%rsp), %rdi
.Ltmp137:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp138:
# %bb.101:                              #   in Loop: Header=BB5_36 Depth=1
	movq	240(%rsp), %rdi
.Ltmp139:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp140:
# %bb.102:                              #   in Loop: Header=BB5_36 Depth=1
	movq	232(%rsp), %rdi
.Ltmp141:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp142:
# %bb.103:                              #   in Loop: Header=BB5_36 Depth=1
	movq	168(%rsp), %rdi
.Ltmp143:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp144:
# %bb.104:                              # %.preheader
                                        #   in Loop: Header=BB5_36 Depth=1
	testq	%r15, %r15
	jle	.LBB5_122
# %bb.105:                              # %.lr.ph585.preheader
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	%r13, %r12
	xorl	%ebp, %ebp
.LBB5_106:                              # %.lr.ph585
                                        #   Parent Loop BB5_36 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB5_109 Depth 3
	movq	16(%rsp), %rax                  # 8-byte Reload
	movl	(%rax,%rbp,4), %r13d
	cmpl	%ebx, %r13d
	jle	.LBB5_111
# %bb.107:                              #   in Loop: Header=BB5_106 Depth=2
	movq	%rbp, %rax
	movq	80(%rsp), %rbx                  # 8-byte Reload
	imulq	%rbx, %rax
	movq	(%rsp), %rcx                    # 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	.cfi_escape 0x2e, 0x00
	movq	128(%rsp), %rdi                 # 8-byte Reload
	movq	96(%rsp), %rdx                  # 8-byte Reload
	callq	memcpy@PLT
	cmpq	$0, 208(%rsp)                   # 8-byte Folded Reload
	jle	.LBB5_110
# %bb.108:                              # %.lr.ph.i467.preheader
                                        #   in Loop: Header=BB5_106 Depth=2
	xorl	%eax, %eax
	movq	128(%rsp), %rdx                 # 8-byte Reload
.LBB5_109:                              # %.lr.ph.i467
                                        #   Parent Loop BB5_36 Depth=1
                                        #     Parent Loop BB5_106 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movl	(%r12,%rax,4), %ecx
	orl	%ecx, (%rdx,%rax,4)
	incq	%rax
	cmpq	%rax, %rbx
	jne	.LBB5_109
.LBB5_110:                              #   in Loop: Header=BB5_106 Depth=2
	movl	%r13d, %ebx
.LBB5_111:                              # %_Z13CopyRecordSetPjPKjS1_l.exit470
                                        #   in Loop: Header=BB5_106 Depth=2
	incq	%rbp
	addq	96(%rsp), %r12                  # 8-byte Folded Reload
	cmpq	%r15, %rbp
	jne	.LBB5_106
	jmp	.LBB5_122
.LBB5_112:                              # %.lr.ph577
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	(%r14,%rbp,8), %r15
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, 88(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$8, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, 64(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$8, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, 336(%rsp)                 # 8-byte Spill
	movq	%r15, %rdi
	imulq	80(%rsp), %rdi                  # 8-byte Folded Reload
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%rdi, 320(%rsp)                 # 8-byte Spill
	callq	calloc
	movq	%rax, 328(%rsp)                 # 8-byte Spill
	movq	32(%rsp), %rax
	movq	%rax, 216(%rsp)                 # 8-byte Spill
	movl	60(%rsp), %eax
	movq	%rax, 360(%rsp)                 # 8-byte Spill
	cmpq	$1, %rbp
	adcq	$0, %rbp
	xorl	%r12d, %r12d
	movq	%r14, 8(%rsp)                   # 8-byte Spill
	movq	120(%rsp), %r14                 # 8-byte Reload
	movq	112(%rsp), %r13                 # 8-byte Reload
.LBB5_113:                              #   Parent Loop BB5_36 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	.cfi_escape 0x2e, 0x60
	movq	%r12, %rdi
	movq	8(%rsp), %rsi                   # 8-byte Reload
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movq	24(%rsp), %rcx                  # 8-byte Reload
	movq	40(%rsp), %r8                   # 8-byte Reload
	movq	(%rsp), %r9                     # 8-byte Reload
	pushq	%r13
	.cfi_adjust_cfa_offset 8
	pushq	%r14
	.cfi_adjust_cfa_offset 8
	pushq	376(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	240(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	112(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	264(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	376(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	392(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	128(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	160(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	96(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	160(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z9BranchCPUlPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	incq	%r12
	cmpq	%r12, %rbp
	jne	.LBB5_113
# %bb.114:                              # %._crit_edge578
                                        #   in Loop: Header=BB5_36 Depth=1
	.cfi_escape 0x2e, 0x00
	movq	8(%rsp), %rdi                   # 8-byte Reload
	callq	free
	leaq	(,%r15,4), %r14
	.cfi_escape 0x2e, 0x00
	movq	48(%rsp), %rdi                  # 8-byte Reload
	movq	%r14, %rsi
	callq	realloc
	movq	%rax, %r13
	.cfi_escape 0x2e, 0x00
	movq	24(%rsp), %rdi                  # 8-byte Reload
	movq	%r14, %rsi
	callq	realloc
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	leaq	(,%r15,8), %rbp
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rdi                  # 8-byte Reload
	movq	%rbp, %rsi
	callq	realloc
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	%rbp, %rsi
	callq	realloc
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	movq	320(%rsp), %rax                 # 8-byte Reload
	leaq	(,%rax,4), %rsi
	movq	%rsi, 216(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	72(%rsp), %rdi                  # 8-byte Reload
	callq	realloc
	movq	%rax, %r12
	.cfi_escape 0x2e, 0x00
	movq	%r13, 48(%rsp)                  # 8-byte Spill
	movq	%r13, %rdi
	movq	16(%rsp), %rsi                  # 8-byte Reload
	movq	%r14, %rdx
	callq	memcpy@PLT
	.cfi_escape 0x2e, 0x00
	movq	24(%rsp), %rdi                  # 8-byte Reload
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movq	%r14, %rdx
	callq	memcpy@PLT
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rdi                  # 8-byte Reload
	movq	64(%rsp), %r14                  # 8-byte Reload
	movq	%r14, %rsi
	movq	%rbp, %rdx
	callq	memcpy@PLT
	.cfi_escape 0x2e, 0x00
	movq	8(%rsp), %rdi                   # 8-byte Reload
	movq	336(%rsp), %r13                 # 8-byte Reload
	movq	%r13, %rsi
	movq	%rbp, %rdx
	callq	memcpy@PLT
	.cfi_escape 0x2e, 0x00
	movq	%r12, (%rsp)                    # 8-byte Spill
	movq	%r12, %rdi
	movq	328(%rsp), %r12                 # 8-byte Reload
	movq	%r12, %rsi
	movq	216(%rsp), %rdx                 # 8-byte Reload
	callq	memcpy@PLT
	.cfi_escape 0x2e, 0x00
	movq	16(%rsp), %rdi                  # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	88(%rsp), %rdi                  # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	%r13, %rdi
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	callq	free
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	%r15, %rdi
	callq	calloc
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$4, %esi
	movq	320(%rsp), %rdi                 # 8-byte Reload
	callq	calloc
	testq	%r15, %r15
	movq	%rax, 88(%rsp)                  # 8-byte Spill
	jle	.LBB5_122
# %bb.115:                              # %.lr.ph582
                                        #   in Loop: Header=BB5_36 Depth=1
	movq	32(%rsp), %rcx
	movq	%rcx, 72(%rsp)                  # 8-byte Spill
	movl	60(%rsp), %ecx
	movq	%rcx, 64(%rsp)                  # 8-byte Spill
	movq	%rax, %r12
	xorl	%ebp, %ebp
.LBB5_116:                              #   Parent Loop BB5_36 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB5_119 Depth 3
	.cfi_escape 0x2e, 0x40
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movq	%rbp, %rdi
	movq	56(%rsp), %rsi                  # 8-byte Reload
	movq	32(%rsp), %rdx                  # 8-byte Reload
	movq	16(%rsp), %rcx                  # 8-byte Reload
	movq	8(%rsp), %r8                    # 8-byte Reload
	movq	24(%rsp), %r13                  # 8-byte Reload
	movq	%r13, %r9
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	88(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	104(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	120(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)                       # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	%r14
	.cfi_adjust_cfa_offset 8
	callq	_Z8BoundCPUlPiS_PlPjS_S_S1_lliPKiS3_
	addq	$64, %rsp
	.cfi_adjust_cfa_offset -64
	movl	(%r13,%rbp,4), %r13d
	cmpl	%ebx, %r13d
	jle	.LBB5_121
# %bb.117:                              #   in Loop: Header=BB5_116 Depth=2
	movq	%rbp, %rax
	movq	80(%rsp), %rbx                  # 8-byte Reload
	imulq	%rbx, %rax
	movq	(%rsp), %rcx                    # 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	.cfi_escape 0x2e, 0x00
	movq	128(%rsp), %rdi                 # 8-byte Reload
	movq	96(%rsp), %rdx                  # 8-byte Reload
	callq	memcpy@PLT
	cmpq	$0, 208(%rsp)                   # 8-byte Folded Reload
	jle	.LBB5_120
# %bb.118:                              # %.lr.ph.i471.preheader
                                        #   in Loop: Header=BB5_116 Depth=2
	xorl	%eax, %eax
	movq	128(%rsp), %rdx                 # 8-byte Reload
.LBB5_119:                              # %.lr.ph.i471
                                        #   Parent Loop BB5_36 Depth=1
                                        #     Parent Loop BB5_116 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movl	(%r12,%rax,4), %ecx
	orl	%ecx, (%rdx,%rax,4)
	incq	%rax
	cmpq	%rax, %rbx
	jne	.LBB5_119
.LBB5_120:                              #   in Loop: Header=BB5_116 Depth=2
	movl	%r13d, %ebx
.LBB5_121:                              # %_Z13CopyRecordSetPjPKjS1_l.exit474
                                        #   in Loop: Header=BB5_116 Depth=2
	incq	%rbp
	addq	96(%rsp), %r12                  # 8-byte Folded Reload
	cmpq	%r15, %rbp
	jne	.LBB5_116
.LBB5_122:                              # %.loopexit
                                        #   in Loop: Header=BB5_36 Depth=1
	leaq	-1(%r15), %r12
	xorl	%ebp, %ebp
	movq	224(%rsp), %r13                 # 8-byte Reload
.LBB5_123:                              #   Parent Loop BB5_36 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB5_124 Depth 3
                                        #       Child Loop BB5_128 Depth 3
	cmpq	%r15, %rbp
	jge	.LBB5_127
.LBB5_124:                              # %.lr.ph590
                                        #   Parent Loop BB5_36 Depth=1
                                        #     Parent Loop BB5_123 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	cmpl	%ebx, (%r14,%rbp,4)
	jle	.LBB5_127
# %bb.125:                              #   in Loop: Header=BB5_124 Depth=3
	incq	%rbp
	cmpq	%rbp, %r15
	jne	.LBB5_124
# %bb.126:                              #   in Loop: Header=BB5_123 Depth=2
	movq	%r15, %rbp
.LBB5_127:                              # %.critedge
                                        #   in Loop: Header=BB5_123 Depth=2
	testq	%r12, %r12
	js	.LBB5_131
.LBB5_128:                              # %.lr.ph595
                                        #   Parent Loop BB5_36 Depth=1
                                        #     Parent Loop BB5_123 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	cmpl	%ebx, (%r14,%r12,4)
	jg	.LBB5_131
# %bb.129:                              #   in Loop: Header=BB5_128 Depth=3
	leaq	-1(%r12), %rax
	testq	%r12, %r12
	movq	%rax, %r12
	jg	.LBB5_128
# %bb.130:                              #   in Loop: Header=BB5_123 Depth=2
	movq	$-1, %r12
.LBB5_131:                              # %.critedge5
                                        #   in Loop: Header=BB5_123 Depth=2
	cmpq	%r12, %rbp
	jge	.LBB5_133
# %bb.132:                              #   in Loop: Header=BB5_123 Depth=2
	movq	48(%rsp), %rcx                  # 8-byte Reload
	movl	(%rcx,%r12,4), %eax
	movl	%eax, (%rcx,%rbp,4)
	movq	24(%rsp), %rcx                  # 8-byte Reload
	movl	(%rcx,%r12,4), %eax
	movl	%eax, (%rcx,%rbp,4)
	movq	40(%rsp), %rcx                  # 8-byte Reload
	movq	(%rcx,%r12,8), %rax
	movq	%rax, (%rcx,%rbp,8)
	movq	8(%rsp), %rcx                   # 8-byte Reload
	movq	(%rcx,%r12,8), %rax
	movq	%rax, (%rcx,%rbp,8)
	movq	%rbp, %rax
	movq	80(%rsp), %rcx                  # 8-byte Reload
	imulq	%rcx, %rax
	movq	(%rsp), %rdx                    # 8-byte Reload
	leaq	(%rdx,%rax,4), %rdi
	movq	%r12, %rax
	imulq	%rcx, %rax
	leaq	(%rdx,%rax,4), %rsi
	.cfi_escape 0x2e, 0x00
	movq	96(%rsp), %rdx                  # 8-byte Reload
	callq	memcpy@PLT
	movl	(%r14,%rbp,4), %eax
	movl	(%r14,%r12,4), %ecx
	movl	%ecx, (%r14,%rbp,4)
	movl	%eax, (%r14,%r12,4)
	jmp	.LBB5_123
.LBB5_133:                              #   in Loop: Header=BB5_36 Depth=1
	leaq	(,%rbp,4), %r15
	.cfi_escape 0x2e, 0x00
	movq	48(%rsp), %rdi                  # 8-byte Reload
	movq	%r15, %rsi
	callq	realloc
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	24(%rsp), %rdi                  # 8-byte Reload
	movq	%r15, %rsi
	callq	realloc
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	leaq	(,%rbp,8), %r15
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rdi                  # 8-byte Reload
	movq	%r15, %rsi
	callq	realloc
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	8(%rsp), %rdi                   # 8-byte Reload
	movq	%r15, %rsi
	callq	realloc
	movq	%rax, %r12
	movq	96(%rsp), %rsi                  # 8-byte Reload
	imulq	%rbp, %rsi
	.cfi_escape 0x2e, 0x00
	movq	(%rsp), %rdi                    # 8-byte Reload
	callq	realloc
	movq	%rax, 72(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	16(%rsp), %rdi                  # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	88(%rsp), %rdi                  # 8-byte Reload
	callq	free
	testq	%rbp, %rbp
	movq	352(%rsp), %r15                 # 8-byte Reload
	jg	.LBB5_36
# %bb.134:
.Ltmp146:
	.cfi_escape 0x2e, 0x00
	leaq	368(%rsp), %r14
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ZNSolsEi
.Ltmp147:
# %bb.135:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp148:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp149:
# %bb.136:                              # %.noexc501
.Ltmp150:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp151:
# %bb.137:                              # %.noexc502
.Ltmp152:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp153:
# %bb.138:                              # %_ZNSolsEPFRSoS_E.exit476
	movq	%r12, (%rsp)                    # 8-byte Spill
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, 144(%rsp)
	movq	$0, 160(%rsp)
	cmpq	$0, 32(%rsp)
	movq	128(%rsp), %r13                 # 8-byte Reload
	movq	72(%rsp), %rbp                  # 8-byte Reload
	jle	.LBB5_148
# %bb.139:                              # %.lr.ph608
	movl	$8, %r15d
	xorl	%r12d, %r12d
	leaq	144(%rsp), %rbx
.LBB5_140:                              # =>This Inner Loop Header: Depth=1
	movq	%r12, %rax
	shrq	$5, %rax
	movl	(%r13,%rax,4), %eax
	btl	%r12d, %eax
	jae	.LBB5_144
# %bb.141:                              #   in Loop: Header=BB5_140 Depth=1
	movq	296(%rsp), %rdx
	addq	%r15, %rdx
	movq	152(%rsp), %rsi
	cmpq	160(%rsp), %rsi
	je	.LBB5_143
# %bb.142:                              #   in Loop: Header=BB5_140 Depth=1
	movq	(%rdx), %rax
	movq	%rax, (%rsi)
	addq	$8, %rsi
	movq	%rsi, 152(%rsp)
	jmp	.LBB5_144
.LBB5_143:                              #   in Loop: Header=BB5_140 Depth=1
.Ltmp155:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_
.Ltmp156:
.LBB5_144:                              # %_ZNSt6vectorIlSaIlEE9push_backERKl.exit
                                        #   in Loop: Header=BB5_140 Depth=1
	incq	%r12
	addq	$16, %r15
	cmpq	32(%rsp), %r12
	jl	.LBB5_140
# %bb.145:                              # %._crit_edge609
	movq	144(%rsp), %r15
	movq	152(%rsp), %rbx
	cmpq	%rbx, %r15
	je	.LBB5_153
# %bb.146:
	movq	%rbx, %rax
	subq	%r15, %rax
	sarq	$3, %rax
	je	.LBB5_149
# %bb.147:                              # %cond.false692
	bsrq	%rax, %rax
	xorq	$63, %rax
	jmp	.LBB5_150
.LBB5_148:
	xorl	%ebx, %ebx
	jmp	.LBB5_153
.LBB5_149:
	movl	$64, %eax
.LBB5_150:                              # %cond.end693
	addq	%rax, %rax
	movl	$126, %edx
	subq	%rax, %rdx
.Ltmp158:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_
.Ltmp159:
# %bb.151:                              # %.noexc478
.Ltmp160:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
.Ltmp161:
# %bb.152:                              # %.noexc478._ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_.exit_crit_edge
	movq	144(%rsp), %rbx
.LBB5_153:                              # %_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEEvT_S7_.exit
	movq	152(%rsp), %r12
	cmpq	%r12, %rbx
	je	.LBB5_158
# %bb.154:
	leaq	368(%rsp), %r15
.LBB5_155:                              # %.lr.ph612
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
.Ltmp162:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp163:
# %bb.156:                              # %_ZNSolsEl.exit485
                                        #   in Loop: Header=BB5_155 Depth=1
.Ltmp164:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.7, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp165:
# %bb.157:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit487
                                        #   in Loop: Header=BB5_155 Depth=1
	addq	$8, %rbx
	cmpq	%r12, %rbx
	jne	.LBB5_155
.LBB5_158:                              # %._crit_edge613
	movq	368(%rsp), %rax
	addq	-24(%rax), %r14
.Ltmp167:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp168:
	movq	48(%rsp), %rbx                  # 8-byte Reload
# %bb.159:                              # %.noexc505
.Ltmp169:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	leaq	368(%rsp), %rdi
	callq	_ZNSo3putEc
.Ltmp170:
# %bb.160:                              # %.noexc506
.Ltmp171:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp172:
# %bb.161:                              # %_ZNSolsEPFRSoS_E.exit483
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	24(%rsp), %rdi                  # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rdi                  # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	(%rsp), %rdi                    # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	%rbp, %rdi
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	%r13, %rdi
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	120(%rsp), %rdi                 # 8-byte Reload
	callq	free
	.cfi_escape 0x2e, 0x00
	movq	112(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	104(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB5_164
# %bb.162:
.Ltmp173:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp174:
# %bb.163:
	movq	136(%rsp), %rdi
.Ltmp175:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp176:
.LBB5_164:
.Ltmp177:
	.cfi_escape 0x2e, 0x00
	leaq	880(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv
.Ltmp178:
# %bb.165:
.Ltmp179:
	.cfi_escape 0x2e, 0x00
	leaq	368(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp180:
# %bb.166:
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, %rbx
.Ltmp182:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.8, %esi
	movl	$12, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp183:
# %bb.167:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit489
	subq	344(%rsp), %rbx                 # 8-byte Folded Reload
	cvtsi2sd	%rbx, %xmm0
	divsd	.LCPI5_0(%rip), %xmm0
.Ltmp184:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp185:
# %bb.168:                              # %_ZNSolsEd.exit
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp186:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp187:
# %bb.169:                              # %.noexc509
.Ltmp188:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp189:
# %bb.170:                              # %.noexc510
.Ltmp190:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp191:
# %bb.171:                              # %_ZNSolsEPFRSoS_E.exit492
	movq	144(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB5_173
# %bb.172:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB5_173:                              # %_ZNSt6vectorIlSaIlEED2Ev.exit
	movq	296(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB5_175
# %bb.174:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB5_175:                              # %_ZNSt6vectorI5TItemSaIS0_EED2Ev.exit
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	376(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 368(%rsp,%rax)
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	616(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt8ios_baseD2Ev
	.cfi_escape 0x2e, 0x00
	leaq	880(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB5_176:
	xorl	%eax, %eax
	addq	$1400, %rsp                     # imm = 0x578
	.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
.LBB5_177:
	.cfi_def_cfa_offset 1456
.Ltmp10:
	jmp	.LBB5_181
.LBB5_178:
.Ltmp2:
	movq	%rax, %rbx
	jmp	.LBB5_199
.LBB5_179:
.Ltmp20:
	jmp	.LBB5_195
.LBB5_180:
.Ltmp7:
.LBB5_181:
	movq	%rax, %rbx
	jmp	.LBB5_198
.LBB5_182:                              # %.loopexit.split-lp
.Ltmp154:
	jmp	.LBB5_195
.LBB5_183:
.Ltmp157:
	jmp	.LBB5_188
.LBB5_184:
.Ltmp192:
	jmp	.LBB5_188
.LBB5_185:
.Ltmp181:
	jmp	.LBB5_188
.LBB5_186:
.Ltmp44:
	jmp	.LBB5_195
.LBB5_187:
.Ltmp166:
.LBB5_188:
	movq	%rax, %rbx
	movq	144(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB5_196
# %bb.189:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
	jmp	.LBB5_196
.LBB5_190:
.Ltmp15:
	jmp	.LBB5_195
.LBB5_191:
.Ltmp98:
	jmp	.LBB5_195
.LBB5_192:                              # %.loopexit536
.Ltmp35:
	jmp	.LBB5_195
.LBB5_193:
.Ltmp79:
	jmp	.LBB5_195
.LBB5_194:
.Ltmp145:
.LBB5_195:
	movq	%rax, %rbx
.LBB5_196:
	movq	296(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB5_198
# %bb.197:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB5_198:
	.cfi_escape 0x2e, 0x00
	leaq	368(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
.LBB5_199:
	.cfi_escape 0x2e, 0x00
	leaq	880(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end5:
	.size	main, .Lfunc_end5-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table5:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp6-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp6
	.uleb128 .Ltmp7-.Lfunc_begin0           #     jumps to .Ltmp7
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp9-.Ltmp8                  #   Call between .Ltmp8 and .Ltmp9
	.uleb128 .Ltmp10-.Lfunc_begin0          #     jumps to .Ltmp10
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp11-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp14-.Ltmp11                #   Call between .Ltmp11 and .Ltmp14
	.uleb128 .Ltmp15-.Lfunc_begin0          #     jumps to .Ltmp15
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp19-.Ltmp16                #   Call between .Ltmp16 and .Ltmp19
	.uleb128 .Ltmp20-.Lfunc_begin0          #     jumps to .Ltmp20
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp19-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp21-.Ltmp19                #   Call between .Ltmp19 and .Ltmp21
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp21-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp34-.Ltmp21                #   Call between .Ltmp21 and .Ltmp34
	.uleb128 .Ltmp35-.Lfunc_begin0          #     jumps to .Ltmp35
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp36-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp43-.Ltmp36                #   Call between .Ltmp36 and .Ltmp43
	.uleb128 .Ltmp44-.Lfunc_begin0          #     jumps to .Ltmp44
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp45-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp78-.Ltmp45                #   Call between .Ltmp45 and .Ltmp78
	.uleb128 .Ltmp79-.Lfunc_begin0          #     jumps to .Ltmp79
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp80-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp97-.Ltmp80                #   Call between .Ltmp80 and .Ltmp97
	.uleb128 .Ltmp98-.Lfunc_begin0          #     jumps to .Ltmp98
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp99-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Ltmp144-.Ltmp99               #   Call between .Ltmp99 and .Ltmp144
	.uleb128 .Ltmp145-.Lfunc_begin0         #     jumps to .Ltmp145
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp144-.Lfunc_begin0         # >> Call Site 13 <<
	.uleb128 .Ltmp146-.Ltmp144              #   Call between .Ltmp144 and .Ltmp146
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp146-.Lfunc_begin0         # >> Call Site 14 <<
	.uleb128 .Ltmp153-.Ltmp146              #   Call between .Ltmp146 and .Ltmp153
	.uleb128 .Ltmp154-.Lfunc_begin0         #     jumps to .Ltmp154
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp155-.Lfunc_begin0         # >> Call Site 15 <<
	.uleb128 .Ltmp156-.Ltmp155              #   Call between .Ltmp155 and .Ltmp156
	.uleb128 .Ltmp157-.Lfunc_begin0         #     jumps to .Ltmp157
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp158-.Lfunc_begin0         # >> Call Site 16 <<
	.uleb128 .Ltmp161-.Ltmp158              #   Call between .Ltmp158 and .Ltmp161
	.uleb128 .Ltmp181-.Lfunc_begin0         #     jumps to .Ltmp181
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp162-.Lfunc_begin0         # >> Call Site 17 <<
	.uleb128 .Ltmp165-.Ltmp162              #   Call between .Ltmp162 and .Ltmp165
	.uleb128 .Ltmp166-.Lfunc_begin0         #     jumps to .Ltmp166
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp167-.Lfunc_begin0         # >> Call Site 18 <<
	.uleb128 .Ltmp180-.Ltmp167              #   Call between .Ltmp167 and .Ltmp180
	.uleb128 .Ltmp181-.Lfunc_begin0         #     jumps to .Ltmp181
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp182-.Lfunc_begin0         # >> Call Site 19 <<
	.uleb128 .Ltmp191-.Ltmp182              #   Call between .Ltmp182 and .Ltmp191
	.uleb128 .Ltmp192-.Lfunc_begin0         #     jumps to .Ltmp192
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp191-.Lfunc_begin0         # >> Call Site 20 <<
	.uleb128 .Lfunc_end5-.Ltmp191           #   Call between .Ltmp191 and .Lfunc_end5
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
.LCPI6_0:
	.zero	16
	.section	.text._ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_,comdat
	.weak	_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_,@function
_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_:   # @_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rax
	shrq	$59, %rax
	jne	.LBB6_8
# %bb.1:                                # %_ZNSt6vectorI5TItemSaIS0_EE17_S_check_init_lenEmRKS1_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB6_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI5TItemE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	8(%rbx), %rcx
	movq	%rax, 8(%rbx)
	movq	%r14, %rsi
	shlq	$4, %rsi
	leaq	(%rax,%rsi), %rdx
	movq	%rdx, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	cmpq	$1, %r14
	jne	.LBB6_5
# %bb.4:
	addq	$16, %rax
	movq	%rax, %rdx
	jmp	.LBB6_7
.LBB6_2:                                # %_ZNSt12_Vector_baseI5TItemSaIS0_EEC2EmRKS1_.exit.thread
	leaq	8(%rbx), %rcx
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%edx, %edx
	jmp	.LBB6_7
.LBB6_5:                                # %.lr.ph.i.i.i.i.i.i.i.i.preheader
	movl	$16, %edi
.LBB6_6:                                # %.lr.ph.i.i.i.i.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movups	(%rax), %xmm0
	movups	%xmm0, (%rax,%rdi)
	addq	$16, %rdi
	cmpq	%rdi, %rsi
	jne	.LBB6_6
.LBB6_7:                                # %.loopexit
	movq	%rdx, (%rcx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB6_8:
	.cfi_def_cfa_offset 32
	movl	$.L.str.9, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end6:
	.size	_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_, .Lfunc_end6-_ZNSt6vectorI5TItemSaIS0_EEC2EmRKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorI5TItemE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorI5TItemE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorI5TItemE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorI5TItemE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorI5TItemE8allocateEmPKv,@function
_ZNSt15__new_allocatorI5TItemE8allocateEmPKv: # @_ZNSt15__new_allocatorI5TItemE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$59, %rax
	jne	.LBB7_1
# %bb.3:
	shlq	$4, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB7_1:
	.cfi_def_cfa_offset 16
	shrq	$60, %rsi
	je	.LBB7_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB7_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end7:
	.size	_ZNSt15__new_allocatorI5TItemE8allocateEmPKv, .Lfunc_end7-_ZNSt15__new_allocatorI5TItemE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_,"axG",@progbits,_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_,comdat
	.weak	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_ # -- Begin function _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_
	.type	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_,@function
_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_: # @_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_
	.cfi_startproc
# %bb.0:
	movq	%rsi, %rax
	subq	%rdi, %rax
	sarq	$4, %rax
	cmpq	$17, %rax
	jl	.LBB8_6
# %bb.1:                                # %.lr.ph
	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	$16, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	16(%rdi), %r12
	decq	%r14
.LBB8_2:                                # =>This Inner Loop Header: Depth=1
	cmpq	$-1, %r14
	je	.LBB8_3
# %bb.4:                                #   in Loop: Header=BB8_2 Depth=1
	andq	$-2, %rax
	leaq	(%rbx,%rax,8), %rdx
	leaq	-16(%r15), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_
	movq	%r13, %rax
	subq	%rbx, %rax
	sarq	$4, %rax
	decq	%r14
	movq	%r13, %r15
	cmpq	$16, %rax
	jg	.LBB8_2
	jmp	.LBB8_5
.LBB8_3:
	leaq	15(%rsp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
	leaq	14(%rsp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
.LBB8_5:
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	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
	.cfi_restore %rbx
	.cfi_restore %r12
	.cfi_restore %r13
	.cfi_restore %r14
	.cfi_restore %r15
.LBB8_6:                                # %.loopexit
	retq
.Lfunc_end8:
	.size	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_, .Lfunc_end8-_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_less_iterEEvT_SA_T0_T1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_,"axG",@progbits,_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_,comdat
	.weak	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_ # -- Begin function _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
	.type	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_,@function
_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_: # @_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rbx
	movq	%rsi, %rax
	subq	%rdi, %rax
	cmpq	$257, %rax                      # imm = 0x101
	jl	.LBB9_5
# %bb.1:
	leaq	256(%rdi), %r14
	movq	%r14, %rsi
	callq	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
.LBB9_3:                                # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %r14
	je	.LBB9_4
# %bb.2:                                # %.lr.ph.i
                                        #   in Loop: Header=BB9_3 Depth=1
	movq	%r14, %rdi
	callq	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_
	addq	$16, %r14
	jmp	.LBB9_3
.LBB9_5:
	movq	%rbx, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	jmp	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_ # TAILCALL
.LBB9_4:                                # %_ZSt26__unguarded_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_.exit
	.cfi_def_cfa_offset 32
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end9:
	.size	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_, .Lfunc_end9-_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_,"axG",@progbits,_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_,comdat
	.weak	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_ # -- Begin function _ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
	.type	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_,@function
_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_: # @_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r15
	subq	%rdi, %r15
	cmpq	$17, %r15
	jl	.LBB10_3
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %rbx
	movq	%rdi, %r14
	addq	$-16, %rbx
.LBB10_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	movq	8(%rbx), %r8
	movups	(%r14), %xmm0
	movups	%xmm0, (%rbx)
	addq	$-16, %r15
	movq	%r15, %rdx
	sarq	$4, %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_
	addq	$-16, %rbx
	cmpq	$16, %r15
	jg	.LBB10_2
.LBB10_3:                               # %._crit_edge
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end10:
	.size	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_, .Lfunc_end10-_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_,"axG",@progbits,_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_,comdat
	.weak	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_ # -- Begin function _ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
	.type	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_,@function
_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_: # @_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	subq	%rdi, %rbx
	sarq	$4, %rbx
	cmpq	$2, %rbx
	jl	.LBB11_3
# %bb.1:
	movq	%rdi, %r14
	leaq	-2(%rbx), %r15
	shrq	%r15
	movq	%r15, %rax
	shlq	$4, %rax
	leaq	(%rax,%rdi), %r12
	addq	$8, %r12
.LBB11_2:                               # =>This Inner Loop Header: Depth=1
	movq	-8(%r12), %rcx
	movq	(%r12), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_
	addq	$-16, %r12
	addq	$-1, %r15
	jb	.LBB11_2
.LBB11_3:                               # %.loopexit
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end11:
	.size	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_, .Lfunc_end11-_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_,"axG",@progbits,_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_,comdat
	.weak	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_ # -- Begin function _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_
	.type	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_,@function
_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_: # @_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rdx, %rax
	movq	%rsi, %rdx
	leaq	-1(%rax), %rsi
	shrq	$63, %rsi
	leaq	(%rax,%rsi), %r9
	decq	%r9
	sarq	%r9
	movq	%rdx, %rsi
	cmpq	%rdx, %r9
	jle	.LBB12_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r10
.LBB12_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	2(,%r10,2), %r11
	movq	%r11, %rbx
	shlq	$4, %rbx
	leaq	1(,%r10,2), %rsi
	movq	%rsi, %r14
	shlq	$4, %r14
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rdi,%rbx), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	4(%rdi,%rbx), %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2sdl	(%rdi,%r14), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2sdl	4(%rdi,%r14), %xmm3
	divsd	%xmm1, %xmm0
	divsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm0
	ja	.LBB12_4
# %bb.3:                                # %.lr.ph
                                        #   in Loop: Header=BB12_2 Depth=1
	movq	%r11, %rsi
.LBB12_4:                               # %.lr.ph
                                        #   in Loop: Header=BB12_2 Depth=1
	movq	%rsi, %r11
	shlq	$4, %r11
	shlq	$4, %r10
	movups	(%rdi,%r11), %xmm0
	movups	%xmm0, (%rdi,%r10)
	movq	%rsi, %r10
	cmpq	%r9, %rsi
	jl	.LBB12_2
.LBB12_5:                               # %._crit_edge
	testb	$1, %al
	jne	.LBB12_8
# %bb.6:
	addq	$-2, %rax
	sarq	%rax
	cmpq	%rax, %rsi
	jne	.LBB12_8
# %bb.7:
	leaq	1(,%rsi,2), %rax
	movq	%rax, %r9
	shlq	$4, %r9
	shlq	$4, %rsi
	movups	(%rdi,%r9), %xmm0
	movups	%xmm0, (%rdi,%rsi)
	movq	%rax, %rsi
.LBB12_8:
	leaq	7(%rsp), %r9
	callq	_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_, .Lfunc_end12-_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_less_iterEEvT_T0_SB_T1_T2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_,"axG",@progbits,_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_,comdat
	.weak	_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_ # -- Begin function _ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_
	.type	_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_,@function
_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_: # @_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_
	.cfi_startproc
# %bb.0:
	cmpq	%rdx, %rsi
	jle	.LBB13_1
# %bb.2:                                # %.lr.ph
	movq	%rcx, %rax
	cvtsi2sd	%ecx, %xmm0
	shrq	$32, %rax
	cvtsi2sd	%eax, %xmm1
	divsd	%xmm1, %xmm0
.LBB13_3:                               # =>This Inner Loop Header: Depth=1
	leaq	-1(%rsi), %rax
	shrq	$63, %rax
	addq	%rsi, %rax
	decq	%rax
	sarq	%rax
	movq	%rax, %r9
	shlq	$4, %r9
	xorps	%xmm1, %xmm1
	cvtsi2sdl	(%rdi,%r9), %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2sdl	4(%rdi,%r9), %xmm2
	divsd	%xmm2, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	.LBB13_1
# %bb.4:                                #   in Loop: Header=BB13_3 Depth=1
	addq	%rdi, %r9
	shlq	$4, %rsi
	movupd	(%r9), %xmm1
	movupd	%xmm1, (%rdi,%rsi)
	movq	%rax, %rsi
	cmpq	%rdx, %rax
	jg	.LBB13_3
	jmp	.LBB13_5
.LBB13_1:
	movq	%rsi, %rax
.LBB13_5:                               # %.critedge
	shlq	$4, %rax
	movq	%rcx, (%rdi,%rax)
	movq	%r8, 8(%rdi,%rax)
	retq
.Lfunc_end13:
	.size	_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_, .Lfunc_end13-_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_less_valEEvT_T0_SB_T1_RT2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_,"axG",@progbits,_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_,comdat
	.weak	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_ # -- Begin function _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_
	.type	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_,@function
_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_: # @_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_
	.cfi_startproc
# %bb.0:
	cvtsi2sdl	(%rsi), %xmm0
	cvtsi2sdl	4(%rsi), %xmm2
	cvtsi2sdl	(%rdx), %xmm1
	divsd	%xmm2, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2sdl	4(%rdx), %xmm2
	divsd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2sdl	(%rcx), %xmm2
	cvtsi2sdl	4(%rcx), %xmm3
	divsd	%xmm3, %xmm2
	jbe	.LBB14_4
# %bb.1:
	ucomisd	%xmm2, %xmm1
	ja	.LBB14_7
# %bb.2:
	ucomisd	%xmm2, %xmm0
	jbe	.LBB14_5
	jmp	.LBB14_3
.LBB14_4:
	ucomisd	%xmm2, %xmm0
	jbe	.LBB14_6
.LBB14_5:
	movups	(%rdi), %xmm0
	movaps	%xmm0, -24(%rsp)
	movups	(%rsi), %xmm0
	movups	%xmm0, (%rdi)
	movaps	-24(%rsp), %xmm0
	movups	%xmm0, (%rsi)
	retq
.LBB14_6:
	ucomisd	%xmm2, %xmm1
	jbe	.LBB14_7
.LBB14_3:
	movups	(%rdi), %xmm0
	movaps	%xmm0, -24(%rsp)
	movups	(%rcx), %xmm0
	movups	%xmm0, (%rdi)
	movaps	-24(%rsp), %xmm0
	movups	%xmm0, (%rcx)
	retq
.LBB14_7:
	movups	(%rdi), %xmm0
	movaps	%xmm0, -24(%rsp)
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rdi)
	movaps	-24(%rsp), %xmm0
	movups	%xmm0, (%rdx)
	retq
.Lfunc_end14:
	.size	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_, .Lfunc_end14-_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_SA_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_,"axG",@progbits,_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_,comdat
	.weak	_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_ # -- Begin function _ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_
	.type	_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_,@function
_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_: # @_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_
	.cfi_startproc
# %bb.0:
.LBB15_1:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB15_2 Depth 2
                                        #     Child Loop BB15_4 Depth 2
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rdx), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	4(%rdx), %xmm1
	divsd	%xmm1, %xmm0
	addq	$-16, %rdi
	movq	%rdi, %rax
.LBB15_2:                               #   Parent Loop BB15_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	xorps	%xmm1, %xmm1
	cvtsi2sdl	16(%rax), %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2sdl	20(%rax), %xmm2
	addq	$16, %rax
	divsd	%xmm2, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	.LBB15_2
# %bb.3:                                # %.preheader.preheader
                                        #   in Loop: Header=BB15_1 Depth=1
	leaq	16(%rax), %rdi
.LBB15_4:                               # %.preheader
                                        #   Parent Loop BB15_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-16(%rsi), %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2sdl	-12(%rsi), %xmm2
	addq	$-16, %rsi
	divsd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm0
	ja	.LBB15_4
# %bb.5:                                #   in Loop: Header=BB15_1 Depth=1
	cmpq	%rsi, %rax
	jae	.LBB15_6
# %bb.7:                                #   in Loop: Header=BB15_1 Depth=1
	movups	(%rax), %xmm0
	movaps	%xmm0, -24(%rsp)
	movups	(%rsi), %xmm0
	movups	%xmm0, (%rax)
	movapd	-24(%rsp), %xmm0
	movupd	%xmm0, (%rsi)
	jmp	.LBB15_1
.LBB15_6:
	retq
.Lfunc_end15:
	.size	_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_, .Lfunc_end15-_ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEET_SA_SA_SA_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_,"axG",@progbits,_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_,comdat
	.weak	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_ # -- Begin function _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
	.type	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_,@function
_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_: # @_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
	.cfi_startproc
# %bb.0:
	cmpq	%rsi, %rdi
	je	.LBB16_12
# %bb.1:                                # %.preheader
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	16(%rdi), %r15
	cmpq	%rsi, %r15
	je	.LBB16_11
# %bb.2:                                # %.lr.ph
	movl	$16, %r12d
.LBB16_3:                               # =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%r15), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	4(%r15), %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2sdl	(%r14), %xmm2
	xorps	%xmm3, %xmm3
	cvtsi2sdl	4(%r14), %xmm3
	divsd	%xmm1, %xmm0
	divsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm0
	jbe	.LBB16_9
# %bb.4:                                #   in Loop: Header=BB16_3 Depth=1
	movups	(%r15), %xmm0
	movaps	%xmm0, (%rsp)
	movq	%r12, %rax
	sarq	$4, %rax
	cmpq	$2, %rax
	jl	.LBB16_6
# %bb.5:                                #   in Loop: Header=BB16_3 Depth=1
	shlq	$4, %rax
	movq	%r15, %rdi
	subq	%rax, %rdi
	addq	$16, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB16_8:                               # %_ZSt13move_backwardIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEES7_ET0_T_S9_S8_.exit
                                        #   in Loop: Header=BB16_3 Depth=1
	movapd	(%rsp), %xmm0
	movupd	%xmm0, (%r14)
	jmp	.LBB16_10
.LBB16_9:                               #   in Loop: Header=BB16_3 Depth=1
	movq	%r15, %rdi
	callq	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_
.LBB16_10:                              #   in Loop: Header=BB16_3 Depth=1
	addq	$16, %r15
	addq	$16, %r12
	cmpq	%rbx, %r15
	jne	.LBB16_3
	jmp	.LBB16_11
.LBB16_6:                               #   in Loop: Header=BB16_3 Depth=1
	cmpq	$16, %r12
	jne	.LBB16_8
# %bb.7:                                #   in Loop: Header=BB16_3 Depth=1
	movups	(%r14), %xmm0
	movups	%xmm0, (%r15)
	jmp	.LBB16_8
.LBB16_11:
	addq	$24, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r12
	.cfi_restore %r14
	.cfi_restore %r15
.LBB16_12:                              # %.loopexit
	retq
.Lfunc_end16:
	.size	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_, .Lfunc_end16-_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_,"axG",@progbits,_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_,comdat
	.weak	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_ # -- Begin function _ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_
	.type	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_,@function
_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_: # @_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_
	.cfi_startproc
# %bb.0:
	movl	(%rdi), %eax
	cvtsi2sd	%eax, %xmm0
	movl	4(%rdi), %ecx
	cvtsi2sd	%ecx, %xmm1
	divsd	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-16(%rdi), %xmm1
	cvtsi2sdl	-12(%rdi), %xmm2
	movq	8(%rdi), %rdx
	divsd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm0
	jbe	.LBB17_1
.LBB17_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	-16(%rdi), %rsi
	movups	-16(%rdi), %xmm1
	movups	%xmm1, (%rdi)
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-32(%rdi), %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2sdl	-28(%rdi), %xmm2
	divsd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm0
	movq	%rsi, %rdi
	ja	.LBB17_2
	jmp	.LBB17_3
.LBB17_1:
	movq	%rdi, %rsi
.LBB17_3:                               # %._crit_edge
	movl	%eax, (%rsi)
	movl	%ecx, 4(%rsi)
	movq	%rdx, 8(%rsi)
	retq
.Lfunc_end17:
	.size	_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_, .Lfunc_end17-_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP5TItemSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_less_iterEEvT_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_ # -- Begin function _ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_,@function
_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_: # @_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_
	.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	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.10, %edx
	callq	_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$3, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB18_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIlE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB18_3
.LBB18_1:
	xorl	%ebp, %ebp
.LBB18_3:                               # %_ZNSt12_Vector_baseIlSaIlEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, (%rbp,%r14,8)
	testq	%r12, %r12
	jle	.LBB18_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB18_5:                               # %_ZNSt6vectorIlSaIlEE11_S_relocateEPlS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$8, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB18_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB18_7:                               # %_ZNSt6vectorIlSaIlEE11_S_relocateEPlS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB18_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB18_9:                               # %_ZNSt12_Vector_baseIlSaIlEE13_M_deallocateEPlm.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,8), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end18:
	.size	_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_, .Lfunc_end18-_ZNSt6vectorIlSaIlEE17_M_realloc_insertIJRKlEEEvN9__gnu_cxx17__normal_iteratorIPlS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc: # @_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$1152921504606846975, %rcx      # imm = 0xFFFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$3, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB19_2
# %bb.1:
	cmpq	%rsi, %r8
	cmovaq	%r8, %rsi
	leaq	(%rsi,%r8), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%r8, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB19_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end19:
	.size	_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc, .Lfunc_end19-_ZNKSt6vectorIlSaIlEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIlE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIlE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIlE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIlE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIlE8allocateEmPKv,@function
_ZNSt15__new_allocatorIlE8allocateEmPKv: # @_ZNSt15__new_allocatorIlE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB20_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB20_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB20_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB20_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end20:
	.size	_ZNSt15__new_allocatorIlE8allocateEmPKv, .Lfunc_end20-_ZNSt15__new_allocatorIlE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_,"axG",@progbits,_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_,comdat
	.weak	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_ # -- Begin function _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_
	.type	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_,@function
_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_: # @_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_
	.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	$24, %rsp
	.cfi_def_cfa_offset 80
	.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, %r14
	subq	%rdi, %r14
	sarq	$3, %r14
	cmpq	$17, %r14
	jl	.LBB21_12
# %bb.1:                                # %.lr.ph
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	8(%rdi), %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	movq	$-8, %rbp
	subq	%rdi, %rbp
.LBB21_2:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB21_5 Depth 2
                                        #       Child Loop BB21_6 Depth 3
                                        #       Child Loop BB21_8 Depth 3
	subq	$1, %r15
	jb	.LBB21_3
# %bb.4:                                #   in Loop: Header=BB21_2 Depth=1
	andq	$-2, %r14
	leaq	(%rbx,%r14,4), %rdx
	leaq	-8(%r12), %rcx
	movq	%rbx, %rdi
	movq	16(%rsp), %r14                  # 8-byte Reload
	movq	%r14, %rsi
	callq	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_
	movq	%r14, %rax
	movq	%r12, %rcx
.LBB21_5:                               #   Parent Loop BB21_2 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB21_6 Depth 3
                                        #       Child Loop BB21_8 Depth 3
	movq	(%rbx), %rdx
	leaq	(%rax,%rbp), %r14
.LBB21_6:                               #   Parent Loop BB21_2 Depth=1
                                        #     Parent Loop BB21_5 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	(%rax), %rsi
	addq	$8, %rax
	addq	$8, %r14
	cmpq	%rdx, %rsi
	jl	.LBB21_6
# %bb.7:                                # %.preheader.i.i.preheader
                                        #   in Loop: Header=BB21_5 Depth=2
	leaq	-8(%rax), %r13
.LBB21_8:                               # %.preheader.i.i
                                        #   Parent Loop BB21_2 Depth=1
                                        #     Parent Loop BB21_5 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	-8(%rcx), %rdi
	addq	$-8, %rcx
	cmpq	%rdi, %rdx
	jl	.LBB21_8
# %bb.9:                                #   in Loop: Header=BB21_5 Depth=2
	cmpq	%rcx, %r13
	jae	.LBB21_11
# %bb.10:                               #   in Loop: Header=BB21_5 Depth=2
	movq	%rdi, (%r13)
	movq	%rsi, (%rcx)
	jmp	.LBB21_5
.LBB21_11:                              # %_ZSt27__unguarded_partition_pivotIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEET_S9_S9_T0_.exit
                                        #   in Loop: Header=BB21_2 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_
	sarq	$3, %r14
	movq	%r13, %r12
	cmpq	$16, %r14
	jg	.LBB21_2
	jmp	.LBB21_12
.LBB21_3:
	leaq	15(%rsp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
	leaq	14(%rsp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
.LBB21_12:                              # %.loopexit
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end21:
	.size	_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_, .Lfunc_end21-_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_,"axG",@progbits,_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_,comdat
	.weak	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_ # -- Begin function _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
	.type	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_,@function
_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_: # @_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rbx
	movq	%rsi, %rax
	subq	%rdi, %rax
	cmpq	$129, %rax
	jl	.LBB22_8
# %bb.1:
	leaq	128(%rdi), %r14
	movq	%r14, %rsi
	callq	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
.LBB22_2:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB22_5 Depth 2
	cmpq	%rbx, %r14
	je	.LBB22_7
# %bb.3:                                # %.lr.ph.i
                                        #   in Loop: Header=BB22_2 Depth=1
	movq	-8(%r14), %rcx
	movq	(%r14), %rax
	movq	%r14, %rdx
	cmpq	%rcx, %rax
	jge	.LBB22_6
# %bb.4:                                # %.lr.ph.i.i.preheader
                                        #   in Loop: Header=BB22_2 Depth=1
	movq	%r14, %rdx
.LBB22_5:                               # %.lr.ph.i.i
                                        #   Parent Loop BB22_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	%rcx, (%rdx)
	movq	-16(%rdx), %rcx
	addq	$-8, %rdx
	cmpq	%rcx, %rax
	jl	.LBB22_5
.LBB22_6:                               # %_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops14_Val_less_iterEEvT_T0_.exit.i
                                        #   in Loop: Header=BB22_2 Depth=1
	movq	%rax, (%rdx)
	addq	$8, %r14
	jmp	.LBB22_2
.LBB22_8:
	movq	%rbx, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	jmp	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_ # TAILCALL
.LBB22_7:                               # %_ZSt26__unguarded_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_.exit
	.cfi_def_cfa_offset 32
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end22:
	.size	_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_, .Lfunc_end22-_ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_,"axG",@progbits,_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_,comdat
	.weak	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_ # -- Begin function _ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
	.type	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_,@function
_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_: # @_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r15
	subq	%rdi, %r15
	cmpq	$9, %r15
	jl	.LBB23_3
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %rbx
	movq	%rdi, %r14
	addq	$-8, %rbx
.LBB23_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	addq	$-8, %r15
	movq	%r15, %rdx
	sarq	$3, %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_
	addq	$-8, %rbx
	cmpq	$8, %r15
	jg	.LBB23_2
.LBB23_3:                               # %._crit_edge
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end23:
	.size	_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_, .Lfunc_end23-_ZSt11__sort_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_,"axG",@progbits,_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_,comdat
	.weak	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_ # -- Begin function _ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
	.type	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_,@function
_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_: # @_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	subq	%rdi, %rbx
	sarq	$3, %rbx
	cmpq	$2, %rbx
	jl	.LBB24_3
# %bb.1:
	movq	%rdi, %r14
	leaq	-2(%rbx), %r15
	shrq	%r15
.LBB24_2:                               # =>This Inner Loop Header: Depth=1
	movq	(%r14,%r15,8), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_
	addq	$-1, %r15
	jb	.LBB24_2
.LBB24_3:                               # %.loopexit
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end24:
	.size	_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_, .Lfunc_end24-_ZSt11__make_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_,"axG",@progbits,_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_,comdat
	.weak	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_ # -- Begin function _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_
	.type	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_,@function
_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_: # @_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_
	.cfi_startproc
# %bb.0:
	leaq	-1(%rdx), %rax
	shrq	$63, %rax
	leaq	(%rdx,%rax), %r8
	decq	%r8
	sarq	%r8
	movq	%rsi, %rax
	cmpq	%rsi, %r8
	jle	.LBB25_6
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %r9
.LBB25_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%r9,%r9), %rax
	movq	16(%rdi,%rax,8), %r10
	cmpq	8(%rdi,%rax,8), %r10
	jl	.LBB25_3
# %bb.4:                                # %.lr.ph
                                        #   in Loop: Header=BB25_2 Depth=1
	leaq	2(,%r9,2), %rax
	jmp	.LBB25_5
.LBB25_3:                               #   in Loop: Header=BB25_2 Depth=1
	leaq	1(,%r9,2), %rax
.LBB25_5:                               # %.lr.ph
                                        #   in Loop: Header=BB25_2 Depth=1
	movq	(%rdi,%rax,8), %r10
	movq	%r10, (%rdi,%r9,8)
	movq	%rax, %r9
	cmpq	%r8, %rax
	jl	.LBB25_2
.LBB25_6:                               # %._crit_edge
	testb	$1, %dl
	jne	.LBB25_9
# %bb.7:
	addq	$-2, %rdx
	sarq	%rdx
	cmpq	%rdx, %rax
	jne	.LBB25_9
# %bb.8:
	leaq	(%rax,%rax), %rdx
	movq	8(%rdi,%rdx,8), %rdx
	movq	%rdx, (%rdi,%rax,8)
	leaq	1(,%rax,2), %rax
.LBB25_9:
	cmpq	%rsi, %rax
	jle	.LBB25_10
.LBB25_11:                              # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rdx
	shrq	$63, %rdx
	addq	%rax, %rdx
	decq	%rdx
	sarq	%rdx
	movq	(%rdi,%rdx,8), %r8
	cmpq	%rcx, %r8
	jge	.LBB25_10
# %bb.12:                               #   in Loop: Header=BB25_11 Depth=1
	movq	%r8, (%rdi,%rax,8)
	movq	%rdx, %rax
	cmpq	%rsi, %rdx
	jg	.LBB25_11
	jmp	.LBB25_13
.LBB25_10:
	movq	%rax, %rdx
.LBB25_13:                              # %_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops14_Iter_less_valEEvT_T0_SA_T1_RT2_.exit
	movq	%rcx, (%rdi,%rdx,8)
	retq
.Lfunc_end25:
	.size	_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_, .Lfunc_end25-_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEllNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_,"axG",@progbits,_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_,comdat
	.weak	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_ # -- Begin function _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_
	.type	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_,@function
_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_: # @_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_
	.cfi_startproc
# %bb.0:
	movq	(%rsi), %r8
	movq	(%rdx), %r9
	movq	(%rcx), %rax
	cmpq	%r9, %r8
	jge	.LBB26_6
# %bb.1:
	cmpq	%rax, %r9
	jge	.LBB26_3
# %bb.2:
	movq	(%rdi), %rax
	movq	%r9, (%rdi)
	movq	%rax, (%rdx)
	retq
.LBB26_6:
	cmpq	%rax, %r8
	jge	.LBB26_8
# %bb.7:
	movq	(%rdi), %rax
	movq	%r8, (%rdi)
	movq	%rax, (%rsi)
	retq
.LBB26_3:
	movq	(%rdi), %rdx
	cmpq	%rax, %r8
	jge	.LBB26_5
# %bb.4:
	movq	%rax, (%rdi)
	movq	%rdx, (%rcx)
	retq
.LBB26_8:
	movq	(%rdi), %rsi
	cmpq	%rax, %r9
	jge	.LBB26_10
# %bb.9:
	movq	%rax, (%rdi)
	movq	%rsi, (%rcx)
	retq
.LBB26_5:
	movq	%r8, (%rdi)
	movq	%rdx, (%rsi)
	retq
.LBB26_10:
	movq	%r9, (%rdi)
	movq	%rsi, (%rdx)
	retq
.Lfunc_end26:
	.size	_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_, .Lfunc_end26-_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_S9_S9_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_,"axG",@progbits,_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_,comdat
	.weak	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_ # -- Begin function _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
	.type	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_,@function
_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_: # @_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
	.cfi_startproc
# %bb.0:
	cmpq	%rsi, %rdi
	je	.LBB27_14
# %bb.1:                                # %.preheader
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	8(%rdi), %rax
	cmpq	%rsi, %rax
	je	.LBB27_13
# %bb.2:                                # %.lr.ph
	movq	%r14, %r15
.LBB27_3:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB27_8 Depth 2
	movq	%r15, %rdi
	movq	%rax, %r15
	movq	8(%rdi), %r12
	movq	(%r14), %rcx
	cmpq	%rcx, %r12
	jge	.LBB27_6
# %bb.4:                                #   in Loop: Header=BB27_3 Depth=1
	movq	%r15, %rdx
	subq	%r14, %rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	cmpq	$2, %rax
	jl	.LBB27_10
# %bb.5:                                #   in Loop: Header=BB27_3 Depth=1
	shlq	$3, %rax
	subq	%rax, %rdi
	addq	$16, %rdi
	movq	%r14, %rsi
	callq	memmove@PLT
.LBB27_12:                              # %_ZSt13move_backwardIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEES6_ET0_T_S8_S7_.exit
                                        #   in Loop: Header=BB27_3 Depth=1
	movq	%r14, %rax
	jmp	.LBB27_9
.LBB27_6:                               #   in Loop: Header=BB27_3 Depth=1
	movq	(%rdi), %rcx
	movq	%r15, %rax
	cmpq	%rcx, %r12
	jge	.LBB27_9
# %bb.7:                                # %.lr.ph.i.preheader
                                        #   in Loop: Header=BB27_3 Depth=1
	movq	%r15, %rax
.LBB27_8:                               # %.lr.ph.i
                                        #   Parent Loop BB27_3 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	%rcx, (%rax)
	movq	-16(%rax), %rcx
	addq	$-8, %rax
	cmpq	%rcx, %r12
	jl	.LBB27_8
.LBB27_9:                               # %_ZSt13move_backwardIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEES6_ET0_T_S8_S7_.exit
                                        #   in Loop: Header=BB27_3 Depth=1
	movq	%r12, (%rax)
	leaq	8(%r15), %rax
	cmpq	%rbx, %rax
	jne	.LBB27_3
	jmp	.LBB27_13
.LBB27_10:                              #   in Loop: Header=BB27_3 Depth=1
	movq	%r14, %rax
	cmpq	$8, %rdx
	jne	.LBB27_9
# %bb.11:                               #   in Loop: Header=BB27_3 Depth=1
	movq	%rcx, 8(%rdi)
	jmp	.LBB27_12
.LBB27_13:
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r12
	.cfi_restore %r14
	.cfi_restore %r15
.LBB27_14:                              # %.loopexit
	retq
.Lfunc_end27:
	.size	_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_, .Lfunc_end27-_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB28_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB28_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, %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	$_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %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_end28:
	.size	__hip_module_ctor, .Lfunc_end28-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB29_2
# %bb.1:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__hipUnregisterFatBinary
	movq	$0, __hip_gpubin_handle(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
.LBB29_2:
	retq
.Lfunc_end29:
	.size	__hip_module_dtor, .Lfunc_end29-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l,@object # @_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.section	.rodata,"a",@progbits
	.globl	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.p2align	3, 0x0
_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l:
	.quad	_Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.size	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, 8

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

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

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	" input_file output_file"
	.size	.L.str.1, 24

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

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	" input_file output_file count_of_steps_in_branching"
	.size	.L.str.3, 52

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"count_of_steps_in_branching must be in [2, 10]"
	.size	.L.str.4, 47

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"Step "
	.size	.L.str.5, 6

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	", q = "
	.size	.L.str.6, 7

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

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"Total time: "
	.size	.L.str.8, 13

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

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"vector::_M_realloc_insert"
	.size	.L.str.10, 26

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l"
	.size	.L__unnamed_1, 54

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l"
	.size	.L__unnamed_2, 37

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

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

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym _Z24__device_stub__BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.addrsig_sym _Z23__device_stub__BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.addrsig_sym _Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.addrsig_sym _ZSt4cerr
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l ; -- Begin function _Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.globl	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
	.p2align	8
	.type	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l,@function
_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l: ; @_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
; %bb.0:
	s_clause 0x1
	s_load_b32 s4, s[0:1], 0x9c
	s_load_b64 s[2:3], s[0:1], 0x88
	s_waitcnt lgkmcnt(0)
	s_and_b32 s4, s4, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[10:11], null, s15, s4, v[0:1]
	v_mov_b32_e32 v11, 0
	v_cmp_gt_i64_e32 vcc_lo, s[2:3], v[10:11]
	s_and_saveexec_b32 s2, vcc_lo
	s_cbranch_execz .LBB0_20
; %bb.1:
	s_load_b512 s[4:19], s[0:1], 0x0
	v_lshlrev_b64 v[6:7], 3, v[10:11]
	s_load_b256 s[20:27], s[0:1], 0x40
	s_mov_b64 s[2:3], 0
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s10, v6
	v_add_co_ci_u32_e32 v1, vcc_lo, s11, v7, vcc_lo
	v_add_co_u32 v2, vcc_lo, s12, v6
	v_add_co_ci_u32_e32 v3, vcc_lo, s13, v7, vcc_lo
	global_load_b64 v[0:1], v[0:1], off
	global_load_b64 v[2:3], v[2:3], off
	s_waitcnt vmcnt(0)
	v_sub_co_u32 v4, vcc_lo, v2, v0
	v_sub_co_ci_u32_e32 v5, vcc_lo, v3, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v4, vcc_lo, v4, 1
	v_add_co_ci_u32_e32 v5, vcc_lo, 0, v5, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cmp_gt_i64_e32 vcc_lo, s[26:27], v[4:5]
	v_cndmask_b32_e32 v5, s27, v5, vcc_lo
	v_cndmask_b32_e32 v4, s26, v4, vcc_lo
	v_cmp_lt_i64_e32 vcc_lo, 0, v[4:5]
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB0_20
; %bb.2:                                ; %.lr.ph140
	s_clause 0x2
	s_load_b128 s[28:31], s[0:1], 0x60
	s_load_b128 s[36:39], s[0:1], 0x78
	s_load_b32 s10, s[0:1], 0x70
	v_lshlrev_b64 v[14:15], 2, v[0:1]
	v_lshlrev_b64 v[11:12], 2, v[10:11]
	v_add_co_u32 v6, vcc_lo, s4, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, s5, v7, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v8, vcc_lo, s6, v11
	v_add_co_ci_u32_e32 v9, vcc_lo, s7, v12, vcc_lo
	s_waitcnt lgkmcnt(0)
	v_mad_u64_u32 v[16:17], null, v10, s28, 0
	s_lshl_b64 s[0:1], s[28:29], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	s_cmp_lg_u64 s[0:1], 0
	s_cselect_b32 s11, -1, 0
	s_add_u32 s4, s26, -1
	v_mov_b32_e32 v13, v17
	s_addc_u32 s5, s27, -1
	s_lshl_b64 s[12:13], s[26:27], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_add_u32 s33, s16, s12
	v_mad_u64_u32 v[17:18], null, v10, s29, v[13:14]
	v_add_co_u32 v10, vcc_lo, s8, v11
	v_add_co_ci_u32_e32 v11, vcc_lo, s9, v12, vcc_lo
	s_addc_u32 s34, s17, s13
	s_add_u32 s12, s18, s12
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_lshlrev_b64 v[12:13], 2, v[16:17]
	s_addc_u32 s13, s19, s13
	s_lshl_b64 s[6:7], s[26:27], 3
	s_add_u32 s26, s20, s6
	s_addc_u32 s27, s21, s7
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_u32 v12, vcc_lo, s14, v12
	s_add_u32 s6, s22, s6
	v_add_co_ci_u32_e32 v13, vcc_lo, s15, v13, vcc_lo
	s_addc_u32 s7, s23, s7
	v_add_co_u32 v14, vcc_lo, v14, s36
	s_add_u32 s8, s33, -4
	s_addc_u32 s9, s34, -1
	v_add_co_ci_u32_e32 v15, vcc_lo, s37, v15, vcc_lo
	s_add_u32 s12, s12, -4
	s_addc_u32 s13, s13, -1
	s_add_u32 s26, s26, -8
	v_add_co_u32 v14, vcc_lo, v14, 4
	s_addc_u32 s27, s27, -1
	s_add_u32 s33, s6, -8
	v_add_co_ci_u32_e32 v15, vcc_lo, 0, v15, vcc_lo
	s_addc_u32 s14, s7, -1
	s_sub_u32 s6, 0, s0
	s_subb_u32 s7, 0, s1
	s_mov_b32 s15, 0
.LBB0_3:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	s_and_not1_b32 vcc_lo, exec_lo, s11
	s_cbranch_vccnz .LBB0_6
; %bb.4:                                ; %.lr.ph.i.i.preheader
                                        ;   in Loop: Header=BB0_3 Depth=1
	global_load_b64 v[16:17], v[6:7], off
	s_mov_b64 s[0:1], s[6:7]
	s_waitcnt vmcnt(0)
	v_add_co_u32 v18, vcc_lo, v16, s2
	v_add_co_ci_u32_e32 v16, vcc_lo, s3, v17, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_lo_u32 v20, v18, s29
	v_mul_lo_u32 v19, v16, s28
	v_mad_u64_u32 v[16:17], null, v18, s28, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add3_u32 v17, v17, v20, v19
	v_dual_mov_b32 v19, v13 :: v_dual_mov_b32 v18, v12
	v_lshlrev_b64 v[16:17], 2, v[16:17]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v16, vcc_lo, s24, v16
	v_add_co_ci_u32_e32 v17, vcc_lo, s25, v17, vcc_lo
.LBB0_5:                                ; %.lr.ph.i.i
                                        ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	global_load_u8 v20, v[18:19], off
	s_add_u32 s0, s0, 4
	s_addc_u32 s1, s1, 0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u64 s[0:1], 0
	s_waitcnt vmcnt(0)
	global_store_b8 v[16:17], v20, off
	global_load_u8 v20, v[18:19], off offset:1
	s_waitcnt vmcnt(0)
	global_store_b8 v[16:17], v20, off offset:1
	global_load_u8 v20, v[18:19], off offset:2
	s_waitcnt vmcnt(0)
	global_store_b8 v[16:17], v20, off offset:2
	global_load_u8 v20, v[18:19], off offset:3
	v_add_co_u32 v18, vcc_lo, v18, 4
	v_add_co_ci_u32_e32 v19, vcc_lo, 0, v19, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b8 v[16:17], v20, off offset:3
	v_add_co_u32 v16, vcc_lo, v16, 4
	v_add_co_ci_u32_e32 v17, vcc_lo, 0, v17, vcc_lo
	s_cbranch_scc1 .LBB0_5
.LBB0_6:                                ; %._crit_edge.i.i
                                        ;   in Loop: Header=BB0_3 Depth=1
	v_add_co_u32 v18, vcc_lo, s2, v0
	v_add_co_ci_u32_e32 v19, vcc_lo, s3, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v16, s1, v18, 1
	v_cmp_eq_u64_e64 s0, v[18:19], v[2:3]
	v_add_co_ci_u32_e64 v17, s1, 0, v19, s1
	s_mov_b32 s1, exec_lo
	v_cmpx_ne_u64_e64 v[18:19], v[2:3]
	s_xor_b32 s1, exec_lo, s1
	s_cbranch_execz .LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	global_load_b32 v20, v[8:9], off
	s_cmp_lg_u64 s[2:3], s[4:5]
	s_mov_b32 s34, -1
	s_cbranch_scc0 .LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	global_load_b64 v[21:22], v[6:7], off
	s_lshl_b64 s[34:35], s[2:3], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_4) | instid1(SALU_CYCLE_1)
	s_add_u32 s40, s34, s16
	s_addc_u32 s41, s35, s17
	s_add_u32 s42, s34, s18
	s_addc_u32 s43, s35, s19
	s_lshl_b64 s[34:35], s[2:3], 3
	s_add_u32 s44, s34, s20
	s_addc_u32 s45, s35, s21
	s_add_u32 s34, s34, s22
	s_addc_u32 s35, s35, s23
	s_waitcnt vmcnt(0)
	v_lshlrev_b64 v[23:24], 3, v[21:22]
	v_lshlrev_b64 v[21:22], 2, v[21:22]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v23, vcc_lo, s44, v23
	v_add_co_ci_u32_e32 v24, vcc_lo, s45, v24, vcc_lo
	global_store_b64 v[23:24], v[16:17], off
	global_load_b64 v[16:17], v[6:7], off
	v_lshlrev_b64 v[23:24], 2, v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v25, vcc_lo, s36, v23
	v_add_co_ci_u32_e32 v26, vcc_lo, s37, v24, vcc_lo
	global_load_b32 v27, v[25:26], off
	s_waitcnt vmcnt(1)
	v_lshlrev_b64 v[16:17], 3, v[16:17]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v16, vcc_lo, s34, v16
	v_add_co_ci_u32_e32 v17, vcc_lo, s35, v17, vcc_lo
	v_add_co_u32 v25, vcc_lo, s40, v21
	v_add_co_ci_u32_e32 v26, vcc_lo, s41, v22, vcc_lo
	global_store_b64 v[16:17], v[2:3], off
	global_load_b64 v[16:17], v[6:7], off
	s_waitcnt vmcnt(1)
	v_sub_nc_u32_e32 v27, v20, v27
	v_add_co_u32 v23, vcc_lo, s38, v23
	v_add_co_ci_u32_e32 v24, vcc_lo, s39, v24, vcc_lo
	global_store_b32 v[25:26], v27, off
	global_load_b32 v26, v[10:11], off
	global_load_b32 v27, v[23:24], off
	v_ashrrev_i32_e32 v23, 31, v19
	s_mov_b32 s34, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_lshrrev_b32_e32 v23, 27, v23
	s_waitcnt vmcnt(2)
	v_add_co_u32 v24, vcc_lo, v16, s2
	v_add_co_ci_u32_e32 v16, vcc_lo, s3, v17, vcc_lo
	v_add_co_u32 v23, vcc_lo, v18, v23
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_lo_u32 v28, v24, s29
	v_mul_lo_u32 v25, v16, s28
	v_mad_u64_u32 v[16:17], null, v24, s28, 0
	v_add_co_ci_u32_e32 v24, vcc_lo, 0, v19, vcc_lo
	v_add_co_u32 v21, vcc_lo, s42, v21
	v_add_co_ci_u32_e32 v22, vcc_lo, s43, v22, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add3_u32 v17, v17, v28, v25
	v_ashrrev_i64 v[23:24], 5, v[23:24]
	s_waitcnt vmcnt(0)
	v_sub_nc_u32_e32 v26, v26, v27
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[16:17], 2, v[16:17]
	v_lshlrev_b64 v[24:25], 2, v[23:24]
	global_store_b32 v[21:22], v26, off
	v_lshlrev_b32_e32 v22, 5, v23
	v_add_co_u32 v16, vcc_lo, s24, v16
	v_add_co_ci_u32_e32 v17, vcc_lo, s25, v17, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_nc_u32_e32 v22, v18, v22
	v_add_co_u32 v16, vcc_lo, v16, v24
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v17, vcc_lo, v17, v25, vcc_lo
	v_lshlrev_b32_e64 v22, v22, 1
	global_load_b32 v21, v[16:17], off
	s_waitcnt vmcnt(0)
	v_xor_b32_e32 v21, v21, v22
	global_store_b32 v[16:17], v21, off
.LBB0_9:                                ; %Flow
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_and_not1_b32 vcc_lo, exec_lo, s34
                                        ; implicit-def: $vgpr16_vgpr17
	s_cbranch_vccnz .LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	global_load_b64 v[16:17], v[6:7], off
	s_waitcnt vmcnt(0)
	v_lshlrev_b64 v[21:22], 3, v[16:17]
	v_lshlrev_b64 v[16:17], 2, v[16:17]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v21, vcc_lo, s26, v21
	v_add_co_ci_u32_e32 v22, vcc_lo, s27, v22, vcc_lo
	global_store_b64 v[21:22], v[18:19], off
	global_load_b64 v[18:19], v[6:7], off
	v_add_co_u32 v21, vcc_lo, s8, v16
	v_add_co_ci_u32_e32 v22, vcc_lo, s9, v17, vcc_lo
	v_add_co_u32 v16, vcc_lo, s12, v16
	v_add_co_ci_u32_e32 v17, vcc_lo, s13, v17, vcc_lo
	global_store_b32 v[21:22], v20, off
	global_load_b32 v20, v[10:11], off
	s_waitcnt vmcnt(1)
	v_lshlrev_b64 v[18:19], 3, v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v18, vcc_lo, s33, v18
	v_add_co_ci_u32_e32 v19, vcc_lo, s14, v19, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[16:17], v20, off
	global_store_b64 v[18:19], v[2:3], off
                                        ; implicit-def: $vgpr16_vgpr17
.LBB0_11:                               ; %Flow219
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_and_not1_saveexec_b32 s34, s1
	s_cbranch_execz .LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	global_load_b64 v[18:19], v[6:7], off
	global_load_b32 v24, v[8:9], off
	s_lshl_b64 s[40:41], s[2:3], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	s_add_u32 s1, s40, s16
	s_addc_u32 s35, s41, s17
	s_waitcnt vmcnt(1)
	v_lshlrev_b64 v[20:21], 2, v[18:19]
	v_add_co_u32 v22, vcc_lo, s1, v20
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v23, vcc_lo, s35, v21, vcc_lo
	s_add_u32 s1, s40, s18
	s_addc_u32 s35, s41, s19
	v_add_co_u32 v20, vcc_lo, s1, v20
	s_waitcnt vmcnt(0)
	global_store_b32 v[22:23], v24, off
	global_load_b32 v22, v[10:11], off
	v_add_co_ci_u32_e32 v21, vcc_lo, s35, v21, vcc_lo
	s_mov_b32 s35, exec_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[20:21], v22, off
	v_cmpx_gt_i64_e64 s[30:31], v[16:17]
	s_cbranch_execz .LBB0_18
; %bb.13:                               ; %.lr.ph
                                        ;   in Loop: Header=BB0_3 Depth=1
	global_load_b32 v26, v[8:9], off
	v_dual_mov_b32 v21, v15 :: v_dual_mov_b32 v20, v14
	s_mov_b32 s40, 0
                                        ; implicit-def: $sgpr41
.LBB0_14:                               ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	global_load_b32 v22, v[20:21], off
	s_or_b32 s41, s41, exec_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v22, v22, v26
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_lt_i32_e32 vcc_lo, s10, v22
                                        ; implicit-def: $vgpr22_vgpr23
	s_and_saveexec_b32 s42, vcc_lo
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	v_add_co_u32 v22, vcc_lo, v16, 1
	v_add_co_ci_u32_e32 v23, vcc_lo, 0, v17, vcc_lo
	v_add_co_u32 v20, s1, v20, 4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e64 v21, s1, 0, v21, s1
	v_cmp_le_i64_e32 vcc_lo, s[30:31], v[22:23]
	v_dual_mov_b32 v16, s30 :: v_dual_mov_b32 v17, s31
	s_and_not1_b32 s1, s41, exec_lo
	s_and_b32 s41, vcc_lo, exec_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 s41, s1, s41
; %bb.16:                               ; %Flow216
                                        ;   in Loop: Header=BB0_14 Depth=2
	s_or_b32 exec_lo, exec_lo, s42
	v_dual_mov_b32 v25, v17 :: v_dual_mov_b32 v24, v16
	v_dual_mov_b32 v16, v22 :: v_dual_mov_b32 v17, v23
	s_and_b32 s1, exec_lo, s41
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_or_b32 s40, s1, s40
	s_and_not1_b32 exec_lo, exec_lo, s40
	s_cbranch_execnz .LBB0_14
; %bb.17:                               ; %Flow217
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s40
	v_dual_mov_b32 v16, v24 :: v_dual_mov_b32 v17, v25
.LBB0_18:                               ; %Flow218
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s35
	v_lshlrev_b64 v[18:19], 3, v[18:19]
	s_lshl_b64 s[40:41], s[2:3], 3
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	s_add_u32 s1, s40, s20
	s_addc_u32 s35, s41, s21
	v_add_co_u32 v18, vcc_lo, s1, v18
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v19, vcc_lo, s35, v19, vcc_lo
	s_add_u32 s1, s40, s22
	s_addc_u32 s35, s41, s23
	global_store_b64 v[18:19], v[16:17], off
	global_load_b64 v[18:19], v[6:7], off
	s_waitcnt vmcnt(0)
	v_lshlrev_b64 v[18:19], 3, v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v18, vcc_lo, s1, v18
	v_add_co_ci_u32_e32 v19, vcc_lo, s35, v19, vcc_lo
	global_store_b64 v[18:19], v[16:17], off
.LBB0_19:                               ; %Flow220
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s34
	s_add_u32 s2, s2, 1
	s_addc_u32 s3, s3, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_4) | instid1(SALU_CYCLE_1)
	v_cmp_eq_u64_e32 vcc_lo, s[2:3], v[4:5]
	s_or_b32 s0, s0, vcc_lo
	v_add_co_u32 v14, vcc_lo, v14, 4
	v_add_co_ci_u32_e32 v15, vcc_lo, 0, v15, vcc_lo
	s_and_b32 s0, exec_lo, s0
	s_or_b32 s15, s0, s15
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s15
	s_cbranch_execnz .LBB0_3
.LBB0_20:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 400
		.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 29
		.amdhsa_next_free_sgpr 46
		.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	_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l, .Lfunc_end0-_Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1856
; NumSgprs: 48
; NumVgprs: 29
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 5
; VGPRBlocks: 3
; NumSGPRsForWavesPerEU: 48
; NumVGPRsForWavesPerEU: 29
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l ; -- Begin function _Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.globl	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
	.p2align	8
	.type	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l,@function
_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l:   ; @_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
; %bb.0:
	s_clause 0x1
	s_load_b32 s4, s[0:1], 0x74
	s_load_b64 s[2:3], s[0:1], 0x60
	s_waitcnt lgkmcnt(0)
	s_and_b32 s4, s4, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[2:3], null, s15, s4, v[0:1]
	v_mov_b32_e32 v3, 0
	v_cmp_gt_i64_e32 vcc_lo, s[2:3], v[2:3]
	s_and_saveexec_b32 s2, vcc_lo
	s_cbranch_execz .LBB1_16
; %bb.1:
	s_load_b512 s[4:19], s[0:1], 0x0
	v_lshlrev_b64 v[0:1], 3, v[2:3]
	s_load_b128 s[20:23], s[0:1], 0x50
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v6, vcc_lo, s8, v0
	v_add_co_ci_u32_e32 v7, vcc_lo, s9, v1, vcc_lo
	v_lshlrev_b64 v[0:1], 2, v[2:3]
	global_load_b64 v[4:5], v[6:7], off
	v_add_co_u32 v8, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v9, vcc_lo, s5, v1, vcc_lo
	v_add_co_u32 v10, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v11, vcc_lo, s7, v1, vcc_lo
	s_mov_b32 s4, exec_lo
	s_waitcnt vmcnt(0)
	v_lshlrev_b64 v[12:13], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v14, vcc_lo, s20, v12
	v_add_co_ci_u32_e32 v15, vcc_lo, s21, v13, vcc_lo
	v_add_co_u32 v16, vcc_lo, s22, v12
	v_add_co_ci_u32_e32 v17, vcc_lo, s23, v13, vcc_lo
	global_load_b32 v21, v[8:9], off
	global_load_b32 v20, v[10:11], off
	global_load_b32 v22, v[14:15], off
	global_load_b32 v3, v[16:17], off
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x40
	s_load_b32 s1, s[0:1], 0x48
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i64_e64 s[2:3], v[4:5]
	s_cbranch_execz .LBB1_7
; %bb.2:                                ; %.lr.ph
	v_mad_u64_u32 v[14:15], null, v2, s18, 0
	v_add_co_u32 v18, vcc_lo, v12, 4
	v_add_co_ci_u32_e32 v19, vcc_lo, 0, v13, vcc_lo
	s_mov_b32 s5, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v12, vcc_lo, s22, v18
	v_mad_u64_u32 v[16:17], null, v2, s19, v[15:16]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_ci_u32_e32 v13, vcc_lo, s23, v19, vcc_lo
                                        ; implicit-def: $sgpr6
	v_mov_b32_e32 v15, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[16:17], 2, v[14:15]
	v_add_co_u32 v14, vcc_lo, s20, v18
	v_add_co_ci_u32_e32 v15, vcc_lo, s21, v19, vcc_lo
	v_add_co_u32 v23, vcc_lo, s10, v16
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v24, vcc_lo, s11, v17, vcc_lo
	v_dual_mov_b32 v17, v5 :: v_dual_mov_b32 v16, v4
.LBB1_3:                                ; =>This Inner Loop Header: Depth=1
	s_waitcnt vmcnt(1)
	v_dual_mov_b32 v26, v21 :: v_dual_add_nc_u32 v25, v22, v21
	s_or_b32 s6, s6, exec_lo
	s_mov_b32 s7, exec_lo
                                        ; implicit-def: $vgpr18_vgpr19
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_ge_i32_e64 s1, v25
	s_cbranch_execz .LBB1_5
; %bb.4:                                ;   in Loop: Header=BB1_3 Depth=1
	v_ashrrev_i32_e32 v4, 31, v17
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v20, v3, v20
	v_mov_b32_e32 v26, v25
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshrrev_b32_e32 v4, 27, v4
	v_add_co_u32 v4, vcc_lo, v16, v4
	v_add_co_ci_u32_e32 v5, vcc_lo, 0, v17, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i64 v[4:5], 5, v[4:5]
	v_lshlrev_b64 v[18:19], 2, v[4:5]
	v_lshlrev_b32_e32 v4, 5, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_nc_u32_e32 v4, v16, v4
	v_add_co_u32 v18, vcc_lo, v23, v18
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v19, vcc_lo, v24, v19, vcc_lo
	global_load_b32 v5, v[18:19], off
	s_waitcnt vmcnt(0)
	v_lshl_or_b32 v4, 1, v4, v5
	global_store_b32 v[18:19], v4, off
	global_load_b32 v22, v[14:15], off
	global_load_b32 v3, v[12:13], off
	v_add_co_u32 v18, vcc_lo, v16, 1
	v_add_co_ci_u32_e32 v19, vcc_lo, 0, v17, vcc_lo
	v_mov_b32_e32 v17, s3
	v_add_co_u32 v12, vcc_lo, v12, 4
	v_add_co_ci_u32_e32 v13, vcc_lo, 0, v13, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_le_i64_e32 vcc_lo, s[2:3], v[18:19]
	v_add_co_u32 v14, s0, v14, 4
	v_add_co_ci_u32_e64 v15, s0, 0, v15, s0
	v_mov_b32_e32 v16, s2
	s_and_not1_b32 s0, s6, exec_lo
	s_and_b32 s6, vcc_lo, exec_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 s6, s0, s6
.LBB1_5:                                ; %Flow159
                                        ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s7
	v_dual_mov_b32 v4, v16 :: v_dual_mov_b32 v5, v17
	v_dual_mov_b32 v21, v25 :: v_dual_mov_b32 v16, v18
	v_mov_b32_e32 v17, v19
	s_and_b32 s0, exec_lo, s6
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_or_b32 s5, s0, s5
	s_and_not1_b32 exec_lo, exec_lo, s5
	s_cbranch_execnz .LBB1_3
; %bb.6:                                ; %Flow160
	s_or_b32 exec_lo, exec_lo, s5
	v_mov_b32_e32 v21, v26
.LBB1_7:                                ; %Flow161
	s_or_b32 exec_lo, exec_lo, s4
	v_mov_b32_e32 v12, 0
	s_mov_b32 s0, exec_lo
	s_waitcnt vmcnt(1)
	v_cmpx_ne_u32_e32 0, v22
	s_cbranch_execz .LBB1_9
; %bb.8:
	v_ashrrev_i32_e32 v12, 31, v22
	v_sub_nc_u32_e32 v15, s1, v21
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v13, v22, v12
	s_waitcnt vmcnt(0)
	v_mul_lo_u32 v3, v3, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v13, v13, v12
	v_cvt_f32_u32_e32 v14, v13
	v_sub_nc_u32_e32 v16, 0, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_iflag_f32_e32 v14, v14
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v14, 0x4f7ffffe, v14
	v_cvt_u32_f32_e32 v14, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v15, v16, v14
	v_ashrrev_i32_e32 v16, 31, v3
	v_add_nc_u32_e32 v3, v3, v16
	v_xor_b32_e32 v12, v16, v12
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_hi_u32 v15, v14, v15
	v_xor_b32_e32 v3, v3, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v14, v14, v15
	v_mul_hi_u32 v14, v3, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v15, v14, v13
	v_sub_nc_u32_e32 v3, v3, v15
	v_add_nc_u32_e32 v15, 1, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v17, v3, v13
	v_cmp_ge_u32_e32 vcc_lo, v3, v13
	v_dual_cndmask_b32 v3, v3, v17 :: v_dual_cndmask_b32 v14, v14, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_ge_u32_e32 vcc_lo, v3, v13
	v_add_nc_u32_e32 v15, 1, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v3, v14, v15, vcc_lo
	v_xor_b32_e32 v3, v3, v12
	s_delay_alu instid0(VALU_DEP_1)
	v_sub_nc_u32_e32 v12, v3, v12
.LBB1_9:
	s_or_b32 exec_lo, exec_lo, s0
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1)
	v_add_nc_u32_e32 v3, v12, v20
	v_add_co_u32 v12, vcc_lo, s14, v0
	v_add_co_ci_u32_e32 v13, vcc_lo, s15, v1, vcc_lo
	s_mov_b32 s4, exec_lo
	global_store_b32 v[12:13], v3, off
	global_store_b32 v[8:9], v21, off
	global_store_b32 v[10:11], v20, off
	global_store_b64 v[6:7], v[4:5], off
	v_cmpx_gt_i64_e64 s[2:3], v[4:5]
	s_cbranch_execz .LBB1_15
; %bb.10:                               ; %.lr.ph104
	v_mad_u64_u32 v[6:7], null, v2, s18, 0
	v_lshlrev_b64 v[10:11], 2, v[4:5]
	s_mov_b32 s5, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v3, v7
	v_mad_u64_u32 v[7:8], null, v2, s19, v[3:4]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v2, vcc_lo, s22, v10
	v_add_co_ci_u32_e32 v3, vcc_lo, s23, v11, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[6:7], 2, v[6:7]
	v_add_co_u32 v8, vcc_lo, s16, v6
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v9, vcc_lo, s17, v7, vcc_lo
	v_add_co_u32 v6, vcc_lo, s20, v10
	v_add_co_ci_u32_e32 v7, vcc_lo, s21, v11, vcc_lo
.LBB1_11:                               ; =>This Inner Loop Header: Depth=1
	global_load_b32 v10, v[6:7], off
	s_mov_b32 s0, exec_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v10, v10, v21
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_ge_i32_e64 s1, v10
	s_cbranch_execz .LBB1_13
; %bb.12:                               ;   in Loop: Header=BB1_11 Depth=1
	v_ashrrev_i32_e32 v11, 31, v5
	v_mov_b32_e32 v21, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshrrev_b32_e32 v11, 27, v11
	v_add_co_u32 v11, vcc_lo, v4, v11
	v_add_co_ci_u32_e32 v12, vcc_lo, 0, v5, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i64 v[11:12], 5, v[11:12]
	v_lshlrev_b64 v[12:13], 2, v[11:12]
	v_lshlrev_b32_e32 v11, 5, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_nc_u32_e32 v11, v4, v11
	v_add_co_u32 v12, vcc_lo, v8, v12
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v13, vcc_lo, v9, v13, vcc_lo
	global_load_b32 v14, v[2:3], off
	global_load_b32 v15, v[12:13], off
	s_waitcnt vmcnt(1)
	v_add_nc_u32_e32 v20, v14, v20
	s_waitcnt vmcnt(0)
	v_lshl_or_b32 v11, 1, v11, v15
	global_store_b32 v[12:13], v11, off
.LBB1_13:                               ;   in Loop: Header=BB1_11 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_add_co_u32 v4, vcc_lo, v4, 1
	v_add_co_ci_u32_e32 v5, vcc_lo, 0, v5, vcc_lo
	v_add_co_u32 v2, vcc_lo, v2, 4
	v_add_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_le_i64_e32 vcc_lo, s[2:3], v[4:5]
	v_add_co_u32 v6, s0, v6, 4
	v_add_co_ci_u32_e64 v7, s0, 0, v7, s0
	s_or_b32 s5, vcc_lo, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s5
	s_cbranch_execnz .LBB1_11
; %bb.14:                               ; %Flow
	s_or_b32 exec_lo, exec_lo, s5
.LBB1_15:                               ; %Flow158
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 exec_lo, exec_lo, s4
	v_add_co_u32 v0, vcc_lo, s12, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s13, v1, vcc_lo
	global_store_b32 v[0:1], v20, off
.LBB1_16:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 360
		.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 27
		.amdhsa_next_free_sgpr 24
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l, .Lfunc_end1-_Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1304
; NumSgprs: 26
; NumVgprs: 27
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 3
; VGPRBlocks: 3
; NumSGPRsForWavesPerEU: 26
; NumVGPRsForWavesPerEU: 27
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .offset:         88
        .size:           8
        .value_kind:     by_value
      - .offset:         96
        .size:           8
        .value_kind:     by_value
      - .offset:         104
        .size:           8
        .value_kind:     by_value
      - .offset:         112
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         120
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         128
        .size:           8
        .value_kind:     global_buffer
      - .offset:         136
        .size:           8
        .value_kind:     by_value
      - .offset:         144
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         148
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         152
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         156
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         158
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         160
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         162
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         164
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         166
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         184
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         192
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         200
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         208
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 400
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l
    .private_segment_fixed_size: 0
    .sgpr_count:     48
    .sgpr_spill_count: 0
    .symbol:         _Z9BranchGPUPKlPKiS2_S0_S0_PKjPiS5_PlS6_PjllliS2_S2_l.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     29
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .offset:         56
        .size:           8
        .value_kind:     by_value
      - .offset:         64
        .size:           8
        .value_kind:     by_value
      - .offset:         72
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         88
        .size:           8
        .value_kind:     global_buffer
      - .offset:         96
        .size:           8
        .value_kind:     by_value
      - .offset:         104
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         108
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         112
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         116
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         118
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         120
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         122
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         124
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         126
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         152
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         160
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         168
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 360
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l
    .private_segment_fixed_size: 0
    .sgpr_count:     26
    .sgpr_spill_count: 0
    .symbol:         _Z8BoundGPUPiS_PlPjS_S_S1_lliPKiS3_l.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     27
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
