#include <bits/stdc++.h>
#include <cuda.h>
#include <curand.h>
#include <curand_kernel.h>
#define MAXEDGES 3000000
using namespace std;
using namespace std::chrono;
//sample comment2
int *edge_array,*edge_array_parent,*vertex_array,*vertex_array_parent,*start_interval,*end_interval;
bool *is_leaf;
int counter=0;

__global__ void BFS2(int* off,int* edge,int* current,int* size,int N,int E,volatile int* c_arr,int* c_size,int* dist,volatile int* D_start_interval,volatile int* D_end_interval,volatile int* mutexs){
    int id = blockIdx.x*blockDim.x+threadIdx.x;
    if(id < *size){
        int node = current[id];
        int start = off[node];
        int end = off[node+1];
        
        while(start<end){
            int child = edge[start];
            bool isSet = false;
            do 
    		{
    			//printf("hmm\n");
        		if (isSet = atomicCAS((int *)(mutexs+child), 0, 1) == 0) 
        		{
        			bool flag=false;
        				if(D_start_interval[child]>D_start_interval[node]){
        					D_start_interval[child]=D_start_interval[node];
        					flag=true;
        				}
        				if(D_end_interval[child]<D_end_interval[node]){
        					D_end_interval[child]=D_end_interval[node];
        					flag=true;
        				}

        			if (flag){
                	int index = atomicAdd(c_size,1);
                	c_arr[index]= child;
            		}

        		}
        		if (isSet)  //if acquired the lock then release it
        		{
            		mutexs[child] = 0;
        		}
	
    		}while (!isSet);

            start++;  
        }
    }
}

__global__ void BFS(int* off,int* edge,int* current,int* size,int N,int E,volatile int* c_arr,int* c_size,int* dist,volatile int* D_start_interval,volatile int* D_end_interval,volatile int* mutexs){
    int id = blockIdx.x*blockDim.x+threadIdx.x;
    if(id < *size){
        int node = current[id];
        int start = off[node];
        int end = off[node+1];
        
        while(start<end){
            int child = edge[start];
            bool isSet = false;
            do 
    		{
    			//printf("hmm\n");
        		if (isSet = atomicCAS((int *)(mutexs+child), 0, 1) == 0) 
        		{
        			bool flag=false;
        			if(D_start_interval[child]==0 && D_end_interval[child]==0){
        				D_start_interval[child]=D_start_interval[node];
        				D_end_interval[child]=D_end_interval[node];
        			}
        			else{
        				if(D_start_interval[child]>D_start_interval[node]){
        					D_start_interval[child]=D_start_interval[node];
        					flag=true;
        				}
        				if(D_end_interval[child]<D_end_interval[node]){
        					D_end_interval[child]=D_end_interval[node];
        					flag=true;
        				}
        			}

        			if ( dist[child] < 0 || flag){
                	dist[child] = 0;
                	int index = atomicAdd(c_size,1);
                	c_arr[index]= child;
            		}

        		}
        		if (isSet)  //if acquired the lock then release it
        		{
            		mutexs[child] = 0;
        		}
	
    		}while (!isSet);

            start++;  
        }
    }
}


void CSR(unordered_map<int,vector<int> > &m,int *vertex_array,int *edge_array, int nodes){
	
	int curr_index=0;
	for(int i=0;i<nodes;i++){
		int num_of_edges=m[i].size();
		vertex_array[i]=curr_index;
		for(int j=0;j<num_of_edges;j++){
			edge_array[curr_index+j]=m[i][j];
		}
		curr_index+=num_of_edges;
	}
	vertex_array[nodes]=curr_index;
}

void find_leaf(unordered_map<int,vector<int> >&m,int nodes){
	for(int i=0;i<nodes;i++){
		if(m[i].size()==0){
			is_leaf[i]=true;
		}
	}
}

void init(int nodes,int edges){
	edge_array=new int[MAXEDGES];
	vertex_array=new int[nodes+1];
	edge_array_parent=new int[MAXEDGES];
	vertex_array_parent=new int[nodes+1];
	start_interval=new int[nodes];
	end_interval=new int[nodes];
	is_leaf=new bool[nodes];


	for(int i=0;i<nodes;i++){
		is_leaf[i]=false;
		start_interval[i]=0;
		end_interval[i]=0;
	}
}

int main(){


	int nodes,edges,root;
	srand(time(NULL));
	unordered_map<int,vector<int> >m,m2;
	cin>>nodes>>edges;
	int u,v;
	for(int i=0;i<edges;i++){
		cin>>u>>v;
		m[u].push_back(v);
		m2[v].push_back(u);
    }
    cin>>root;
    init(nodes,edges);
    CSR(m,vertex_array,edge_array,nodes);
    CSR(m2,vertex_array_parent,edge_array_parent,nodes);
    find_leaf(m,nodes);
    

    int* H_current_node = (int*)malloc(sizeof(int)*MAXEDGES);
    int counter=0;
    for(int i=0;i<nodes;i++){
    	if(is_leaf[i]){
    		H_current_node[counter]=i;
    		counter++;
    		start_interval[i]=counter;
    		end_interval[i]=counter;
    		//cout<<i<<endl;
    	}
    }
    /*for(int i=0;i<counter;i++){
    	printf("%d ",H_current_node[i]);
    }*/
    
    int* H_c_size = (int*)malloc(sizeof(int));
    *H_c_size = counter;
    int* H_visited = (int*)malloc(sizeof(int)*nodes);
    memset(H_visited,-1,sizeof(int)*nodes);

    int* H_mutexs = (int*)malloc(sizeof(int)*nodes);
    memset(H_mutexs,0,sizeof(int)*nodes);


    for(int i=0;i<nodes;i++){
    	if(is_leaf[i]){
    		H_visited[i]=0;
    	}
    	//printf("%d\n",H_mutexs[i]);
    }
    /*for(int i=0;i<nodes;i++){
        printf("%d, %d\n",i,H_visited[i]);
    }
    printf("sdfbdsjfbsjd\n");*/
    int* a0 = (int*)malloc(sizeof(int));
    *a0=0;

    int* a1 = (int*)malloc(sizeof(int));
    *a1=counter;

    int* D_offset;
    int* D_edges;
    int* D_visited;

    int* D_current_node1;
    int* D_c_size1;
    int* D_current_node2;

    int* D_mutexs;
    int* D_start_interval;
    int* D_end_interval;


    int* D_c_size2;

    cudaMalloc(&D_offset,sizeof(int)*(nodes+1));
    cudaMalloc(&D_visited,sizeof(int)*nodes);
    cudaMalloc(&D_edges,sizeof(int)*MAXEDGES);
    cudaMalloc(&D_current_node1,sizeof(int)*MAXEDGES);
    cudaMalloc(&D_c_size1,sizeof(int));
    cudaMalloc(&D_current_node2,sizeof(int)*MAXEDGES);
    cudaMalloc(&D_c_size2,sizeof(int));

    cudaMalloc(&D_mutexs,sizeof(int)*nodes);
    cudaMalloc(&D_start_interval,sizeof(int)*nodes);
    cudaMalloc(&D_end_interval,sizeof(int)*nodes);

    cudaMemcpy(D_offset,vertex_array_parent,sizeof(int)*(nodes+1),cudaMemcpyHostToDevice);
    cudaMemcpy(D_edges,edge_array_parent,sizeof(int)*MAXEDGES,cudaMemcpyHostToDevice);
    cudaMemcpy(D_current_node1,H_current_node,sizeof(int)*MAXEDGES,cudaMemcpyHostToDevice);
    cudaMemcpy(D_visited,H_visited,sizeof(int)*nodes,cudaMemcpyHostToDevice);
    cudaMemcpy(D_c_size1,a1,sizeof(int),cudaMemcpyHostToDevice);
    cudaMemcpy(D_c_size2,a0,sizeof(int),cudaMemcpyHostToDevice);

    cudaMemcpy(D_mutexs,H_mutexs,sizeof(int)*nodes,cudaMemcpyHostToDevice);
    cudaMemcpy(D_start_interval,start_interval,sizeof(int)*nodes,cudaMemcpyHostToDevice);
    cudaMemcpy(D_end_interval,end_interval,sizeof(int)*nodes,cudaMemcpyHostToDevice);

    int i=1;
    while(*H_c_size>0){
    	
        int numThreads = 512;
        int numBlocks = (*H_c_size+numThreads-1)/numThreads;


        if(i%2==1){
            //use array 1
            //printf("hmm\n");
            BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node1,D_c_size1,nodes,edges,D_current_node2,D_c_size2,D_visited,D_start_interval,D_end_interval,D_mutexs);

            cudaMemcpy(H_c_size,D_c_size2, sizeof(int),cudaMemcpyDeviceToHost);
            // reset the index
            cudaMemcpy(D_c_size1,a0,sizeof(int),cudaMemcpyHostToDevice);
          
        }
        else{
            //use array 2
            BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node2,D_c_size2,nodes,edges,D_current_node1,D_c_size1,D_visited,D_start_interval,D_end_interval,D_mutexs);
            
            cudaMemcpy(H_c_size,D_c_size1, sizeof(int),cudaMemcpyDeviceToHost);
            //reset index
            cudaMemcpy(D_c_size2,a0,sizeof(int),cudaMemcpyHostToDevice);

        }
        i++;
        
    }
    cudaMemcpy(H_visited,D_visited, sizeof(int)*nodes,cudaMemcpyDeviceToHost);
    
    for(int j=nodes-1;j>=0;j--){
        //printf("%d %d %d %d\n",i,H_visited[i],start_interval[i],end_interval[i]);
        if(H_visited[j]==-1){
        	//printf("hmm\n");
        	H_current_node[0]=j;
        	*a1=1;
        	*H_c_size=1;
        	cudaMemcpy(D_current_node1,H_current_node,sizeof(int)*MAXEDGES,cudaMemcpyHostToDevice);	// OPTIMIZATION POSSIBLE HERE. INSTEAD OF COPYING ENTIRE ARRAY JUST COPY FIRST ELEMENT
        	cudaMemcpy(D_c_size1,a1,sizeof(int),cudaMemcpyHostToDevice);
    		cudaMemcpy(D_c_size2,a0,sizeof(int),cudaMemcpyHostToDevice);
    		counter++;
    		cudaMemcpy(&D_start_interval[j], &counter, sizeof(int), cudaMemcpyHostToDevice);
    		cudaMemcpy(&D_end_interval[j], &counter, sizeof(int), cudaMemcpyHostToDevice);
    		

        	i=1;
    		while(*H_c_size>0){
    			//printf("%d  %d\n",*H_c_size,j);
        		int numThreads = 512;
        		int numBlocks = (*H_c_size+numThreads-1)/numThreads;


        		if(i%2==1){
            		//use array 1
            		//printf("hmm\n");
            		BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node1,D_c_size1,nodes,edges,D_current_node2,D_c_size2,D_visited,D_start_interval,D_end_interval,D_mutexs);

            		cudaMemcpy(H_c_size,D_c_size2, sizeof(int),cudaMemcpyDeviceToHost);
            		// reset the index
            		cudaMemcpy(D_c_size1,a0,sizeof(int),cudaMemcpyHostToDevice);
          
        		}
        		else{
            		//use array 2
            		BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node2,D_c_size2,nodes,edges,D_current_node1,D_c_size1,D_visited,D_start_interval,D_end_interval,D_mutexs);
            
            		cudaMemcpy(H_c_size,D_c_size1, sizeof(int),cudaMemcpyDeviceToHost);
            		//reset index
            		cudaMemcpy(D_c_size2,a0,sizeof(int),cudaMemcpyHostToDevice);

        		}
        		i++;
        
    		}

    		cudaMemcpy(H_visited,D_visited,sizeof(int)*nodes,cudaMemcpyDeviceToHost);



        }
    }
    cudaMemcpy(start_interval,D_start_interval,sizeof(int)*nodes,cudaMemcpyDeviceToHost);
    cudaMemcpy(end_interval,D_end_interval,sizeof(int)*nodes,cudaMemcpyDeviceToHost);

    int batch_size=512;
    int *addition_x = new int[batch_size];
    int *addition_y = new int[batch_size];
    for(int i=0;i<batch_size;i++){
    	int st = rand()%nodes;
	int en = rand()%nodes;
	if(st < en){
		addition_x[i]=st;
		addition_y[i]=en;
	}
	else{
		i--;
	}
    }

    for(int i=0;i<batch_size;i++){
    	m[addition_x[i]].push_back(addition_y[i]);
	m2[addition_y[i]].push_back(addition_x[i]);
	edges++;
    	//printf("%d  %d  %d\n",i,addition_x[i],addition_y[i]);
    	start_interval[addition_x[i]]=min(start_interval[addition_x[i]],start_interval[addition_y[i]]);
    	end_interval[addition_x[i]]=max(end_interval[addition_x[i]],end_interval[addition_y[i]]);
    }

    for(int i=0;i<batch_size;i++){
    		H_current_node[i] = addition_x[i];
    }

    *H_c_size = batch_size;
    memset(H_visited,-1,sizeof(int)*nodes);

    memset(H_mutexs,0,sizeof(int)*nodes);


    for(int i=0;i<batch_size;i++){
    		H_visited[addition_x[i]]=0;
    	//printf("%d\n",H_mutexs[i]);
    }
    /*for(int i=0;i<nodes;i++){
        printf("%d, %d\n",i,H_visited[i]);
    }
    printf("sdfbdsjfbsjd\n");*/
    *a0=0;

    *a1=batch_size;


    cudaMemcpy(D_offset,vertex_array_parent,sizeof(int)*(nodes+1),cudaMemcpyHostToDevice);
    cudaMemcpy(D_edges,edge_array_parent,sizeof(int)*MAXEDGES,cudaMemcpyHostToDevice);
    cudaMemcpy(D_current_node1,H_current_node,sizeof(int)*MAXEDGES,cudaMemcpyHostToDevice);
    cudaMemcpy(D_visited,H_visited,sizeof(int)*nodes,cudaMemcpyHostToDevice);
    cudaMemcpy(D_c_size1,a1,sizeof(int),cudaMemcpyHostToDevice);
    cudaMemcpy(D_c_size2,a0,sizeof(int),cudaMemcpyHostToDevice);

    cudaMemcpy(D_mutexs,H_mutexs,sizeof(int)*nodes,cudaMemcpyHostToDevice);
    cudaMemcpy(D_start_interval,start_interval,sizeof(int)*nodes,cudaMemcpyHostToDevice);
    cudaMemcpy(D_end_interval,end_interval,sizeof(int)*nodes,cudaMemcpyHostToDevice);

    i=1;
    auto start_t = high_resolution_clock::now();
    while(*H_c_size>0){
    	
        int numThreads = 512;
        int numBlocks = (*H_c_size+numThreads-1)/numThreads;


        if(i%2==1){
            //use array 1
            //printf("hmm\n");
            BFS2<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node1,D_c_size1,nodes,edges,D_current_node2,D_c_size2,D_visited,D_start_interval,D_end_interval,D_mutexs);

            cudaMemcpy(H_c_size,D_c_size2, sizeof(int),cudaMemcpyDeviceToHost);
            // reset the index
            cudaMemcpy(D_c_size1,a0,sizeof(int),cudaMemcpyHostToDevice);
          
        }
        else{
            //use array 2
            BFS2<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node2,D_c_size2,nodes,edges,D_current_node1,D_c_size1,D_visited,D_start_interval,D_end_interval,D_mutexs);
            
            cudaMemcpy(H_c_size,D_c_size1, sizeof(int),cudaMemcpyDeviceToHost);
            //reset index
            cudaMemcpy(D_c_size2,a0,sizeof(int),cudaMemcpyHostToDevice);

        }
        i++;
        
    }
    auto stop_t = high_resolution_clock::now();
    auto duration = duration_cast<microseconds>(stop_t - start_t);
    cout<<"Time taken : "<<duration.count()<<endl;
    
    printf("--------------------------------------------------\n\n");
    cudaMemcpy(start_interval,D_start_interval,sizeof(int)*nodes,cudaMemcpyDeviceToHost);
    cudaMemcpy(end_interval,D_end_interval,sizeof(int)*nodes,cudaMemcpyDeviceToHost);
    //for(int i=nodes-1;i>=0;i--){
      //  printf("%d %d %d %d\n",i,H_visited[i],start_interval[i],end_interval[i]);
      //  }

        CSR(m,vertex_array,edge_array,nodes);
    	CSR(m2,vertex_array_parent,edge_array_parent,nodes);
    	find_leaf(m,nodes);


    
	return 0;
}


	.file	"tmpxft_00289b09_00000000-6_edge_ins.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB11074:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE11074:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0, @function
_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0:
.LFB13045:
	.cfi_startproc
	jmp	cudaMalloc@PLT
	.cfi_endproc
.LFE13045:
	.size	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0, .-_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	.globl	_Z4initii
	.type	_Z4initii, @function
_Z4initii:
.LFB11042:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movabsq	$2305843009213693950, %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movl	%edi, %ebp
	movl	$12000000, %edi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leal	1(%rbp), %ebx
	pushq	%r8
	.cfi_def_cfa_offset 48
	movslq	%ebx, %rbx
	call	_Znam@PLT
	movq	%rax, edge_array(%rip)
	cmpq	%rbx, %r13
	jb	.L4
	salq	$2, %rbx
	movslq	%ebp, %r12
	movq	%rbx, %rdi
	call	_Znam@PLT
	movl	$12000000, %edi
	movq	%rax, vertex_array(%rip)
	call	_Znam@PLT
	movq	%rbx, %rdi
	movq	%rax, edge_array_parent(%rip)
	call	_Znam@PLT
	movq	%rax, vertex_array_parent(%rip)
	cmpq	%r12, %r13
	jnb	.L5
.L4:
	call	__cxa_throw_bad_array_new_length@PLT
.L5:
	subq	$4, %rbx
	movq	%rbx, %rdi
	call	_Znam@PLT
	movq	%rbx, %rdi
	movq	%rax, start_interval(%rip)
	call	_Znam@PLT
	movq	%r12, %rdi
	movq	%rax, end_interval(%rip)
	call	_Znam@PLT
	movq	start_interval(%rip), %rcx
	movq	end_interval(%rip), %rsi
	xorl	%edx, %edx
	movq	%rax, is_leaf(%rip)
.L6:
	cmpl	%edx, %ebp
	jle	.L10
	xorl	%edi, %edi
	movb	$0, (%rax,%rdx)
	movl	%edi, (%rcx,%rdx,4)
	movl	%edi, (%rsi,%rdx,4)
	incq	%rdx
	jmp	.L6
.L10:
	popq	%rax
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11042:
	.size	_Z4initii, .-_Z4initii
	.globl	_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	.type	_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_, @function
_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_:
.LFB11096:
	.cfi_startproc
	endbr64
	subq	$280, %rsp
	.cfi_def_cfa_offset 288
	movq	288(%rsp), %rax
	movq	%rdi, 88(%rsp)
	leaq	120(%rsp), %rdi
	movq	%rsi, 80(%rsp)
	leaq	132(%rsp), %rsi
	movq	%rax, 48(%rsp)
	movq	296(%rsp), %rax
	movq	%rdx, 72(%rsp)
	leaq	104(%rsp), %rdx
	movq	%rax, 40(%rsp)
	movq	304(%rsp), %rax
	movq	%rcx, 64(%rsp)
	leaq	112(%rsp), %rcx
	movq	%rax, 32(%rsp)
	movq	312(%rsp), %rax
	movl	%r8d, 60(%rsp)
	movq	%rax, 24(%rsp)
	movq	320(%rsp), %rax
	movl	%r9d, 56(%rsp)
	movq	%rax, 16(%rsp)
	movq	328(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 264(%rsp)
	xorl	%eax, %eax
	leaq	88(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	60(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 256(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 120(%rsp)
	movl	$1, 128(%rsp)
	movq	%rax, 132(%rsp)
	movl	$1, 140(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L11
	pushq	112(%rsp)
	.cfi_def_cfa_offset 296
	leaq	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_(%rip), %rdi
	pushq	112(%rsp)
	.cfi_def_cfa_offset 304
	movq	148(%rsp), %rcx
	movl	156(%rsp), %r8d
	movq	136(%rsp), %rsi
	movl	144(%rsp), %edx
	leaq	184(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 296
	popq	%rdx
	.cfi_def_cfa_offset 288
.L11:
	movq	264(%rsp), %rax
	subq	%fs:40, %rax
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	addq	$280, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11096:
	.size	_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_, .-_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	.globl	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.type	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_, @function
_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_:
.LFB11097:
	.cfi_startproc
	endbr64
	jmp	_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	.cfi_endproc
.LFE11097:
	.size	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_, .-_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.globl	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	.type	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_, @function
_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_:
.LFB11098:
	.cfi_startproc
	endbr64
	subq	$280, %rsp
	.cfi_def_cfa_offset 288
	movq	288(%rsp), %rax
	movq	%rdi, 88(%rsp)
	leaq	120(%rsp), %rdi
	movq	%rsi, 80(%rsp)
	leaq	132(%rsp), %rsi
	movq	%rax, 48(%rsp)
	movq	296(%rsp), %rax
	movq	%rdx, 72(%rsp)
	leaq	104(%rsp), %rdx
	movq	%rax, 40(%rsp)
	movq	304(%rsp), %rax
	movq	%rcx, 64(%rsp)
	leaq	112(%rsp), %rcx
	movq	%rax, 32(%rsp)
	movq	312(%rsp), %rax
	movl	%r8d, 60(%rsp)
	movq	%rax, 24(%rsp)
	movq	320(%rsp), %rax
	movl	%r9d, 56(%rsp)
	movq	%rax, 16(%rsp)
	movq	328(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 264(%rsp)
	xorl	%eax, %eax
	leaq	88(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	60(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 256(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 120(%rsp)
	movl	$1, 128(%rsp)
	movq	%rax, 132(%rsp)
	movl	$1, 140(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L16
	pushq	112(%rsp)
	.cfi_def_cfa_offset 296
	leaq	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_(%rip), %rdi
	pushq	112(%rsp)
	.cfi_def_cfa_offset 304
	movq	148(%rsp), %rcx
	movl	156(%rsp), %r8d
	movq	136(%rsp), %rsi
	movl	144(%rsp), %edx
	leaq	184(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 296
	popq	%rdx
	.cfi_def_cfa_offset 288
.L16:
	movq	264(%rsp), %rax
	subq	%fs:40, %rax
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	addq	$280, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11098:
	.size	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_, .-_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	.globl	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.type	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_, @function
_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_:
.LFB11099:
	.cfi_startproc
	endbr64
	jmp	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	.cfi_endproc
.LFE11099:
	.size	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_, .-_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_"
.LC1:
	.string	"_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_"
.LC2:
	.string	"precalc_xorwow_matrix"
.LC3:
	.string	"precalc_xorwow_offset_matrix"
.LC4:
	.string	"mrg32k3aM1"
.LC5:
	.string	"mrg32k3aM2"
.LC6:
	.string	"mrg32k3aM1SubSeq"
.LC7:
	.string	"mrg32k3aM2SubSeq"
.LC8:
	.string	"mrg32k3aM1Seq"
.LC9:
	.string	"mrg32k3aM2Seq"
.LC10:
	.string	"__cr_lgamma_table"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB11101:
	.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	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_(%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	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC2(%rip), %rdx
	movl	$102400, %r9d
	leaq	_ZL21precalc_xorwow_matrix(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC3(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$102400, %r9d
	leaq	_ZL28precalc_xorwow_offset_matrix(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC4(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$2304, %r9d
	leaq	_ZL10mrg32k3aM1(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC5(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$2304, %r9d
	leaq	_ZL10mrg32k3aM2(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC6(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$2016, %r9d
	leaq	_ZL16mrg32k3aM1SubSeq(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC7(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$2016, %r9d
	leaq	_ZL16mrg32k3aM2SubSeq(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC8(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$2304, %r9d
	leaq	_ZL13mrg32k3aM1Seq(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC9(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$2304, %r9d
	leaq	_ZL13mrg32k3aM2Seq(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC10(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movl	$72, %r9d
	movq	%rdx, %rcx
	leaq	_ZL17__cr_lgamma_table(%rip), %rsi
	call	__cudaRegisterVar@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.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
.LFE11101:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv,comdat
	.align 2
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv, @function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv:
.LFB12227:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	movq	8(%rdi), %rsi
	addq	$48, %rdi
	cmpq	%rdi, %rax
	je	.L23
	salq	$3, %rsi
	movq	%rax, %rdi
	jmp	_ZdlPvm@PLT
.L23:
	ret
	.cfi_endproc
.LFE12227:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv, .-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv
	.section	.rodata._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_.str1.1,"aMS",@progbits,1
.LC11:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.type	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, @function
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_:
.LFB12230:
	.cfi_startproc
	endbr64
	movabsq	$2305843009213693951, %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	$2, %rbx
	cmpq	%rcx, %rbx
	jne	.L26
	leaq	.LC11(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L26:
	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	.L36
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L31
	movabsq	$2305843009213693951, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L30
.L36:
	movq	%rcx, %rbx
.L30:
	leaq	0(,%rbx,4), %rdi
	movq	%rdx, 8(%rsp)
	call	_Znwm@PLT
	movq	8(%rsp), %rdx
	movq	%rax, %r12
.L31:
	movl	(%rdx), %eax
	movl	%eax, (%r12,%r15)
	testq	%r15, %r15
	jle	.L32
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	call	memmove@PLT
.L32:
	movq	(%rsp), %rax
	leaq	4(%r12,%r15), %rdx
	subq	%rbp, %rax
	testq	%rax, %rax
	jle	.L33
	movq	%rdx, %rdi
	movq	%rbp, %rsi
	movq	%rax, %rcx
	rep movsb
.L33:
	leaq	(%rdx,%rax), %rbp
	testq	%r14, %r14
	je	.L34
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L34:
	leaq	(%r12,%rbx,4), %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
.LFE12230:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.section	.text._ZNSt6vectorIiSaIiEE9push_backERKi,"axG",@progbits,_ZNSt6vectorIiSaIiEE9push_backERKi,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEE9push_backERKi
	.type	_ZNSt6vectorIiSaIiEE9push_backERKi, @function
_ZNSt6vectorIiSaIiEE9push_backERKi:
.LFB11797:
	.cfi_startproc
	endbr64
	movq	%rsi, %rdx
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.L44
	movl	(%rdx), %eax
	addq	$4, %rsi
	movl	%eax, -4(%rsi)
	movq	%rsi, 8(%rdi)
	ret
.L44:
	jmp	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_endproc
.LFE11797:
	.size	_ZNSt6vectorIiSaIiEE9push_backERKi, .-_ZNSt6vectorIiSaIiEE9push_backERKi
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,comdat
	.align 2
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm, @function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm:
.LFB12635:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA12635
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%rsi, %rbp
	decq	%rsi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	pushq	%r8
	.cfi_def_cfa_offset 48
	jne	.L48
	xorl	%ecx, %ecx
	leaq	48(%rdi), %r12
	movq	%rcx, 48(%rdi)
	jmp	.L49
.L48:
	movabsq	$1152921504606846975, %rax
	movq	%rdx, %r12
	cmpq	%rbp, %rax
	jnb	.L50
	movabsq	$2305843009213693951, %rax
	cmpq	%rbp, %rax
	jnb	.L51
.LEHB0:
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L51:
	call	_ZSt17__throw_bad_allocv@PLT
.L50:
	leaq	0(,%rbp,8), %r13
	movq	%r13, %rdi
	call	_Znwm@PLT
.LEHE0:
	movq	%rax, %r12
	movq	%r13, %rcx
	xorl	%eax, %eax
	movq	%r12, %rdi
	rep stosb
.L49:
	xorl	%edx, %edx
	movq	16(%rbx), %rcx
	xorl	%esi, %esi
	leaq	16(%rbx), %r8
	movq	%rdx, 16(%rbx)
.L52:
	testq	%rcx, %rcx
	je	.L63
	movslq	8(%rcx), %rax
	xorl	%edx, %edx
	movq	(%rcx), %r9
	divq	%rbp
	leaq	(%r12,%rdx,8), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jne	.L53
	movq	16(%rbx), %rdi
	movq	%rdi, (%rcx)
	movq	%rcx, 16(%rbx)
	movq	%r8, (%rax)
	cmpq	$0, (%rcx)
	je	.L55
	movq	%rcx, (%r12,%rsi,8)
	jmp	.L55
.L53:
	movq	(%rdi), %rdx
	movq	%rdx, (%rcx)
	movq	(%rax), %rax
	movq	%rsi, %rdx
	movq	%rcx, (%rax)
.L55:
	movq	%rdx, %rsi
	movq	%r9, %rcx
	jmp	.L52
.L63:
	movq	%rbx, %rdi
	call	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv
	movq	%rbp, 8(%rbx)
	movq	%r12, (%rbx)
	popq	%rax
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L59:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L57:
	call	__cxa_begin_catch@PLT
	movq	(%r12), %rax
	movq	%rax, 40(%rbx)
.LEHB1:
	call	__cxa_rethrow@PLT
.LEHE1:
.L60:
	endbr64
	movq	%rax, %rbx
.L58:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
	.cfi_endproc
.LFE12635:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,"aG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,comdat
	.align 4
.LLSDA12635:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT12635-.LLSDATTD12635
.LLSDATTD12635:
	.byte	0x1
	.uleb128 .LLSDACSE12635-.LLSDACSB12635
.LLSDACSB12635:
	.uleb128 .LEHB0-.LFB12635
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L59-.LFB12635
	.uleb128 0x1
	.uleb128 .LEHB1-.LFB12635
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L60-.LFB12635
	.uleb128 0
	.uleb128 .LEHB2-.LFB12635
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE12635:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT12635:
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,comdat
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm, .-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm
	.section	.text._ZNSt12_Vector_baseIiSaIiEED2Ev,"axG",@progbits,_ZNSt12_Vector_baseIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIiSaIiEED2Ev
	.type	_ZNSt12_Vector_baseIiSaIiEED2Ev, @function
_ZNSt12_Vector_baseIiSaIiEED2Ev:
.LFB12967:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L64
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L64:
	ret
	.cfi_endproc
.LFE12967:
	.size	_ZNSt12_Vector_baseIiSaIiEED2Ev, .-_ZNSt12_Vector_baseIiSaIiEED2Ev
	.weak	_ZNSt12_Vector_baseIiSaIiEED1Ev
	.set	_ZNSt12_Vector_baseIiSaIiEED1Ev,_ZNSt12_Vector_baseIiSaIiEED2Ev
	.section	.text._ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,"axG",@progbits,_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,comdat
	.align 2
	.weak	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	.type	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_, @function
_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_:
.LFB12213:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA12213
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rsi, %r15
	xorl	%edx, %edx
	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
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movslq	(%rsi), %r13
	movq	8(%rdi), %rsi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%r13, %rax
	divq	%rsi
	movq	(%rdi), %rax
	movq	(%rax,%rdx,8), %rcx
	movq	%rdx, %r14
	testq	%rcx, %rcx
	je	.L67
	movq	(%rcx), %rax
	movq	%r13, %r9
	movq	%rdx, %r8
.L69:
	cmpl	8(%rax), %r9d
	je	.L68
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	.L67
	movq	%rax, %rcx
	movslq	8(%rdi), %rax
	xorl	%edx, %edx
	divq	%rsi
	cmpq	%rdx, %r8
	jne	.L67
	movq	%rdi, %rax
	jmp	.L69
.L68:
	testq	%rcx, %rcx
	je	.L67
	movq	(%rcx), %r12
	leaq	16(%r12), %rax
	testq	%r12, %r12
	jne	.L66
.L67:
	movl	$40, %edi
.LEHB3:
	call	_Znwm@PLT
.LEHE3:
	xorl	%edx, %edx
	movq	8(%rbx), %rsi
	leaq	32(%rbx), %rdi
	movq	%rax, %rbp
	xorl	%eax, %eax
	movl	$1, %ecx
	movq	%rax, 0(%rbp)
	movl	(%r15), %eax
	leaq	16(%rbp), %r12
	movq	%rdx, 16(%rbp)
	movl	%eax, 8(%rbp)
	movq	40(%rbx), %rax
	movq	%rdx, 24(%rbp)
	movq	%rdx, 32(%rbp)
	movq	24(%rbx), %rdx
	movq	%rax, (%rsp)
.LEHB4:
	call	_ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm@PLT
	movq	%rdx, %rsi
	testb	%al, %al
	je	.L71
	movq	%rsp, %rdx
	movq	%rbx, %rdi
	call	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm
.LEHE4:
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	8(%rbx)
	movq	%rdx, %r14
.L71:
	movq	(%rbx), %rsi
	leaq	(%rsi,%r14,8), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	.L72
	movq	(%rax), %rax
	movq	%rax, 0(%rbp)
	movq	(%rcx), %rax
	movq	%rbp, (%rax)
	jmp	.L73
.L72:
	movq	16(%rbx), %rax
	movq	%rbp, 16(%rbx)
	movq	%rax, 0(%rbp)
	testq	%rax, %rax
	je	.L74
	movslq	8(%rax), %rax
	xorl	%edx, %edx
	divq	8(%rbx)
	movq	%rbp, (%rsi,%rdx,8)
.L74:
	leaq	16(%rbx), %rax
	movq	%rax, (%rcx)
.L73:
	incq	24(%rbx)
	movq	%r12, %rax
	jmp	.L66
.L78:
	endbr64
	movq	%rax, %rbx
.L75:
	movq	%r12, %rdi
	call	_ZNSt12_Vector_baseIiSaIiEED2Ev
	movl	$40, %esi
	movq	%rbp, %rdi
	call	_ZdlPvm@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L95
	movq	%rbx, %rdi
.LEHB5:
	call	_Unwind_Resume@PLT
.LEHE5:
.L66:
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L77
.L95:
	call	__stack_chk_fail@PLT
.L77:
	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
.LFE12213:
	.section	.gcc_except_table._ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,"aG",@progbits,_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,comdat
.LLSDA12213:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE12213-.LLSDACSB12213
.LLSDACSB12213:
	.uleb128 .LEHB3-.LFB12213
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB12213
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L78-.LFB12213
	.uleb128 0
	.uleb128 .LEHB5-.LFB12213
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE12213:
	.section	.text._ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,"axG",@progbits,_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,comdat
	.size	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_, .-_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	.text
	.globl	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	.type	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i, @function
_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i:
.LFB11039:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%r15d, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xorl	%r14d, %r14d
	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
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movslq	%ecx, %rbx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	52(%rsp), %rax
	movq	%rax, 16(%rsp)
.L97:
	movl	%r15d, 52(%rsp)
	cmpl	%ebx, %r15d
	jge	.L103
	movq	16(%rsp), %rsi
	movq	8(%rsp), %rdi
	call	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	xorl	%r8d, %r8d
	movq	8(%rax), %rbp
	subq	(%rax), %rbp
	movslq	%r15d, %rax
	sarq	$2, %rbp
	movl	%r14d, (%r12,%rax,4)
	movslq	%r14d, %rax
	movl	%ebp, 28(%rsp)
	leaq	0(%r13,%rax,4), %r9
.L98:
	cmpl	%r8d, 28(%rsp)
	jle	.L104
	movq	16(%rsp), %rsi
	movq	8(%rsp), %rdi
	movq	%r9, 40(%rsp)
	movq	%r8, 32(%rsp)
	call	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	32(%rsp), %r8
	movq	40(%rsp), %r9
	movq	(%rax), %rax
	movl	(%rax,%r8,4), %eax
	movl	%eax, (%r9,%r8,4)
	incq	%r8
	jmp	.L98
.L104:
	addl	%ebp, %r14d
	incl	%r15d
	jmp	.L97
.L103:
	movl	%r14d, (%r12,%rbx,4)
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	je	.L101
	call	__stack_chk_fail@PLT
.L101:
	addq	$72, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11039:
	.size	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i, .-_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	.globl	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
	.type	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi, @function
_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi:
.LFB11041:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r13
.L106:
	movl	%ebx, 4(%rsp)
	cmpl	%ebp, %ebx
	jge	.L111
	movq	%r13, %rsi
	movq	%r12, %rdi
	call	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	(%rax), %rcx
	cmpq	%rcx, 8(%rax)
	jne	.L107
	movq	is_leaf(%rip), %rdx
	movslq	%ebx, %rax
	movb	$1, (%rdx,%rax)
.L107:
	incl	%ebx
	jmp	.L106
.L111:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	je	.L109
	call	__stack_chk_fail@PLT
.L109:
	addq	$24, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11041:
	.size	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi, .-_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED5Ev,comdat
	.align 2
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev, @function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev:
.LFB11795:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	16(%rdi), %rbp
	movq	%rdi, %rbx
.L113:
	testq	%rbp, %rbp
	je	.L116
	leaq	16(%rbp), %rdi
	movq	0(%rbp), %r12
	call	_ZNSt12_Vector_baseIiSaIiEED2Ev
	movq	%rbp, %rdi
	movl	$40, %esi
	call	_ZdlPvm@PLT
	movq	%r12, %rbp
	jmp	.L113
.L116:
	movq	8(%rbx), %rax
	movq	(%rbx), %rdi
	leaq	0(,%rax,8), %rcx
	xorl	%eax, %eax
	rep stosb
	xorl	%eax, %eax
	movq	%rbx, %rdi
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv
	.cfi_endproc
.LFE11795:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev, .-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev
	.set	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.section	.rodata.str1.1
.LC13:
	.string	"Time taken : "
.LC14:
	.string	"--------------------------------------------------\n\n"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB11043:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA11043
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%edi, %edi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	xorl	%r13d, %r13d
	pushq	%r12
	.cfi_offset 12, -48
	xorl	%r12d, %r12d
	pushq	%rbx
	.cfi_offset 3, -56
	xorl	%ebx, %ebx
	subq	$328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	time@PLT
	movl	%eax, %edi
	call	srand@PLT
	leaq	-120(%rbp), %rax
	xorl	%r11d, %r11d
	movq	%rbx, -128(%rbp)
	movss	.LC12(%rip), %xmm0
	movq	%rax, -168(%rbp)
	leaq	-296(%rbp), %rsi
	leaq	-64(%rbp), %rax
	leaq	_ZSt3cin(%rip), %rdi
	movq	%r11, -152(%rbp)
	movq	$1, -160(%rbp)
	movq	%r11, -144(%rbp)
	movq	%rbx, -120(%rbp)
	movq	%rax, -112(%rbp)
	movq	$1, -104(%rbp)
	movq	%r12, -96(%rbp)
	movq	%r12, -88(%rbp)
	movq	%r13, -72(%rbp)
	movq	%r13, -64(%rbp)
	movss	%xmm0, -136(%rbp)
	movss	%xmm0, -80(%rbp)
.LEHB6:
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	leaq	-292(%rbp), %rsi
	call	_ZNSirsERi@PLT
	xorl	%r12d, %r12d
	leaq	-168(%rbp), %rbx
.L118:
	cmpl	%r12d, -292(%rbp)
	leaq	-112(%rbp), %r15
	jle	.L172
	leaq	-284(%rbp), %r13
	leaq	_ZSt3cin(%rip), %rdi
	movq	%r13, %rsi
	call	_ZNSirsERi@PLT
	leaq	-280(%rbp), %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	call	_ZNSirsERi@PLT
	movq	%r13, %rsi
	movq	%rbx, %rdi
	call	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	%rax, %rdi
	movq	%r14, %rsi
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	movq	%r14, %rsi
	movq	%r15, %rdi
	call	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	%rax, %rdi
	movq	%r13, %rsi
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	incl	%r12d
	jmp	.L118
.L172:
	leaq	-288(%rbp), %rsi
	leaq	_ZSt3cin(%rip), %rdi
	call	_ZNSirsERi@PLT
	movl	-292(%rbp), %esi
	movl	-296(%rbp), %edi
	call	_Z4initii
	movl	-296(%rbp), %ecx
	movq	edge_array(%rip), %rdx
	movq	%rbx, %rdi
	movq	vertex_array(%rip), %rsi
	call	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	movl	-296(%rbp), %ecx
	movq	edge_array_parent(%rip), %rdx
	movq	%r15, %rdi
	movq	vertex_array_parent(%rip), %rsi
	call	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	movl	-296(%rbp), %esi
	movq	%rbx, %rdi
	call	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
	movl	$12000000, %edi
	call	malloc@PLT
	xorl	%r10d, %r10d
	movq	is_leaf(%rip), %r12
	movq	start_interval(%rip), %rdx
	movl	%r10d, -276(%rbp)
	movq	end_interval(%rip), %rcx
	movq	%rax, -344(%rbp)
	xorl	%eax, %eax
.L120:
	movl	-296(%rbp), %ebx
	movl	-276(%rbp), %r13d
	cmpl	%eax, %ebx
	jle	.L173
	cmpb	$0, (%r12,%rax)
	je	.L121
	movq	-344(%rbp), %rbx
	movslq	%r13d, %rsi
	movl	%eax, (%rbx,%rsi,4)
	movl	%r13d, %ebx
	incl	%ebx
	movl	%ebx, -276(%rbp)
	movl	%ebx, (%rdx,%rax,4)
	movl	%ebx, (%rcx,%rax,4)
.L121:
	incq	%rax
	jmp	.L120
.L173:
	movl	$4, %edi
	call	malloc@PLT
	movl	%r13d, (%rax)
	movq	%rax, %r14
	movslq	%ebx, %rax
	salq	$2, %rax
	movq	%rax, %rdi
	movq	%rax, -328(%rbp)
	call	malloc@PLT
	movq	-328(%rbp), %rcx
	orl	$-1, %esi
	movq	%rax, %rdi
	movq	%rax, -320(%rbp)
	movq	%rcx, %rdx
	call	__memset_chk@PLT
	movq	-328(%rbp), %rdi
	call	malloc@PLT
	movq	-328(%rbp), %rcx
	xorl	%esi, %esi
	movq	%rax, %rdi
	movq	%rax, -352(%rbp)
	movq	%rcx, %rdx
	call	__memset_chk@PLT
	xorl	%eax, %eax
.L123:
	cmpl	%eax, %ebx
	jle	.L174
	cmpb	$0, (%r12,%rax)
	je	.L124
	movq	-320(%rbp), %rcx
	xorl	%r9d, %r9d
	movl	%r9d, (%rcx,%rax,4)
.L124:
	incq	%rax
	jmp	.L123
.L174:
	movl	$4, %edi
	call	malloc@PLT
	xorl	%r8d, %r8d
	movl	$4, %edi
	movl	%r8d, (%rax)
	movq	%rax, -312(%rbp)
	call	malloc@PLT
	leal	1(%rbx), %esi
	leaq	-272(%rbp), %rdi
	movl	%r13d, (%rax)
	movslq	%esi, %rsi
	movq	%rax, %r15
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-296(%rbp), %rsi
	leaq	-256(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-264(%rbp), %rdi
	movl	$12000000, %esi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-248(%rbp), %rdi
	movl	$12000000, %esi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-240(%rbp), %rdi
	movl	$4, %esi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-232(%rbp), %rdi
	movl	$12000000, %esi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-200(%rbp), %rdi
	movl	$4, %esi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-296(%rbp), %rsi
	leaq	-224(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-296(%rbp), %rsi
	leaq	-216(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-296(%rbp), %rsi
	leaq	-208(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movl	-296(%rbp), %eax
	movq	vertex_array_parent(%rip), %rsi
	movl	$1, %ecx
	movq	-272(%rbp), %rdi
	leal	1(%rax), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movq	edge_array_parent(%rip), %rsi
	movl	$1, %ecx
	movl	$12000000, %edx
	movq	-264(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-344(%rbp), %rsi
	movl	$1, %ecx
	movl	$12000000, %edx
	movq	-248(%rbp), %rdi
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	-320(%rbp), %rsi
	movl	$1, %ecx
	movq	-256(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movq	-240(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	movq	%r15, %rsi
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-200(%rbp), %rdi
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	-352(%rbp), %rsi
	movl	$1, %ecx
	movq	-224(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	start_interval(%rip), %rsi
	movl	$1, %ecx
	movq	-216(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	end_interval(%rip), %rsi
	movl	$1, %ecx
	movq	-208(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	$8388609, %ebx
	movl	$1, %r12d
	salq	$9, %rbx
.L126:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	.L175
	addl	$511, %eax
	movl	%r12d, %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	sarl	$9, %eax
	andb	$1, %cl
	movq	%rbx, -180(%rbp)
	movq	%rbx, %rdx
	movl	%eax, -192(%rbp)
	movl	$1, %ecx
	movabsq	$4294967297, %rax
	movq	%rax, -188(%rbp)
	movl	-184(%rbp), %esi
	movl	$1, -172(%rbp)
	movq	-192(%rbp), %rdi
	je	.L127
	call	__cudaPushCallConfiguration@PLT
	movl	%eax, %edx
	movq	-200(%rbp), %rax
	testl	%edx, %edx
	jne	.L128
	pushq	-224(%rbp)
	movl	-292(%rbp), %r9d
	movl	-296(%rbp), %r8d
	pushq	-208(%rbp)
	pushq	-216(%rbp)
	pushq	-256(%rbp)
	pushq	%rax
	pushq	-232(%rbp)
	movq	-240(%rbp), %rcx
	movq	-248(%rbp), %rdx
	movq	-264(%rbp), %rsi
	movq	-272(%rbp), %rdi
	.cfi_escape 0x2e,0x30
	call	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
.L128:
	movq	-200(%rbp), %rsi
	movl	$2, %ecx
	movl	$4, %edx
	movq	%r14, %rdi
	.cfi_escape 0x2e,0
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-240(%rbp), %rdi
	jmp	.L167
.L127:
	call	__cudaPushCallConfiguration@PLT
	movl	%eax, %edx
	movq	-240(%rbp), %rax
	testl	%edx, %edx
	jne	.L130
	pushq	-224(%rbp)
	movl	-292(%rbp), %r9d
	movl	-296(%rbp), %r8d
	pushq	-208(%rbp)
	pushq	-216(%rbp)
	pushq	-256(%rbp)
	pushq	%rax
	pushq	-248(%rbp)
	movq	-200(%rbp), %rcx
	movq	-232(%rbp), %rdx
	movq	-264(%rbp), %rsi
	movq	-272(%rbp), %rdi
	.cfi_escape 0x2e,0x30
	call	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
.L130:
	movq	-240(%rbp), %rsi
	movl	$2, %ecx
	movl	$4, %edx
	movq	%r14, %rdi
	.cfi_escape 0x2e,0
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-200(%rbp), %rdi
.L167:
	call	cudaMemcpy@PLT
	movl	%r12d, %eax
	incl	%eax
	movl	%eax, %r12d
	jmp	.L126
.L175:
	movslq	-296(%rbp), %rdx
	movq	-256(%rbp), %rsi
	movl	$2, %ecx
	movq	-320(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movabsq	$4294967297, %r13
	movl	-296(%rbp), %eax
	leal	-1(%rax), %ebx
	movslq	%ebx, %rbx
.L132:
	testl	%ebx, %ebx
	js	.L176
	movq	-320(%rbp), %rax
	cmpl	$-1, (%rax,%rbx,4)
	jne	.L133
	movq	-344(%rbp), %rax
	movl	$1, (%r15)
	movl	$1, %ecx
	movl	$12000000, %edx
	movl	$1, (%r14)
	movq	-248(%rbp), %rdi
	movl	%ebx, (%rax)
	movq	%rax, %rsi
	call	cudaMemcpy@PLT
	movq	-240(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	movq	%r15, %rsi
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-200(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	$1, %ecx
	movl	$4, %edx
	incl	-276(%rbp)
	movq	-216(%rbp), %rdi
	leaq	0(,%rbx,4), %rax
	leaq	-276(%rbp), %r12
	addq	%rax, %rdi
	movq	%r12, %rsi
	movq	%rax, -336(%rbp)
	call	cudaMemcpy@PLT
	movq	-336(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	movq	%r12, %rsi
	addq	-208(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	$1, %r12d
.L134:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	.L177
	addl	$511, %eax
	movl	$8388609, %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	salq	$9, %rcx
	sarl	$9, %eax
	movq	%r13, -188(%rbp)
	movl	-184(%rbp), %esi
	movq	%rcx, -180(%rbp)
	movq	%rcx, %rdx
	movl	$1, %ecx
	movl	%eax, -192(%rbp)
	movq	-192(%rbp), %rdi
	movl	$1, -172(%rbp)
	testl	$1, %r12d
	je	.L135
	call	__cudaPushCallConfiguration@PLT
	movl	%eax, %edx
	movq	-200(%rbp), %rax
	testl	%edx, %edx
	jne	.L136
	pushq	-224(%rbp)
	movl	-292(%rbp), %r9d
	movl	-296(%rbp), %r8d
	pushq	-208(%rbp)
	pushq	-216(%rbp)
	pushq	-256(%rbp)
	pushq	%rax
	pushq	-232(%rbp)
	movq	-240(%rbp), %rcx
	movq	-248(%rbp), %rdx
	movq	-264(%rbp), %rsi
	movq	-272(%rbp), %rdi
	.cfi_escape 0x2e,0x30
	call	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
.L136:
	movq	-200(%rbp), %rsi
	movl	$2, %ecx
	movl	$4, %edx
	movq	%r14, %rdi
	.cfi_escape 0x2e,0
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-240(%rbp), %rdi
	jmp	.L169
.L135:
	call	__cudaPushCallConfiguration@PLT
	movl	%eax, %edx
	movq	-240(%rbp), %rax
	testl	%edx, %edx
	jne	.L138
	pushq	-224(%rbp)
	movl	-292(%rbp), %r9d
	movl	-296(%rbp), %r8d
	pushq	-208(%rbp)
	pushq	-216(%rbp)
	pushq	-256(%rbp)
	pushq	%rax
	pushq	-248(%rbp)
	movq	-200(%rbp), %rcx
	movq	-232(%rbp), %rdx
	movq	-264(%rbp), %rsi
	movq	-272(%rbp), %rdi
	.cfi_escape 0x2e,0x30
	call	_Z46__device_stub__Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
.L138:
	movq	-240(%rbp), %rsi
	movl	$2, %ecx
	movl	$4, %edx
	movq	%r14, %rdi
	.cfi_escape 0x2e,0
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-200(%rbp), %rdi
.L169:
	call	cudaMemcpy@PLT
	incl	%r12d
	jmp	.L134
.L177:
	movslq	-296(%rbp), %rdx
	movq	-256(%rbp), %rsi
	movl	$2, %ecx
	movq	-320(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
.L133:
	decq	%rbx
	jmp	.L132
.L176:
	movslq	-296(%rbp), %rdx
	movq	-216(%rbp), %rsi
	movl	$2, %ecx
	movq	start_interval(%rip), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	-208(%rbp), %rsi
	movl	$2, %ecx
	movq	end_interval(%rip), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	$2048, %edi
	call	_Znam@PLT
	movl	$2048, %edi
	movq	%rax, %rbx
	call	_Znam@PLT
	movq	%rax, %r12
	xorl	%r13d, %r13d
.L143:
	call	rand@PLT
	cltd
	idivl	-296(%rbp)
	movl	%edx, -336(%rbp)
	call	rand@PLT
	cltd
	idivl	-296(%rbp)
	cmpl	%edx, -336(%rbp)
	jge	.L143
	movl	-336(%rbp), %ecx
	movslq	%r13d, %rax
	incl	%r13d
	movl	%ecx, (%rbx,%rax,4)
	movl	%edx, (%r12,%rax,4)
	cmpl	$512, %r13d
	jne	.L143
	xorl	%edi, %edi
	leaq	-168(%rbp), %r13
	movq	%rdi, -336(%rbp)
.L142:
	movq	-336(%rbp), %rax
	movq	%r13, %rdi
	addq	%rbx, %rax
	movq	%rax, %rsi
	movq	%rax, -360(%rbp)
	call	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	%rax, %rdi
	movq	-336(%rbp), %rax
	addq	%r12, %rax
	movq	%rax, %rsi
	movq	%rax, -368(%rbp)
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	movq	-368(%rbp), %rsi
	leaq	-112(%rbp), %rdi
	call	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	-360(%rbp), %rsi
	movq	%rax, %rdi
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	movq	-336(%rbp), %rax
	movq	start_interval(%rip), %rcx
	incl	-292(%rbp)
	movslq	(%rbx,%rax), %rax
	leaq	(%rcx,%rax,4), %rdx
	movq	-336(%rbp), %rax
	movslq	(%r12,%rax), %rsi
	movl	(%rdx), %eax
	movl	(%rcx,%rsi,4), %ecx
	cmpl	%ecx, %eax
	cmovg	%ecx, %eax
	movq	end_interval(%rip), %rcx
	movl	%eax, (%rdx)
	movq	-336(%rbp), %rax
	movslq	(%rbx,%rax), %rax
	leaq	(%rcx,%rax,4), %rdx
	movq	-336(%rbp), %rax
	movslq	(%r12,%rax), %rsi
	movl	(%rdx), %eax
	movl	(%rcx,%rsi,4), %ecx
	cmpl	%ecx, %eax
	cmovl	%ecx, %eax
	addq	$4, -336(%rbp)
	cmpq	$2048, -336(%rbp)
	movl	%eax, (%rdx)
	jne	.L142
	movq	-344(%rbp), %rdi
	movl	$512, %ecx
	movq	%rbx, %rsi
	movslq	-296(%rbp), %rax
	rep movsl
	movl	$512, (%r14)
	movq	-328(%rbp), %rcx
	orl	$-1, %esi
	salq	$2, %rax
	movq	-320(%rbp), %rdi
	movq	%rax, %rdx
	movq	%rax, %r12
	call	__memset_chk@PLT
	movq	-328(%rbp), %rcx
	movq	-352(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	call	__memset_chk@PLT
	xorl	%eax, %eax
.L144:
	movslq	(%rbx,%rax,4), %rdx
	movq	-320(%rbp), %rcx
	xorl	%esi, %esi
	incq	%rax
	movl	%esi, (%rcx,%rdx,4)
	cmpq	$512, %rax
	jne	.L144
	movq	-312(%rbp), %rax
	xorl	%edx, %edx
	movl	$512, (%r15)
	movl	$1, %ecx
	movq	vertex_array_parent(%rip), %rsi
	movq	-272(%rbp), %rdi
	movl	%edx, (%rax)
	movl	-296(%rbp), %eax
	leal	1(%rax), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movq	edge_array_parent(%rip), %rsi
	movl	$1, %ecx
	movl	$12000000, %edx
	movq	-264(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-344(%rbp), %rsi
	movl	$1, %ecx
	movl	$12000000, %edx
	movq	-248(%rbp), %rdi
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	-320(%rbp), %rsi
	movl	$1, %ecx
	movq	-256(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movq	-240(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	movq	%r15, %rsi
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-200(%rbp), %rdi
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	-352(%rbp), %rsi
	movl	$1, %ecx
	movq	-224(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	start_interval(%rip), %rsi
	movl	$1, %ecx
	movq	-216(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	end_interval(%rip), %rsi
	movl	$1, %ecx
	movq	-208(%rbp), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movl	$8388609, %ebx
	movl	$1, %r12d
	movq	%rax, %r15
	salq	$9, %rbx
.L145:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	.L178
	addl	$511, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rdx
	sarl	$9, %eax
	movq	%rbx, -180(%rbp)
	movl	$1, %ecx
	movl	%eax, -192(%rbp)
	movabsq	$4294967297, %rax
	movq	%rax, -188(%rbp)
	movl	-184(%rbp), %esi
	movl	$1, -172(%rbp)
	movq	-192(%rbp), %rdi
	testl	$1, %r12d
	je	.L146
	call	__cudaPushCallConfiguration@PLT
	movl	%eax, %edx
	movq	-200(%rbp), %rax
	testl	%edx, %edx
	jne	.L147
	pushq	-224(%rbp)
	movl	-292(%rbp), %r9d
	movl	-296(%rbp), %r8d
	pushq	-208(%rbp)
	pushq	-216(%rbp)
	pushq	-256(%rbp)
	pushq	%rax
	pushq	-232(%rbp)
	movq	-240(%rbp), %rcx
	movq	-248(%rbp), %rdx
	movq	-264(%rbp), %rsi
	movq	-272(%rbp), %rdi
	.cfi_escape 0x2e,0x30
	call	_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
.L147:
	movq	-200(%rbp), %rsi
	movl	$2, %ecx
	movl	$4, %edx
	movq	%r14, %rdi
	.cfi_escape 0x2e,0
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-240(%rbp), %rdi
	jmp	.L171
.L146:
	call	__cudaPushCallConfiguration@PLT
	movl	%eax, %edx
	movq	-240(%rbp), %rax
	testl	%edx, %edx
	jne	.L149
	pushq	-224(%rbp)
	movl	-292(%rbp), %r9d
	movl	-296(%rbp), %r8d
	pushq	-208(%rbp)
	pushq	-216(%rbp)
	pushq	-256(%rbp)
	pushq	%rax
	pushq	-248(%rbp)
	movq	-200(%rbp), %rcx
	movq	-232(%rbp), %rdx
	movq	-264(%rbp), %rsi
	movq	-272(%rbp), %rdi
	.cfi_escape 0x2e,0x30
	call	_Z47__device_stub__Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
.L149:
	movq	-240(%rbp), %rsi
	movl	$2, %ecx
	movl	$4, %edx
	movq	%r14, %rdi
	.cfi_escape 0x2e,0
	call	cudaMemcpy@PLT
	movq	-312(%rbp), %rsi
	movl	$1, %ecx
	movl	$4, %edx
	movq	-200(%rbp), %rdi
.L171:
	call	cudaMemcpy@PLT
	incl	%r12d
	jmp	.L145
.L178:
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movl	$1000, %ecx
	leaq	.LC13(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	subq	%r15, %rax
	cqto
	idivq	%rcx
	movq	%rax, %rbx
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%rbx, %rsi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	%rax, %rdi
	call	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@PLT
	leaq	.LC14(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movslq	-296(%rbp), %rdx
	movq	-216(%rbp), %rsi
	movl	$2, %ecx
	movq	start_interval(%rip), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-296(%rbp), %rdx
	movq	-208(%rbp), %rsi
	movl	$2, %ecx
	movq	end_interval(%rip), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	-296(%rbp), %ecx
	movq	edge_array(%rip), %rdx
	movq	%r13, %rdi
	movq	vertex_array(%rip), %rsi
	call	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	leaq	-112(%rbp), %rbx
	movl	-296(%rbp), %ecx
	movq	edge_array_parent(%rip), %rdx
	movq	vertex_array_parent(%rip), %rsi
	movq	%rbx, %rdi
	call	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	movl	-296(%rbp), %esi
	movq	%r13, %rdi
	call	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
.LEHE6:
	movq	%rbx, %rdi
	call	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev
	movq	%r13, %rdi
	call	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L153
	jmp	.L164
.L158:
	endbr64
	movq	%rax, %rbx
.L151:
	leaq	-112(%rbp), %rdi
	call	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev
	leaq	-168(%rbp), %rdi
	call	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L164
	movq	%rbx, %rdi
.LEHB7:
	call	_Unwind_Resume@PLT
.LEHE7:
.L164:
	call	__stack_chk_fail@PLT
.L153:
	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
.LFE11043:
	.section	.gcc_except_table,"a",@progbits
.LLSDA11043:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE11043-.LLSDACSB11043
.LLSDACSB11043:
	.uleb128 .LEHB6-.LFB11043
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L158-.LFB11043
	.uleb128 0
	.uleb128 .LEHB7-.LFB11043
	.uleb128 .LEHE7-.LEHB7
	.uleb128 0
	.uleb128 0
.LLSDACSE11043:
	.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
	.globl	counter
	.bss
	.align 4
	.type	counter, @object
	.size	counter, 4
counter:
	.zero	4
	.globl	is_leaf
	.align 8
	.type	is_leaf, @object
	.size	is_leaf, 8
is_leaf:
	.zero	8
	.globl	end_interval
	.align 8
	.type	end_interval, @object
	.size	end_interval, 8
end_interval:
	.zero	8
	.globl	start_interval
	.align 8
	.type	start_interval, @object
	.size	start_interval, 8
start_interval:
	.zero	8
	.globl	vertex_array_parent
	.align 8
	.type	vertex_array_parent, @object
	.size	vertex_array_parent, 8
vertex_array_parent:
	.zero	8
	.globl	vertex_array
	.align 8
	.type	vertex_array, @object
	.size	vertex_array, 8
vertex_array:
	.zero	8
	.globl	edge_array_parent
	.align 8
	.type	edge_array_parent, @object
	.size	edge_array_parent, 8
edge_array_parent:
	.zero	8
	.globl	edge_array
	.align 8
	.type	edge_array, @object
	.size	edge_array, 8
edge_array:
	.zero	8
	.local	_ZL17__cr_lgamma_table
	.comm	_ZL17__cr_lgamma_table,72,32
	.local	_ZL13mrg32k3aM2Seq
	.comm	_ZL13mrg32k3aM2Seq,2304,32
	.local	_ZL13mrg32k3aM1Seq
	.comm	_ZL13mrg32k3aM1Seq,2304,32
	.local	_ZL16mrg32k3aM2SubSeq
	.comm	_ZL16mrg32k3aM2SubSeq,2016,32
	.local	_ZL16mrg32k3aM1SubSeq
	.comm	_ZL16mrg32k3aM1SubSeq,2016,32
	.local	_ZL10mrg32k3aM2
	.comm	_ZL10mrg32k3aM2,2304,32
	.local	_ZL10mrg32k3aM1
	.comm	_ZL10mrg32k3aM1,2304,32
	.local	_ZL28precalc_xorwow_offset_matrix
	.comm	_ZL28precalc_xorwow_offset_matrix,102400,32
	.local	_ZL21precalc_xorwow_matrix
	.comm	_ZL21precalc_xorwow_matrix,102400,32
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC12:
	.long	1065353216
	.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 <bits/stdc++.h>
#include <hip/hip_runtime.h>
#include <hiprand/hiprand.h>
#include <hiprand/hiprand_kernel.h>
#define MAXEDGES 3000000
using namespace std;
using namespace std::chrono;
//sample comment2
int *edge_array,*edge_array_parent,*vertex_array,*vertex_array_parent,*start_interval,*end_interval;
bool *is_leaf;
int counter=0;

__global__ void BFS2(int* off,int* edge,int* current,int* size,int N,int E,volatile int* c_arr,int* c_size,int* dist,volatile int* D_start_interval,volatile int* D_end_interval,volatile int* mutexs){
    int id = blockIdx.x*blockDim.x+threadIdx.x;
    if(id < *size){
        int node = current[id];
        int start = off[node];
        int end = off[node+1];
        
        while(start<end){
            int child = edge[start];
            bool isSet = false;
            do 
    		{
    			//printf("hmm\n");
        		if (isSet = atomicCAS((int *)(mutexs+child), 0, 1) == 0) 
        		{
        			bool flag=false;
        				if(D_start_interval[child]>D_start_interval[node]){
        					D_start_interval[child]=D_start_interval[node];
        					flag=true;
        				}
        				if(D_end_interval[child]<D_end_interval[node]){
        					D_end_interval[child]=D_end_interval[node];
        					flag=true;
        				}

        			if (flag){
                	int index = atomicAdd(c_size,1);
                	c_arr[index]= child;
            		}

        		}
        		if (isSet)  //if acquired the lock then release it
        		{
            		mutexs[child] = 0;
        		}
	
    		}while (!isSet);

            start++;  
        }
    }
}

__global__ void BFS(int* off,int* edge,int* current,int* size,int N,int E,volatile int* c_arr,int* c_size,int* dist,volatile int* D_start_interval,volatile int* D_end_interval,volatile int* mutexs){
    int id = blockIdx.x*blockDim.x+threadIdx.x;
    if(id < *size){
        int node = current[id];
        int start = off[node];
        int end = off[node+1];
        
        while(start<end){
            int child = edge[start];
            bool isSet = false;
            do 
    		{
    			//printf("hmm\n");
        		if (isSet = atomicCAS((int *)(mutexs+child), 0, 1) == 0) 
        		{
        			bool flag=false;
        			if(D_start_interval[child]==0 && D_end_interval[child]==0){
        				D_start_interval[child]=D_start_interval[node];
        				D_end_interval[child]=D_end_interval[node];
        			}
        			else{
        				if(D_start_interval[child]>D_start_interval[node]){
        					D_start_interval[child]=D_start_interval[node];
        					flag=true;
        				}
        				if(D_end_interval[child]<D_end_interval[node]){
        					D_end_interval[child]=D_end_interval[node];
        					flag=true;
        				}
        			}

        			if ( dist[child] < 0 || flag){
                	dist[child] = 0;
                	int index = atomicAdd(c_size,1);
                	c_arr[index]= child;
            		}

        		}
        		if (isSet)  //if acquired the lock then release it
        		{
            		mutexs[child] = 0;
        		}
	
    		}while (!isSet);

            start++;  
        }
    }
}


void CSR(unordered_map<int,vector<int> > &m,int *vertex_array,int *edge_array, int nodes){
	
	int curr_index=0;
	for(int i=0;i<nodes;i++){
		int num_of_edges=m[i].size();
		vertex_array[i]=curr_index;
		for(int j=0;j<num_of_edges;j++){
			edge_array[curr_index+j]=m[i][j];
		}
		curr_index+=num_of_edges;
	}
	vertex_array[nodes]=curr_index;
}

void find_leaf(unordered_map<int,vector<int> >&m,int nodes){
	for(int i=0;i<nodes;i++){
		if(m[i].size()==0){
			is_leaf[i]=true;
		}
	}
}

void init(int nodes,int edges){
	edge_array=new int[MAXEDGES];
	vertex_array=new int[nodes+1];
	edge_array_parent=new int[MAXEDGES];
	vertex_array_parent=new int[nodes+1];
	start_interval=new int[nodes];
	end_interval=new int[nodes];
	is_leaf=new bool[nodes];


	for(int i=0;i<nodes;i++){
		is_leaf[i]=false;
		start_interval[i]=0;
		end_interval[i]=0;
	}
}

int main(){


	int nodes,edges,root;
	srand(time(NULL));
	unordered_map<int,vector<int> >m,m2;
	cin>>nodes>>edges;
	int u,v;
	for(int i=0;i<edges;i++){
		cin>>u>>v;
		m[u].push_back(v);
		m2[v].push_back(u);
    }
    cin>>root;
    init(nodes,edges);
    CSR(m,vertex_array,edge_array,nodes);
    CSR(m2,vertex_array_parent,edge_array_parent,nodes);
    find_leaf(m,nodes);
    

    int* H_current_node = (int*)malloc(sizeof(int)*MAXEDGES);
    int counter=0;
    for(int i=0;i<nodes;i++){
    	if(is_leaf[i]){
    		H_current_node[counter]=i;
    		counter++;
    		start_interval[i]=counter;
    		end_interval[i]=counter;
    		//cout<<i<<endl;
    	}
    }
    /*for(int i=0;i<counter;i++){
    	printf("%d ",H_current_node[i]);
    }*/
    
    int* H_c_size = (int*)malloc(sizeof(int));
    *H_c_size = counter;
    int* H_visited = (int*)malloc(sizeof(int)*nodes);
    memset(H_visited,-1,sizeof(int)*nodes);

    int* H_mutexs = (int*)malloc(sizeof(int)*nodes);
    memset(H_mutexs,0,sizeof(int)*nodes);


    for(int i=0;i<nodes;i++){
    	if(is_leaf[i]){
    		H_visited[i]=0;
    	}
    	//printf("%d\n",H_mutexs[i]);
    }
    /*for(int i=0;i<nodes;i++){
        printf("%d, %d\n",i,H_visited[i]);
    }
    printf("sdfbdsjfbsjd\n");*/
    int* a0 = (int*)malloc(sizeof(int));
    *a0=0;

    int* a1 = (int*)malloc(sizeof(int));
    *a1=counter;

    int* D_offset;
    int* D_edges;
    int* D_visited;

    int* D_current_node1;
    int* D_c_size1;
    int* D_current_node2;

    int* D_mutexs;
    int* D_start_interval;
    int* D_end_interval;


    int* D_c_size2;

    hipMalloc(&D_offset,sizeof(int)*(nodes+1));
    hipMalloc(&D_visited,sizeof(int)*nodes);
    hipMalloc(&D_edges,sizeof(int)*MAXEDGES);
    hipMalloc(&D_current_node1,sizeof(int)*MAXEDGES);
    hipMalloc(&D_c_size1,sizeof(int));
    hipMalloc(&D_current_node2,sizeof(int)*MAXEDGES);
    hipMalloc(&D_c_size2,sizeof(int));

    hipMalloc(&D_mutexs,sizeof(int)*nodes);
    hipMalloc(&D_start_interval,sizeof(int)*nodes);
    hipMalloc(&D_end_interval,sizeof(int)*nodes);

    hipMemcpy(D_offset,vertex_array_parent,sizeof(int)*(nodes+1),hipMemcpyHostToDevice);
    hipMemcpy(D_edges,edge_array_parent,sizeof(int)*MAXEDGES,hipMemcpyHostToDevice);
    hipMemcpy(D_current_node1,H_current_node,sizeof(int)*MAXEDGES,hipMemcpyHostToDevice);
    hipMemcpy(D_visited,H_visited,sizeof(int)*nodes,hipMemcpyHostToDevice);
    hipMemcpy(D_c_size1,a1,sizeof(int),hipMemcpyHostToDevice);
    hipMemcpy(D_c_size2,a0,sizeof(int),hipMemcpyHostToDevice);

    hipMemcpy(D_mutexs,H_mutexs,sizeof(int)*nodes,hipMemcpyHostToDevice);
    hipMemcpy(D_start_interval,start_interval,sizeof(int)*nodes,hipMemcpyHostToDevice);
    hipMemcpy(D_end_interval,end_interval,sizeof(int)*nodes,hipMemcpyHostToDevice);

    int i=1;
    while(*H_c_size>0){
    	
        int numThreads = 512;
        int numBlocks = (*H_c_size+numThreads-1)/numThreads;


        if(i%2==1){
            //use array 1
            //printf("hmm\n");
            BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node1,D_c_size1,nodes,edges,D_current_node2,D_c_size2,D_visited,D_start_interval,D_end_interval,D_mutexs);

            hipMemcpy(H_c_size,D_c_size2, sizeof(int),hipMemcpyDeviceToHost);
            // reset the index
            hipMemcpy(D_c_size1,a0,sizeof(int),hipMemcpyHostToDevice);
          
        }
        else{
            //use array 2
            BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node2,D_c_size2,nodes,edges,D_current_node1,D_c_size1,D_visited,D_start_interval,D_end_interval,D_mutexs);
            
            hipMemcpy(H_c_size,D_c_size1, sizeof(int),hipMemcpyDeviceToHost);
            //reset index
            hipMemcpy(D_c_size2,a0,sizeof(int),hipMemcpyHostToDevice);

        }
        i++;
        
    }
    hipMemcpy(H_visited,D_visited, sizeof(int)*nodes,hipMemcpyDeviceToHost);
    
    for(int j=nodes-1;j>=0;j--){
        //printf("%d %d %d %d\n",i,H_visited[i],start_interval[i],end_interval[i]);
        if(H_visited[j]==-1){
        	//printf("hmm\n");
        	H_current_node[0]=j;
        	*a1=1;
        	*H_c_size=1;
        	hipMemcpy(D_current_node1,H_current_node,sizeof(int)*MAXEDGES,hipMemcpyHostToDevice);	// OPTIMIZATION POSSIBLE HERE. INSTEAD OF COPYING ENTIRE ARRAY JUST COPY FIRST ELEMENT
        	hipMemcpy(D_c_size1,a1,sizeof(int),hipMemcpyHostToDevice);
    		hipMemcpy(D_c_size2,a0,sizeof(int),hipMemcpyHostToDevice);
    		counter++;
    		hipMemcpy(&D_start_interval[j], &counter, sizeof(int), hipMemcpyHostToDevice);
    		hipMemcpy(&D_end_interval[j], &counter, sizeof(int), hipMemcpyHostToDevice);
    		

        	i=1;
    		while(*H_c_size>0){
    			//printf("%d  %d\n",*H_c_size,j);
        		int numThreads = 512;
        		int numBlocks = (*H_c_size+numThreads-1)/numThreads;


        		if(i%2==1){
            		//use array 1
            		//printf("hmm\n");
            		BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node1,D_c_size1,nodes,edges,D_current_node2,D_c_size2,D_visited,D_start_interval,D_end_interval,D_mutexs);

            		hipMemcpy(H_c_size,D_c_size2, sizeof(int),hipMemcpyDeviceToHost);
            		// reset the index
            		hipMemcpy(D_c_size1,a0,sizeof(int),hipMemcpyHostToDevice);
          
        		}
        		else{
            		//use array 2
            		BFS<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node2,D_c_size2,nodes,edges,D_current_node1,D_c_size1,D_visited,D_start_interval,D_end_interval,D_mutexs);
            
            		hipMemcpy(H_c_size,D_c_size1, sizeof(int),hipMemcpyDeviceToHost);
            		//reset index
            		hipMemcpy(D_c_size2,a0,sizeof(int),hipMemcpyHostToDevice);

        		}
        		i++;
        
    		}

    		hipMemcpy(H_visited,D_visited,sizeof(int)*nodes,hipMemcpyDeviceToHost);



        }
    }
    hipMemcpy(start_interval,D_start_interval,sizeof(int)*nodes,hipMemcpyDeviceToHost);
    hipMemcpy(end_interval,D_end_interval,sizeof(int)*nodes,hipMemcpyDeviceToHost);

    int batch_size=512;
    int *addition_x = new int[batch_size];
    int *addition_y = new int[batch_size];
    for(int i=0;i<batch_size;i++){
    	int st = rand()%nodes;
	int en = rand()%nodes;
	if(st < en){
		addition_x[i]=st;
		addition_y[i]=en;
	}
	else{
		i--;
	}
    }

    for(int i=0;i<batch_size;i++){
    	m[addition_x[i]].push_back(addition_y[i]);
	m2[addition_y[i]].push_back(addition_x[i]);
	edges++;
    	//printf("%d  %d  %d\n",i,addition_x[i],addition_y[i]);
    	start_interval[addition_x[i]]=min(start_interval[addition_x[i]],start_interval[addition_y[i]]);
    	end_interval[addition_x[i]]=max(end_interval[addition_x[i]],end_interval[addition_y[i]]);
    }

    for(int i=0;i<batch_size;i++){
    		H_current_node[i] = addition_x[i];
    }

    *H_c_size = batch_size;
    memset(H_visited,-1,sizeof(int)*nodes);

    memset(H_mutexs,0,sizeof(int)*nodes);


    for(int i=0;i<batch_size;i++){
    		H_visited[addition_x[i]]=0;
    	//printf("%d\n",H_mutexs[i]);
    }
    /*for(int i=0;i<nodes;i++){
        printf("%d, %d\n",i,H_visited[i]);
    }
    printf("sdfbdsjfbsjd\n");*/
    *a0=0;

    *a1=batch_size;


    hipMemcpy(D_offset,vertex_array_parent,sizeof(int)*(nodes+1),hipMemcpyHostToDevice);
    hipMemcpy(D_edges,edge_array_parent,sizeof(int)*MAXEDGES,hipMemcpyHostToDevice);
    hipMemcpy(D_current_node1,H_current_node,sizeof(int)*MAXEDGES,hipMemcpyHostToDevice);
    hipMemcpy(D_visited,H_visited,sizeof(int)*nodes,hipMemcpyHostToDevice);
    hipMemcpy(D_c_size1,a1,sizeof(int),hipMemcpyHostToDevice);
    hipMemcpy(D_c_size2,a0,sizeof(int),hipMemcpyHostToDevice);

    hipMemcpy(D_mutexs,H_mutexs,sizeof(int)*nodes,hipMemcpyHostToDevice);
    hipMemcpy(D_start_interval,start_interval,sizeof(int)*nodes,hipMemcpyHostToDevice);
    hipMemcpy(D_end_interval,end_interval,sizeof(int)*nodes,hipMemcpyHostToDevice);

    i=1;
    auto start_t = high_resolution_clock::now();
    while(*H_c_size>0){
    	
        int numThreads = 512;
        int numBlocks = (*H_c_size+numThreads-1)/numThreads;


        if(i%2==1){
            //use array 1
            //printf("hmm\n");
            BFS2<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node1,D_c_size1,nodes,edges,D_current_node2,D_c_size2,D_visited,D_start_interval,D_end_interval,D_mutexs);

            hipMemcpy(H_c_size,D_c_size2, sizeof(int),hipMemcpyDeviceToHost);
            // reset the index
            hipMemcpy(D_c_size1,a0,sizeof(int),hipMemcpyHostToDevice);
          
        }
        else{
            //use array 2
            BFS2<<<numBlocks,numThreads>>>(D_offset,D_edges,D_current_node2,D_c_size2,nodes,edges,D_current_node1,D_c_size1,D_visited,D_start_interval,D_end_interval,D_mutexs);
            
            hipMemcpy(H_c_size,D_c_size1, sizeof(int),hipMemcpyDeviceToHost);
            //reset index
            hipMemcpy(D_c_size2,a0,sizeof(int),hipMemcpyHostToDevice);

        }
        i++;
        
    }
    auto stop_t = high_resolution_clock::now();
    auto duration = duration_cast<microseconds>(stop_t - start_t);
    cout<<"Time taken : "<<duration.count()<<endl;
    
    printf("--------------------------------------------------\n\n");
    hipMemcpy(start_interval,D_start_interval,sizeof(int)*nodes,hipMemcpyDeviceToHost);
    hipMemcpy(end_interval,D_end_interval,sizeof(int)*nodes,hipMemcpyDeviceToHost);
    //for(int i=nodes-1;i>=0;i--){
      //  printf("%d %d %d %d\n",i,H_visited[i],start_interval[i],end_interval[i]);
      //  }

        CSR(m,vertex_array,edge_array,nodes);
    	CSR(m2,vertex_array_parent,edge_array_parent,nodes);
    	find_leaf(m,nodes);


    
	return 0;
}


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

                                        # End of file scope inline assembly
	.globl	_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_ # -- Begin function _Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.type	_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_,@function
_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_: # @_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$192, %rsp
	.cfi_def_cfa_offset 240
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	248(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	256(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$208, %rsp
	.cfi_adjust_cfa_offset -208
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_, .Lfunc_end0-_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.cfi_endproc
                                        # -- End function
	.globl	_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_ # -- Begin function _Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.type	_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_,@function
_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_: # @_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$192, %rsp
	.cfi_def_cfa_offset 240
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	248(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	256(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$208, %rsp
	.cfi_adjust_cfa_offset -208
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_, .Lfunc_end1-_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.cfi_endproc
                                        # -- End function
	.globl	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i # -- Begin function _Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	.type	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i,@function
_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i: # @_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	.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	$40, %rsp
	.cfi_def_cfa_offset 96
	.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, 24(%rsp)                  # 8-byte Spill
	movq	%rsi, 16(%rsp)                  # 8-byte Spill
	movl	$0, 8(%rsp)
	movl	%ecx, 12(%rsp)                  # 4-byte Spill
	testl	%ecx, %ecx
	jle	.LBB2_1
# %bb.3:                                # %.lr.ph22.preheader
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	leaq	8(%rsp), %r13
.LBB2_4:                                # %.lr.ph22
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_6 Depth 2
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	8(%rax), %r15
	subq	(%rax), %r15
	shrq	$2, %r15
	movslq	8(%rsp), %rax
	movq	16(%rsp), %rcx                  # 8-byte Reload
	movl	%ebx, (%rcx,%rax,4)
	testl	%r15d, %r15d
	jle	.LBB2_8
# %bb.5:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB2_4 Depth=1
	movq	%rbx, 32(%rsp)                  # 8-byte Spill
	movslq	%ebx, %rax
	movl	%r15d, %r14d
	movq	24(%rsp), %rcx                  # 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	xorl	%ebp, %ebp
.LBB2_6:                                # %.lr.ph
                                        #   Parent Loop BB2_4 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	(%rax), %rax
	movl	(%rax,%rbp,4), %eax
	movl	%eax, (%rbx,%rbp,4)
	incq	%rbp
	cmpq	%rbp, %r14
	jne	.LBB2_6
# %bb.7:                                # %._crit_edge.loopexit
                                        #   in Loop: Header=BB2_4 Depth=1
	movl	8(%rsp), %eax
	movq	32(%rsp), %rbx                  # 8-byte Reload
.LBB2_8:                                # %._crit_edge
                                        #   in Loop: Header=BB2_4 Depth=1
	addl	%r15d, %ebx
	incl	%eax
	movl	%eax, 8(%rsp)
	cmpl	12(%rsp), %eax                  # 4-byte Folded Reload
	jl	.LBB2_4
	jmp	.LBB2_2
.LBB2_1:
	xorl	%ebx, %ebx
.LBB2_2:                                # %._crit_edge23
	movslq	12(%rsp), %rax                  # 4-byte Folded Reload
	movq	16(%rsp), %rcx                  # 8-byte Reload
	movl	%ebx, (%rcx,%rax,4)
	addq	$40, %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_end2:
	.size	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i, .Lfunc_end2-_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi # -- Begin function _Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
	.type	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi,@function
_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi: # @_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
	.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
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movl	$0, 12(%rsp)
	testl	%esi, %esi
	jle	.LBB3_5
# %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	12(%rsp), %r15
.LBB3_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	movq	8(%rax), %rdx
	movslq	12(%rsp), %rcx
	cmpq	(%rax), %rdx
	jne	.LBB3_4
# %bb.3:                                #   in Loop: Header=BB3_2 Depth=1
	movq	is_leaf(%rip), %rax
	movb	$1, (%rax,%rcx)
.LBB3_4:                                #   in Loop: Header=BB3_2 Depth=1
	incl	%ecx
	movl	%ecx, 12(%rsp)
	cmpl	%ebx, %ecx
	jl	.LBB3_2
.LBB3_5:                                # %._crit_edge
	addq	$16, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi, .Lfunc_end3-_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
	.cfi_endproc
                                        # -- End function
	.globl	_Z4initii                       # -- Begin function _Z4initii
	.type	_Z4initii,@function
_Z4initii:                              # @_Z4initii
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movl	%edi, %ebx
	movl	$12000000, %edi                 # imm = 0xB71B00
	callq	_Znam
	movq	%rax, edge_array(%rip)
	leal	1(%rbx), %r14d
	shlq	$2, %r14
	cmpl	$-1, %ebx
	movq	$-1, %r13
	cmovlq	%r13, %r14
	movq	%r14, %rdi
	callq	_Znam
	movq	%rax, vertex_array(%rip)
	movl	$12000000, %edi                 # imm = 0xB71B00
	callq	_Znam
	movq	%rax, edge_array_parent(%rip)
	movq	%r14, %rdi
	callq	_Znam
	movq	%rax, vertex_array_parent(%rip)
	movslq	%ebx, %r12
	leaq	(,%r12,4), %r15
	testl	%r12d, %r12d
	cmovsq	%r13, %r15
	movq	%r15, %rdi
	callq	_Znam
	movq	%rax, %r14
	movq	%rax, start_interval(%rip)
	movq	%r15, %rdi
	callq	_Znam
	movq	%rax, %r15
	movq	%rax, end_interval(%rip)
	movq	%r12, %rdi
	callq	_Znam
	movq	%rax, is_leaf(%rip)
	testl	%r12d, %r12d
	jle	.LBB4_1
# %bb.2:                                # %.lr.ph.preheader
	movl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	memset@PLT
	shlq	$2, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	memset@PLT
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	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
	jmp	memset@PLT                      # TAILCALL
.LBB4_1:                                # %._crit_edge
	.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
	retq
.Lfunc_end4:
	.size	_Z4initii, .Lfunc_end4-_Z4initii
	.cfi_endproc
                                        # -- End function
	.globl	main                            # -- Begin function 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	$264, %rsp                      # imm = 0x108
	.cfi_def_cfa_offset 320
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	.cfi_escape 0x2e, 0x00
	xorl	%edi, %edi
	callq	time
	.cfi_escape 0x2e, 0x00
	movl	%eax, %edi
	callq	srand
	leaq	200(%rsp), %rax
	movq	%rax, -48(%rax)
	movl	$1, %ecx
	movq	%rcx, -40(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -32(%rax)
	movl	$1065353216, %edx               # imm = 0x3F800000
	movl	%edx, -16(%rax)
	movups	%xmm0, -8(%rax)
	leaq	256(%rsp), %rax
	movq	%rax, -48(%rax)
	movq	%rcx, -40(%rax)
	movups	%xmm0, -32(%rax)
	movl	%edx, -16(%rax)
	movups	%xmm0, -8(%rax)
.Ltmp0:
	.cfi_escape 0x2e, 0x00
	movq	%rsp, %rsi
	movl	$_ZSt3cin, %edi
	callq	_ZNSirsERi
.Ltmp1:
# %bb.1:
.Ltmp2:
	.cfi_escape 0x2e, 0x00
	leaq	4(%rsp), %rsi
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp3:
# %bb.2:
	cmpl	$0, 4(%rsp)
	jle	.LBB5_15
# %bb.3:                                # %.lr.ph.preheader
	xorl	%ebp, %ebp
	leaq	124(%rsp), %rbx
	leaq	120(%rsp), %r14
	leaq	152(%rsp), %r15
	leaq	208(%rsp), %r12
.LBB5_4:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
.Ltmp5:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt3cin, %edi
	movq	%rbx, %rsi
	callq	_ZNSirsERi
.Ltmp6:
# %bb.5:                                #   in Loop: Header=BB5_4 Depth=1
.Ltmp7:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ZNSirsERi
.Ltmp8:
# %bb.6:                                #   in Loop: Header=BB5_4 Depth=1
.Ltmp9:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
.Ltmp10:
# %bb.7:                                # %_ZNSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_.exit
                                        #   in Loop: Header=BB5_4 Depth=1
	movq	8(%rax), %rsi
	cmpq	16(%rax), %rsi
	je	.LBB5_9
# %bb.8:                                #   in Loop: Header=BB5_4 Depth=1
	movl	120(%rsp), %ecx
	movl	%ecx, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rax)
	jmp	.LBB5_10
.LBB5_9:                                #   in Loop: Header=BB5_4 Depth=1
.Ltmp11:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	movq	%r14, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp12:
.LBB5_10:                               # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit
                                        #   in Loop: Header=BB5_4 Depth=1
.Ltmp13:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
.Ltmp14:
# %bb.11:                               # %_ZNSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_.exit218
                                        #   in Loop: Header=BB5_4 Depth=1
	movq	8(%rax), %rsi
	cmpq	16(%rax), %rsi
	je	.LBB5_13
# %bb.12:                               #   in Loop: Header=BB5_4 Depth=1
	movl	124(%rsp), %ecx
	movl	%ecx, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rax)
	jmp	.LBB5_14
.LBB5_13:                               #   in Loop: Header=BB5_4 Depth=1
.Ltmp15:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp16:
.LBB5_14:                               # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit221
                                        #   in Loop: Header=BB5_4 Depth=1
	incl	%ebp
	cmpl	4(%rsp), %ebp
	jl	.LBB5_4
.LBB5_15:                               # %._crit_edge
.Ltmp18:
	.cfi_escape 0x2e, 0x00
	leaq	148(%rsp), %rsi
	movl	$_ZSt3cin, %edi
	callq	_ZNSirsERi
.Ltmp19:
# %bb.16:
	movl	(%rsp), %edi
.Ltmp20:
	.cfi_escape 0x2e, 0x00
	callq	_Z4initii
.Ltmp21:
# %bb.17:
	movq	vertex_array(%rip), %rsi
	movq	edge_array(%rip), %rdx
	movl	(%rsp), %ecx
.Ltmp22:
	.cfi_escape 0x2e, 0x00
	leaq	152(%rsp), %rdi
	callq	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
.Ltmp23:
# %bb.18:
	movq	vertex_array_parent(%rip), %rsi
	movq	edge_array_parent(%rip), %rdx
	movl	(%rsp), %ecx
.Ltmp24:
	.cfi_escape 0x2e, 0x00
	leaq	208(%rsp), %rdi
	callq	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
.Ltmp25:
# %bb.19:
	movl	(%rsp), %esi
.Ltmp26:
	.cfi_escape 0x2e, 0x00
	leaq	152(%rsp), %rdi
	callq	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
.Ltmp27:
# %bb.20:
	.cfi_escape 0x2e, 0x00
	movl	$12000000, %edi                 # imm = 0xB71B00
	callq	malloc
	movq	%rax, %r12
	movl	$0, 44(%rsp)
	movslq	(%rsp), %r14
	testq	%r14, %r14
	jle	.LBB5_21
# %bb.54:                               # %.lr.ph301
	movq	is_leaf(%rip), %rax
	movq	start_interval(%rip), %rcx
	xorl	%r15d, %r15d
	movq	end_interval(%rip), %rdx
	movl	%r14d, %ebp
	xorl	%esi, %esi
.LBB5_55:                               # =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rax,%rsi)
	je	.LBB5_57
# %bb.56:                               #   in Loop: Header=BB5_55 Depth=1
	movslq	%r15d, %rdi
	movl	%esi, (%r12,%rdi,4)
	incl	%edi
	movl	%edi, 44(%rsp)
	movl	%edi, (%rcx,%rsi,4)
	movl	44(%rsp), %r15d
	movl	%r15d, (%rdx,%rsi,4)
	movl	(%rsp), %ebp
.LBB5_57:                               #   in Loop: Header=BB5_55 Depth=1
	incq	%rsi
	movslq	%ebp, %r14
	cmpq	%r14, %rsi
	jl	.LBB5_55
	jmp	.LBB5_22
.LBB5_21:                               # %.._crit_edge302_crit_edge
	xorl	%r15d, %r15d
	movl	%r14d, %ebp
.LBB5_22:                               # %._crit_edge302
	.cfi_escape 0x2e, 0x00
	movl	$4, %edi
	callq	malloc
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	shlq	$2, %r14
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	malloc
	.cfi_escape 0x2e, 0x00
	movq	%rax, 88(%rsp)                  # 8-byte Spill
	movq	%rax, %rdi
	movl	$255, %esi
	movq	%r14, %rdx
	callq	memset@PLT
	.cfi_escape 0x2e, 0x00
	movl	$1, %edi
	movq	%r14, %rsi
	callq	calloc@PLT
	movq	%rax, %r13
	testl	%ebp, %ebp
	jle	.LBB5_27
# %bb.23:                               # %.lr.ph305
	movq	is_leaf(%rip), %rax
	movl	%ebp, %ecx
	xorl	%edx, %edx
	movq	88(%rsp), %rsi                  # 8-byte Reload
.LBB5_24:                               # =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rax,%rdx)
	je	.LBB5_26
# %bb.25:                               #   in Loop: Header=BB5_24 Depth=1
	movl	$0, (%rsi,%rdx,4)
.LBB5_26:                               #   in Loop: Header=BB5_24 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	.LBB5_24
.LBB5_27:                               # %._crit_edge306
	.cfi_escape 0x2e, 0x00
	movl	$4, %edi
	callq	malloc
	movq	%rax, %r14
	movl	$0, (%rax)
	.cfi_escape 0x2e, 0x00
	movl	$4, %edi
	callq	malloc
	movq	%rax, 104(%rsp)                 # 8-byte Spill
	movl	%r15d, (%rax)
	movslq	%ebp, %rax
	leaq	4(,%rax,4), %rsi
.Ltmp29:
	.cfi_escape 0x2e, 0x00
	leaq	80(%rsp), %rdi
	callq	hipMalloc
.Ltmp30:
# %bb.28:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit
	movslq	(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp31:
	.cfi_escape 0x2e, 0x00
	leaq	48(%rsp), %rdi
	callq	hipMalloc
.Ltmp32:
# %bb.29:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit224
.Ltmp33:
	.cfi_escape 0x2e, 0x00
	leaq	72(%rsp), %rdi
	movl	$12000000, %esi                 # imm = 0xB71B00
	callq	hipMalloc
.Ltmp34:
# %bb.30:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit226
.Ltmp35:
	.cfi_escape 0x2e, 0x00
	leaq	56(%rsp), %rdi
	movl	$12000000, %esi                 # imm = 0xB71B00
	callq	hipMalloc
.Ltmp36:
# %bb.31:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit228
.Ltmp37:
	.cfi_escape 0x2e, 0x00
	leaq	16(%rsp), %rdi
	movl	$4, %esi
	callq	hipMalloc
.Ltmp38:
# %bb.32:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit230
.Ltmp39:
	.cfi_escape 0x2e, 0x00
	leaq	96(%rsp), %rdi
	movl	$12000000, %esi                 # imm = 0xB71B00
	callq	hipMalloc
.Ltmp40:
# %bb.33:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit232
.Ltmp41:
	.cfi_escape 0x2e, 0x00
	leaq	8(%rsp), %rdi
	movl	$4, %esi
	callq	hipMalloc
.Ltmp42:
# %bb.34:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit234
	movslq	(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp43:
	.cfi_escape 0x2e, 0x00
	leaq	64(%rsp), %rdi
	callq	hipMalloc
.Ltmp44:
# %bb.35:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit236
	movslq	(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp45:
	.cfi_escape 0x2e, 0x00
	leaq	32(%rsp), %rdi
	callq	hipMalloc
.Ltmp46:
# %bb.36:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit238
	movslq	(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp47:
	.cfi_escape 0x2e, 0x00
	leaq	24(%rsp), %rdi
	callq	hipMalloc
.Ltmp48:
# %bb.37:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit240
	movq	80(%rsp), %rdi
	movq	vertex_array_parent(%rip), %rsi
	movslq	(%rsp), %rax
	leaq	4(,%rax,4), %rdx
.Ltmp49:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp50:
# %bb.38:
	movq	72(%rsp), %rdi
	movq	edge_array_parent(%rip), %rsi
.Ltmp51:
	.cfi_escape 0x2e, 0x00
	movl	$12000000, %edx                 # imm = 0xB71B00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp52:
# %bb.39:
	movq	56(%rsp), %rdi
.Ltmp53:
	.cfi_escape 0x2e, 0x00
	movl	$12000000, %edx                 # imm = 0xB71B00
	movq	%r12, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp54:
# %bb.40:
	movq	48(%rsp), %rdi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp55:
	.cfi_escape 0x2e, 0x00
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp56:
# %bb.41:
	movq	16(%rsp), %rdi
.Ltmp57:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	104(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp58:
# %bb.42:
	movq	8(%rsp), %rdi
.Ltmp59:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp60:
# %bb.43:
	movq	64(%rsp), %rdi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp61:
	.cfi_escape 0x2e, 0x00
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp62:
# %bb.44:
	movq	32(%rsp), %rdi
	movq	start_interval(%rip), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp63:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp64:
# %bb.45:
	movq	24(%rsp), %rdi
	movq	end_interval(%rip), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp65:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp66:
# %bb.46:                               # %.preheader297
	movq	%r13, 128(%rsp)                 # 8-byte Spill
	movq	%r12, 112(%rsp)                 # 8-byte Spill
	movl	(%rbx), %edi
	testl	%edi, %edi
	jle	.LBB5_66
# %bb.47:                               # %.lr.ph308.preheader
	movl	$1, %ebp
	movabsq	$4294967808, %r15               # imm = 0x100000200
	leaq	8(%rsp), %r12
	leaq	16(%rsp), %r13
.LBB5_48:                               # %.lr.ph308
                                        # =>This Inner Loop Header: Depth=1
	addl	$511, %edi                      # imm = 0x1FF
	shrl	$9, %edi
	movabsq	$4294967296, %rax               # imm = 0x100000000
	orq	%rax, %rdi
	testb	$1, %bpl
	jne	.LBB5_49
# %bb.60:                               #   in Loop: Header=BB5_48 Depth=1
.Ltmp74:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp75:
# %bb.61:                               #   in Loop: Header=BB5_48 Depth=1
	testl	%eax, %eax
	jne	.LBB5_63
# %bb.62:                               #   in Loop: Header=BB5_48 Depth=1
	movq	80(%rsp), %rdi
	movq	72(%rsp), %rsi
	movq	96(%rsp), %rdx
	movq	8(%rsp), %rcx
	movl	(%rsp), %r8d
	movl	4(%rsp), %r9d
.Ltmp76:
	.cfi_escape 0x2e, 0x30
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	32(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	96(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.Ltmp77:
.LBB5_63:                               #   in Loop: Header=BB5_48 Depth=1
	movq	16(%rsp), %rsi
.Ltmp78:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp79:
	movq	%r12, %rax
	jmp	.LBB5_64
.LBB5_49:                               #   in Loop: Header=BB5_48 Depth=1
.Ltmp68:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp69:
# %bb.50:                               #   in Loop: Header=BB5_48 Depth=1
	testl	%eax, %eax
	jne	.LBB5_52
# %bb.51:                               #   in Loop: Header=BB5_48 Depth=1
	movq	80(%rsp), %rdi
	movq	72(%rsp), %rsi
	movq	56(%rsp), %rdx
	movq	16(%rsp), %rcx
	movl	(%rsp), %r8d
	movl	4(%rsp), %r9d
.Ltmp70:
	.cfi_escape 0x2e, 0x30
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	32(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.Ltmp71:
.LBB5_52:                               #   in Loop: Header=BB5_48 Depth=1
	movq	8(%rsp), %rsi
.Ltmp72:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp73:
	movq	%r13, %rax
.LBB5_64:                               # %.invoke
                                        #   in Loop: Header=BB5_48 Depth=1
	movq	(%rax), %rdi
.Ltmp80:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp81:
# %bb.65:                               #   in Loop: Header=BB5_48 Depth=1
	incl	%ebp
	movl	(%rbx), %edi
	testl	%edi, %edi
	jg	.LBB5_48
.LBB5_66:                               # %._crit_edge309
	movq	48(%rsp), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp83:
	.cfi_escape 0x2e, 0x00
	movq	88(%rsp), %rdi                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp84:
# %bb.67:
	movl	(%rsp), %ebp
	testl	%ebp, %ebp
	jle	.LBB5_83
# %bb.68:
	movabsq	$4294967808, %r15               # imm = 0x100000200
.LBB5_69:                               # %.lr.ph316
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB5_77 Depth 2
	leaq	-1(%rbp), %r12
	movq	88(%rsp), %rax                  # 8-byte Reload
	cmpl	$-1, -4(%rax,%rbp,4)
	jne	.LBB5_100
# %bb.70:                               #   in Loop: Header=BB5_69 Depth=1
	movq	112(%rsp), %rsi                 # 8-byte Reload
	movl	%r12d, (%rsi)
	movq	104(%rsp), %rax                 # 8-byte Reload
	movl	$1, %ecx
	movl	%ecx, (%rax)
	movl	%ecx, (%rbx)
	movq	56(%rsp), %rdi
.Ltmp85:
	.cfi_escape 0x2e, 0x00
	movl	$12000000, %edx                 # imm = 0xB71B00
	callq	hipMemcpy
.Ltmp86:
# %bb.71:                               #   in Loop: Header=BB5_69 Depth=1
	movq	16(%rsp), %rdi
.Ltmp87:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	104(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp88:
# %bb.72:                               #   in Loop: Header=BB5_69 Depth=1
	movq	8(%rsp), %rdi
.Ltmp89:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp90:
# %bb.73:                               #   in Loop: Header=BB5_69 Depth=1
	incl	44(%rsp)
	leaq	(,%r12,4), %r13
	movq	32(%rsp), %rdi
	addq	%r13, %rdi
.Ltmp91:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	leaq	44(%rsp), %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp92:
# %bb.74:                               #   in Loop: Header=BB5_69 Depth=1
	addq	24(%rsp), %r13
.Ltmp93:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r13, %rdi
	leaq	44(%rsp), %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp94:
# %bb.75:                               # %.preheader296
                                        #   in Loop: Header=BB5_69 Depth=1
	movl	(%rbx), %edi
	testl	%edi, %edi
	jle	.LBB5_99
# %bb.76:                               # %.lr.ph311.preheader
                                        #   in Loop: Header=BB5_69 Depth=1
	movl	$1, %r13d
.LBB5_77:                               # %.lr.ph311
                                        #   Parent Loop BB5_69 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	addl	$511, %edi                      # imm = 0x1FF
	shrl	$9, %edi
	movabsq	$4294967296, %rax               # imm = 0x100000000
	orq	%rax, %rdi
	testb	$1, %r13b
	jne	.LBB5_78
# %bb.93:                               #   in Loop: Header=BB5_77 Depth=2
.Ltmp101:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp102:
# %bb.94:                               #   in Loop: Header=BB5_77 Depth=2
	testl	%eax, %eax
	jne	.LBB5_96
# %bb.95:                               #   in Loop: Header=BB5_77 Depth=2
	movq	80(%rsp), %rdi
	movq	72(%rsp), %rsi
	movq	96(%rsp), %rdx
	movq	8(%rsp), %rcx
	movl	(%rsp), %r8d
	movl	4(%rsp), %r9d
.Ltmp103:
	.cfi_escape 0x2e, 0x30
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	32(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	96(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.Ltmp104:
.LBB5_96:                               #   in Loop: Header=BB5_77 Depth=2
	movq	16(%rsp), %rsi
.Ltmp105:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp106:
	leaq	8(%rsp), %rax
	jmp	.LBB5_97
.LBB5_78:                               #   in Loop: Header=BB5_77 Depth=2
.Ltmp95:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp96:
# %bb.79:                               #   in Loop: Header=BB5_77 Depth=2
	testl	%eax, %eax
	jne	.LBB5_81
# %bb.80:                               #   in Loop: Header=BB5_77 Depth=2
	movq	80(%rsp), %rdi
	movq	72(%rsp), %rsi
	movq	56(%rsp), %rdx
	movq	16(%rsp), %rcx
	movl	(%rsp), %r8d
	movl	4(%rsp), %r9d
.Ltmp97:
	.cfi_escape 0x2e, 0x30
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	32(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.Ltmp98:
.LBB5_81:                               #   in Loop: Header=BB5_77 Depth=2
	movq	8(%rsp), %rsi
.Ltmp99:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp100:
	leaq	16(%rsp), %rax
.LBB5_97:                               # %.invoke351
                                        #   in Loop: Header=BB5_77 Depth=2
	movq	(%rax), %rdi
.Ltmp107:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp108:
# %bb.98:                               #   in Loop: Header=BB5_77 Depth=2
	incl	%r13d
	movl	(%rbx), %edi
	testl	%edi, %edi
	jg	.LBB5_77
.LBB5_99:                               # %._crit_edge312
                                        #   in Loop: Header=BB5_69 Depth=1
	movq	48(%rsp), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp110:
	.cfi_escape 0x2e, 0x00
	movq	88(%rsp), %rdi                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp111:
.LBB5_100:                              #   in Loop: Header=BB5_69 Depth=1
	cmpq	$1, %rbp
	movq	%r12, %rbp
	jg	.LBB5_69
# %bb.82:                               # %._crit_edge317.loopexit
	movl	(%rsp), %ebp
.LBB5_83:                               # %._crit_edge317
	movq	start_interval(%rip), %rdi
	movq	32(%rsp), %rsi
	movslq	%ebp, %rdx
	shlq	$2, %rdx
.Ltmp113:
	.cfi_escape 0x2e, 0x00
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp114:
# %bb.84:
	movq	end_interval(%rip), %rdi
	movq	24(%rsp), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp115:
	.cfi_escape 0x2e, 0x00
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp116:
# %bb.85:
.Ltmp118:
	.cfi_escape 0x2e, 0x00
	movl	$2048, %edi                     # imm = 0x800
	callq	_Znam
.Ltmp119:
# %bb.86:
.Ltmp121:
	movq	%rax, %r15
	.cfi_escape 0x2e, 0x00
	movl	$2048, %edi                     # imm = 0x800
	callq	_Znam
.Ltmp122:
# %bb.87:                               # %.preheader295.preheader
	movq	%rax, %r12
	movq	%r14, 136(%rsp)                 # 8-byte Spill
	xorl	%r14d, %r14d
.LBB5_88:                               # %.preheader295
                                        # =>This Inner Loop Header: Depth=1
	.cfi_escape 0x2e, 0x00
	callq	rand
	cltd
	idivl	(%rsp)
	movl	%edx, %ebp
	.cfi_escape 0x2e, 0x00
	callq	rand
	cltd
	idivl	(%rsp)
	cmpl	%edx, %ebp
	jge	.LBB5_103
# %bb.89:                               #   in Loop: Header=BB5_88 Depth=1
	movslq	%r14d, %rax
	movl	%ebp, (%r15,%rax,4)
	movl	%edx, (%r12,%rax,4)
	jmp	.LBB5_104
.LBB5_103:                              #   in Loop: Header=BB5_88 Depth=1
	decl	%r14d
.LBB5_104:                              #   in Loop: Header=BB5_88 Depth=1
	leal	1(%r14), %eax
	cmpl	$511, %r14d                     # imm = 0x1FF
	movl	%eax, %r14d
	jl	.LBB5_88
# %bb.105:                              # %.preheader294.preheader
	xorl	%r14d, %r14d
.LBB5_106:                              # %.preheader294
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%r15,%r14), %r13
.Ltmp123:
	.cfi_escape 0x2e, 0x00
	leaq	152(%rsp), %rdi
	movq	%r13, %rsi
	callq	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
.Ltmp124:
# %bb.107:                              # %_ZNSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_.exit242
                                        #   in Loop: Header=BB5_106 Depth=1
	leaq	(%r12,%r14), %rbp
	movq	8(%rax), %rsi
	cmpq	16(%rax), %rsi
	je	.LBB5_109
# %bb.108:                              #   in Loop: Header=BB5_106 Depth=1
	movl	(%rbp), %ecx
	movl	%ecx, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rax)
	jmp	.LBB5_110
.LBB5_109:                              #   in Loop: Header=BB5_106 Depth=1
.Ltmp125:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	movq	%rbp, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp126:
.LBB5_110:                              # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit245
                                        #   in Loop: Header=BB5_106 Depth=1
.Ltmp127:
	.cfi_escape 0x2e, 0x00
	leaq	208(%rsp), %rdi
	movq	%rbp, %rsi
	callq	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
.Ltmp128:
# %bb.111:                              # %_ZNSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_.exit247
                                        #   in Loop: Header=BB5_106 Depth=1
	movq	8(%rax), %rsi
	cmpq	16(%rax), %rsi
	je	.LBB5_113
# %bb.112:                              #   in Loop: Header=BB5_106 Depth=1
	movl	(%r13), %ecx
	movl	%ecx, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rax)
	jmp	.LBB5_115
.LBB5_113:                              #   in Loop: Header=BB5_106 Depth=1
.Ltmp129:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	movq	%r13, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp130:
# %bb.114:                              # %._ZNSt6vectorIiSaIiEE9push_backERKi.exit250_crit_edge
                                        #   in Loop: Header=BB5_106 Depth=1
	movl	(%r13), %ecx
.LBB5_115:                              # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit250
                                        #   in Loop: Header=BB5_106 Depth=1
	incl	4(%rsp)
	movq	start_interval(%rip), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edx
	movslq	(%rbp), %rsi
	movl	(%rax,%rsi,4), %esi
	cmpl	%esi, %edx
	cmovll	%edx, %esi
	movl	%esi, (%rax,%rcx,4)
	movq	end_interval(%rip), %rax
	movslq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edx
	movslq	(%rbp), %rsi
	movl	(%rax,%rsi,4), %esi
	cmpl	%esi, %edx
	cmovgl	%edx, %esi
	movl	%esi, (%rax,%rcx,4)
	addq	$4, %r14
	cmpq	$2048, %r14                     # imm = 0x800
	jne	.LBB5_106
# %bb.116:                              # %.preheader.preheader
	.cfi_escape 0x2e, 0x00
	movl	$2048, %edx                     # imm = 0x800
	movq	112(%rsp), %rdi                 # 8-byte Reload
	movq	%r15, %rsi
	callq	memcpy@PLT
	movl	$512, (%rbx)                    # imm = 0x200
	movslq	(%rsp), %r14
	leaq	(,%r14,4), %r12
	.cfi_escape 0x2e, 0x00
	movq	88(%rsp), %rbp                  # 8-byte Reload
	movq	%rbp, %rdi
	movl	$255, %esi
	movq	%r12, %rdx
	callq	memset@PLT
	.cfi_escape 0x2e, 0x00
	xorl	%r13d, %r13d
	movq	128(%rsp), %rdi                 # 8-byte Reload
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	memset@PLT
.LBB5_117:                              # =>This Inner Loop Header: Depth=1
	movslq	(%r15,%r13,4), %rax
	movl	$0, (%rbp,%rax,4)
	incq	%r13
	cmpq	$512, %r13                      # imm = 0x200
	jne	.LBB5_117
# %bb.118:
	movq	136(%rsp), %rax                 # 8-byte Reload
	movl	$0, (%rax)
	movq	104(%rsp), %rcx                 # 8-byte Reload
	movl	$512, (%rcx)                    # imm = 0x200
	movq	80(%rsp), %rdi
	movq	vertex_array_parent(%rip), %rsi
	leaq	4(,%r14,4), %rdx
	movq	%rax, %r14
.Ltmp132:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp133:
	leaq	16(%rsp), %r13
# %bb.119:
	movq	72(%rsp), %rdi
	movq	edge_array_parent(%rip), %rsi
.Ltmp134:
	.cfi_escape 0x2e, 0x00
	movl	$12000000, %edx                 # imm = 0xB71B00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp135:
# %bb.120:
	movq	56(%rsp), %rdi
.Ltmp136:
	.cfi_escape 0x2e, 0x00
	movl	$12000000, %edx                 # imm = 0xB71B00
	movq	112(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp137:
# %bb.121:
	movq	48(%rsp), %rdi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp138:
	.cfi_escape 0x2e, 0x00
	movq	88(%rsp), %rsi                  # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp139:
# %bb.122:
	movq	16(%rsp), %rdi
.Ltmp140:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	104(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp141:
# %bb.123:
	movq	8(%rsp), %rdi
.Ltmp142:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp143:
# %bb.124:
	movq	64(%rsp), %rdi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp144:
	.cfi_escape 0x2e, 0x00
	movq	128(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp145:
# %bb.125:
	movq	32(%rsp), %rdi
	movq	start_interval(%rip), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp146:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp147:
# %bb.126:
	movq	24(%rsp), %rdi
	movq	end_interval(%rip), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp148:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp149:
# %bb.127:
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, %r15
	movl	(%rbx), %edi
	testl	%edi, %edi
	jle	.LBB5_140
# %bb.128:                              # %.lr.ph324.preheader
	movl	$1, %ebp
	movabsq	$4294967808, %r12               # imm = 0x100000200
.LBB5_129:                              # %.lr.ph324
                                        # =>This Inner Loop Header: Depth=1
	addl	$511, %edi                      # imm = 0x1FF
	shrl	$9, %edi
	movabsq	$4294967296, %rax               # imm = 0x100000000
	orq	%rax, %rdi
	testb	$1, %bpl
	jne	.LBB5_130
# %bb.134:                              #   in Loop: Header=BB5_129 Depth=1
.Ltmp157:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movq	%r12, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp158:
# %bb.135:                              #   in Loop: Header=BB5_129 Depth=1
	testl	%eax, %eax
	jne	.LBB5_137
# %bb.136:                              #   in Loop: Header=BB5_129 Depth=1
	movq	80(%rsp), %rdi
	movq	72(%rsp), %rsi
	movq	96(%rsp), %rdx
	movq	8(%rsp), %rcx
	movl	(%rsp), %r8d
	movl	4(%rsp), %r9d
.Ltmp159:
	.cfi_escape 0x2e, 0x30
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	32(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	96(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.Ltmp160:
.LBB5_137:                              #   in Loop: Header=BB5_129 Depth=1
	movq	16(%rsp), %rsi
.Ltmp161:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp162:
	leaq	8(%rsp), %rax
	jmp	.LBB5_138
.LBB5_130:                              #   in Loop: Header=BB5_129 Depth=1
.Ltmp151:
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movq	%r12, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp152:
# %bb.131:                              #   in Loop: Header=BB5_129 Depth=1
	testl	%eax, %eax
	jne	.LBB5_133
# %bb.132:                              #   in Loop: Header=BB5_129 Depth=1
	movq	80(%rsp), %rdi
	movq	72(%rsp), %rsi
	movq	56(%rsp), %rdx
	movq	16(%rsp), %rcx
	movl	(%rsp), %r8d
	movl	4(%rsp), %r9d
.Ltmp153:
	.cfi_escape 0x2e, 0x30
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	32(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	72(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	40(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	136(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.Ltmp154:
.LBB5_133:                              #   in Loop: Header=BB5_129 Depth=1
	movq	8(%rsp), %rsi
.Ltmp155:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp156:
	movq	%r13, %rax
.LBB5_138:                              # %.invoke352
                                        #   in Loop: Header=BB5_129 Depth=1
	movq	(%rax), %rdi
.Ltmp163:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp164:
# %bb.139:                              #   in Loop: Header=BB5_129 Depth=1
	incl	%ebp
	movl	(%rbx), %edi
	testl	%edi, %edi
	jg	.LBB5_129
.LBB5_140:                              # %._crit_edge325
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, %rbx
.Ltmp166:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp167:
# %bb.141:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	subq	%r15, %rbx
	movabsq	$2361183241434822607, %rcx      # imm = 0x20C49BA5E353F7CF
	movq	%rbx, %rax
	imulq	%rcx
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$7, %rdx
	addq	%rdx, %rsi
.Ltmp168:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp169:
# %bb.142:                              # %_ZNSolsEl.exit
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp170:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp171:
# %bb.143:                              # %.noexc254
.Ltmp172:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp173:
# %bb.144:                              # %.noexc255
.Ltmp174:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp175:
# %bb.145:                              # %_ZNSolsEPFRSoS_E.exit
	.cfi_escape 0x2e, 0x00
	movl	$.Lstr, %edi
	callq	puts@PLT
	movq	start_interval(%rip), %rdi
	movq	32(%rsp), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp176:
	.cfi_escape 0x2e, 0x00
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp177:
# %bb.146:
	movq	end_interval(%rip), %rdi
	movq	24(%rsp), %rsi
	movslq	(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp178:
	.cfi_escape 0x2e, 0x00
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp179:
# %bb.147:
	movq	vertex_array(%rip), %rsi
	movq	edge_array(%rip), %rdx
	movl	(%rsp), %ecx
.Ltmp180:
	.cfi_escape 0x2e, 0x00
	leaq	152(%rsp), %rdi
	callq	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
.Ltmp181:
# %bb.148:
	movq	vertex_array_parent(%rip), %rsi
	movq	edge_array_parent(%rip), %rdx
	movl	(%rsp), %ecx
.Ltmp182:
	.cfi_escape 0x2e, 0x00
	leaq	208(%rsp), %rdi
	callq	_Z3CSRRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEPiSD_i
.Ltmp183:
# %bb.149:
	movl	(%rsp), %esi
.Ltmp184:
	.cfi_escape 0x2e, 0x00
	leaq	152(%rsp), %rdi
	callq	_Z9find_leafRSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEi
.Ltmp185:
# %bb.150:
	.cfi_escape 0x2e, 0x00
	leaq	208(%rsp), %rdi
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	152(%rsp), %rdi
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	xorl	%eax, %eax
	addq	$264, %rsp                      # imm = 0x108
	.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_101:
	.cfi_def_cfa_offset 320
.Ltmp120:
	jmp	.LBB5_152
.LBB5_153:
.Ltmp4:
	jmp	.LBB5_152
.LBB5_90:
.Ltmp117:
	jmp	.LBB5_152
.LBB5_53:
.Ltmp28:
	jmp	.LBB5_152
.LBB5_151:
.Ltmp186:
	jmp	.LBB5_152
.LBB5_102:
.Ltmp150:
	jmp	.LBB5_152
.LBB5_58:
.Ltmp67:
	jmp	.LBB5_152
.LBB5_91:
.Ltmp112:
	jmp	.LBB5_152
.LBB5_155:
.Ltmp165:
	jmp	.LBB5_152
.LBB5_59:
.Ltmp82:
	jmp	.LBB5_152
.LBB5_156:
.Ltmp131:
	jmp	.LBB5_152
.LBB5_154:
.Ltmp17:
	jmp	.LBB5_152
.LBB5_92:
.Ltmp109:
.LBB5_152:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	leaq	208(%rsp), %rdi
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	152(%rsp), %rdi
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.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 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp3-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp3
	.uleb128 .Ltmp4-.Lfunc_begin0           #     jumps to .Ltmp4
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp5-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp16-.Ltmp5                 #   Call between .Ltmp5 and .Ltmp16
	.uleb128 .Ltmp17-.Lfunc_begin0          #     jumps to .Ltmp17
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp18-.Lfunc_begin0          # >> Call Site 3 <<
	.uleb128 .Ltmp27-.Ltmp18                #   Call between .Ltmp18 and .Ltmp27
	.uleb128 .Ltmp28-.Lfunc_begin0          #     jumps to .Ltmp28
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp27-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp29-.Ltmp27                #   Call between .Ltmp27 and .Ltmp29
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp29-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp66-.Ltmp29                #   Call between .Ltmp29 and .Ltmp66
	.uleb128 .Ltmp67-.Lfunc_begin0          #     jumps to .Ltmp67
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp74-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp81-.Ltmp74                #   Call between .Ltmp74 and .Ltmp81
	.uleb128 .Ltmp82-.Lfunc_begin0          #     jumps to .Ltmp82
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp83-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp84-.Ltmp83                #   Call between .Ltmp83 and .Ltmp84
	.uleb128 .Ltmp117-.Lfunc_begin0         #     jumps to .Ltmp117
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp85-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp94-.Ltmp85                #   Call between .Ltmp85 and .Ltmp94
	.uleb128 .Ltmp112-.Lfunc_begin0         #     jumps to .Ltmp112
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp101-.Lfunc_begin0         # >> Call Site 9 <<
	.uleb128 .Ltmp108-.Ltmp101              #   Call between .Ltmp101 and .Ltmp108
	.uleb128 .Ltmp109-.Lfunc_begin0         #     jumps to .Ltmp109
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp110-.Lfunc_begin0         # >> Call Site 10 <<
	.uleb128 .Ltmp111-.Ltmp110              #   Call between .Ltmp110 and .Ltmp111
	.uleb128 .Ltmp112-.Lfunc_begin0         #     jumps to .Ltmp112
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp113-.Lfunc_begin0         # >> Call Site 11 <<
	.uleb128 .Ltmp116-.Ltmp113              #   Call between .Ltmp113 and .Ltmp116
	.uleb128 .Ltmp117-.Lfunc_begin0         #     jumps to .Ltmp117
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp118-.Lfunc_begin0         # >> Call Site 12 <<
	.uleb128 .Ltmp119-.Ltmp118              #   Call between .Ltmp118 and .Ltmp119
	.uleb128 .Ltmp120-.Lfunc_begin0         #     jumps to .Ltmp120
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp121-.Lfunc_begin0         # >> Call Site 13 <<
	.uleb128 .Ltmp122-.Ltmp121              #   Call between .Ltmp121 and .Ltmp122
	.uleb128 .Ltmp150-.Lfunc_begin0         #     jumps to .Ltmp150
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp123-.Lfunc_begin0         # >> Call Site 14 <<
	.uleb128 .Ltmp130-.Ltmp123              #   Call between .Ltmp123 and .Ltmp130
	.uleb128 .Ltmp131-.Lfunc_begin0         #     jumps to .Ltmp131
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp130-.Lfunc_begin0         # >> Call Site 15 <<
	.uleb128 .Ltmp132-.Ltmp130              #   Call between .Ltmp130 and .Ltmp132
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp132-.Lfunc_begin0         # >> Call Site 16 <<
	.uleb128 .Ltmp149-.Ltmp132              #   Call between .Ltmp132 and .Ltmp149
	.uleb128 .Ltmp150-.Lfunc_begin0         #     jumps to .Ltmp150
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp157-.Lfunc_begin0         # >> Call Site 17 <<
	.uleb128 .Ltmp164-.Ltmp157              #   Call between .Ltmp157 and .Ltmp164
	.uleb128 .Ltmp165-.Lfunc_begin0         #     jumps to .Ltmp165
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp166-.Lfunc_begin0         # >> Call Site 18 <<
	.uleb128 .Ltmp185-.Ltmp166              #   Call between .Ltmp166 and .Ltmp185
	.uleb128 .Ltmp186-.Lfunc_begin0         #     jumps to .Ltmp186
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp185-.Lfunc_begin0         # >> Call Site 19 <<
	.uleb128 .Lfunc_end5-.Ltmp185           #   Call between .Ltmp185 and .Lfunc_end5
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev,comdat
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev # -- Begin function _ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.p2align	1, 0x90
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev,@function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev: # @_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv
	movq	(%rbx), %rdi
	addq	$48, %rbx
	cmpq	%rdi, %rbx
	je	.LBB6_1
# %bb.2:
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB6_1:                                # %_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv.exit
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev, .Lfunc_end6-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv,comdat
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv # -- Begin function _ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv
	.p2align	1, 0x90
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv,@function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv: # @_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %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	%rdi, %rbx
	movq	16(%rdi), %rsi
.Ltmp187:
	callq	_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_
.Ltmp188:
# %bb.1:
	leaq	16(%rbx), %r14
	movq	(%rbx), %rdi
	movq	8(%rbx), %rdx
	shlq	$3, %rdx
	xorl	%esi, %esi
	callq	memset@PLT
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB7_2:
	.cfi_def_cfa_offset 32
.Ltmp189:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end7:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv, .Lfunc_end7-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv
	.cfi_endproc
	.section	.gcc_except_table._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv,"aG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv,comdat
	.p2align	2, 0x0
GCC_except_table7:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Ltmp187-.Lfunc_begin1         # >> Call Site 1 <<
	.uleb128 .Ltmp188-.Ltmp187              #   Call between .Ltmp187 and .Ltmp188
	.uleb128 .Ltmp189-.Lfunc_begin1         #     jumps to .Ltmp189
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp188-.Lfunc_begin1         # >> Call Site 2 <<
	.uleb128 .Lfunc_end7-.Ltmp188           #   Call between .Ltmp188 and .Lfunc_end7
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end8:
	.size	__clang_call_terminate, .Lfunc_end8-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_,"axG",@progbits,_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_,comdat
	.weak	_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_ # -- Begin function _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_
	.p2align	1, 0x90
	.type	_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_,@function
_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_: # @_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB9_6
# %bb.1:                                # %.lr.ph.preheader
	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
.LBB9_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r14
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB9_4
# %bb.3:                                #   in Loop: Header=BB9_2 Depth=1
	callq	_ZdlPv
.LBB9_4:                                # %_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE18_M_deallocate_nodeEPS8_.exit
                                        #   in Loop: Header=BB9_2 Depth=1
	movq	%rbx, %rdi
	callq	_ZdlPv
	movq	%r14, %rbx
	testq	%r14, %r14
	jne	.LBB9_2
# %bb.5:
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r14
.LBB9_6:                                # %._crit_edge
	retq
.Lfunc_end9:
	.size	_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_, .Lfunc_end9-_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE19_M_deallocate_nodesEPS8_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,"axG",@progbits,_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,comdat
	.weak	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # -- Begin function _ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	.p2align	1, 0x90
	.type	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,@function
_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_: # @_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.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 %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdi, %r14
	movl	(%rsi), %ebp
	movslq	%ebp, %rbx
	movq	(%rdi), %rcx
	movq	8(%rdi), %rsi
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	movq	%rdx, %r15
	movq	(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	je	.LBB10_5
# %bb.1:
	movq	(%rax), %r12
	cmpl	8(%r12), %ebp
	je	.LBB10_7
.LBB10_3:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r12), %r12
	testq	%r12, %r12
	je	.LBB10_5
# %bb.4:                                #   in Loop: Header=BB10_3 Depth=1
	movslq	8(%r12), %rcx
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rsi
	cmpq	%r15, %rdx
	jne	.LBB10_5
# %bb.2:                                #   in Loop: Header=BB10_3 Depth=1
	cmpl	%ecx, %ebp
	jne	.LBB10_3
	jmp	.LBB10_7
.LBB10_5:                               # %.loopexit
	movq	%r14, (%rsp)
	movl	$40, %edi
	callq	_Znwm
	xorl	%ecx, %ecx
	movq	%rcx, (%rax)
	movl	%ebp, 8(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movq	%rcx, 32(%rax)
	movq	%rax, 8(%rsp)
.Ltmp190:
	movl	$1, %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm
.Ltmp191:
# %bb.6:
	movq	%rax, %r12
	movq	%rsp, %rdi
	movq	$0, 8(%rdi)
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev
.LBB10_7:                               # %.loopexit28
	addq	$16, %r12
	movq	%r12, %rax
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.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
.LBB10_8:
	.cfi_def_cfa_offset 64
.Ltmp192:
	movq	%rax, %rbx
	movq	%rsp, %rdi
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end10:
	.size	_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_, .Lfunc_end10-_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,"aG",@progbits,_ZNSt8__detail9_Map_baseIiSt4pairIKiSt6vectorIiSaIiEEESaIS6_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_,comdat
	.p2align	2, 0x0
GCC_except_table10:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Lfunc_begin2-.Lfunc_begin2    # >> Call Site 1 <<
	.uleb128 .Ltmp190-.Lfunc_begin2         #   Call between .Lfunc_begin2 and .Ltmp190
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp190-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp191-.Ltmp190              #   Call between .Ltmp190 and .Ltmp191
	.uleb128 .Ltmp192-.Lfunc_begin2         #     jumps to .Ltmp192
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp191-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Lfunc_end10-.Ltmp191          #   Call between .Ltmp191 and .Lfunc_end10
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm,comdat
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm # -- Begin function _ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm
	.p2align	1, 0x90
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm,@function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm: # @_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	addq	$32, %rdi
	movq	40(%r14), %rax
	movq	%rax, (%rsp)
	movq	8(%r14), %rsi
	movq	24(%r14), %rdx
	movq	%r8, %rcx
	callq	_ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm
	testb	$1, %al
	je	.LBB11_2
# %bb.1:
	movq	%rsp, %rax
	movq	%r14, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	8(%r14)
	movq	%rdx, %r12
.LBB11_2:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE
	incq	24(%r14)
	movq	%rbx, %rax
	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	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm, .Lfunc_end11-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNS7_10_Hash_nodeIS5_Lb0EEEm
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev,comdat
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev # -- Begin function _ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev
	.p2align	1, 0x90
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev,@function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev: # @_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	.LBB12_4
# %bb.1:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB12_3
# %bb.2:
	callq	_ZdlPv
.LBB12_3:                               # %_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiSt6vectorIiSaIiEEELb0EEEEE18_M_deallocate_nodeEPS8_.exit
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB12_4:
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev, .Lfunc_end12-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,comdat
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm # -- Begin function _ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm
	.p2align	1, 0x90
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,@function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm: # @_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %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, %rbx
	movq	%rdi, %r14
.Ltmp193:
	callq	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE
.Ltmp194:
# %bb.1:
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB13_5:
	.cfi_def_cfa_offset 32
.Ltmp195:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	(%rbx), %rax
	movq	%rax, 40(%r14)
.Ltmp196:
	callq	__cxa_rethrow
.Ltmp197:
# %bb.6:
.LBB13_2:
.Ltmp198:
	movq	%rax, %rbx
.Ltmp199:
	callq	__cxa_end_catch
.Ltmp200:
# %bb.3:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB13_4:
.Ltmp201:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end13:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm, .Lfunc_end13-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm
	.cfi_endproc
	.section	.gcc_except_table._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,"aG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEmRKm,comdat
	.p2align	2, 0x0
GCC_except_table13:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Ltmp193-.Lfunc_begin3         # >> Call Site 1 <<
	.uleb128 .Ltmp194-.Ltmp193              #   Call between .Ltmp193 and .Ltmp194
	.uleb128 .Ltmp195-.Lfunc_begin3         #     jumps to .Ltmp195
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp194-.Lfunc_begin3         # >> Call Site 2 <<
	.uleb128 .Ltmp196-.Ltmp194              #   Call between .Ltmp194 and .Ltmp196
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp196-.Lfunc_begin3         # >> Call Site 3 <<
	.uleb128 .Ltmp197-.Ltmp196              #   Call between .Ltmp196 and .Ltmp197
	.uleb128 .Ltmp198-.Lfunc_begin3         #     jumps to .Ltmp198
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp199-.Lfunc_begin3         # >> Call Site 4 <<
	.uleb128 .Ltmp200-.Ltmp199              #   Call between .Ltmp199 and .Ltmp200
	.uleb128 .Ltmp201-.Lfunc_begin3         #     jumps to .Ltmp201
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp200-.Lfunc_begin3         # >> Call Site 5 <<
	.uleb128 .Lfunc_end13-.Ltmp200          #   Call between .Ltmp200 and .Lfunc_end13
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE,comdat
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE # -- Begin function _ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE
	.p2align	1, 0x90
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE,@function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE: # @_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE
	.cfi_startproc
# %bb.0:
	movq	%rdx, %rcx
	movq	(%rdi), %r8
	movq	(%r8,%rsi,8), %rax
	testq	%rax, %rax
	je	.LBB14_2
# %bb.1:
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	(%r8,%rsi,8), %rax
	movq	%rcx, (%rax)
	retq
.LBB14_2:
	leaq	16(%rdi), %r9
	movq	16(%rdi), %rax
	movq	%rax, (%rcx)
	movq	%rcx, 16(%rdi)
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	.LBB14_4
# %bb.3:
	movslq	8(%rax), %rax
	xorl	%edx, %edx
	divq	8(%rdi)
	movq	%rcx, (%r8,%rdx,8)
	movq	(%rdi), %r8
.LBB14_4:
	movq	%r9, (%r8,%rsi,8)
	retq
.Lfunc_end14:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE, .Lfunc_end14-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE22_M_insert_bucket_beginEmPNS7_10_Hash_nodeIS5_Lb0EEE
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE,"axG",@progbits,_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE,comdat
	.weak	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE # -- Begin function _ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE
	.p2align	1, 0x90
	.type	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE,@function
_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE: # @_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE
	.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
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$1, %rsi
	je	.LBB15_1
# %bb.2:
	leaq	15(%rsp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv
	movq	%rax, %r15
	leaq	(,%r14,8), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB15_3:                               # %_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE19_M_allocate_bucketsEm.exit
	movq	16(%rbx), %rsi
	movq	$0, 16(%rbx)
	testq	%rsi, %rsi
	je	.LBB15_11
# %bb.4:                                # %.lr.ph.preheader
	leaq	16(%rbx), %rcx
	xorl	%r8d, %r8d
.LBB15_5:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rdi
	movslq	8(%rsi), %rax
	xorl	%edx, %edx
	divq	%r14
	movq	(%r15,%rdx,8), %rax
	testq	%rax, %rax
	je	.LBB15_6
# %bb.8:                                #   in Loop: Header=BB15_5 Depth=1
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	movq	(%r15,%rdx,8), %rax
	movq	%r8, %rdx
	jmp	.LBB15_9
.LBB15_6:                               #   in Loop: Header=BB15_5 Depth=1
	movq	(%rcx), %rax
	movq	%rax, (%rsi)
	movq	%rsi, (%rcx)
	movq	%rcx, (%r15,%rdx,8)
	cmpq	$0, (%rsi)
	je	.LBB15_10
# %bb.7:                                #   in Loop: Header=BB15_5 Depth=1
	leaq	(%r15,%r8,8), %rax
.LBB15_9:                               # %.sink.split
                                        #   in Loop: Header=BB15_5 Depth=1
	movq	%rsi, (%rax)
.LBB15_10:                              #   in Loop: Header=BB15_5 Depth=1
	movq	%rdi, %rsi
	movq	%rdx, %r8
	testq	%rdi, %rdi
	jne	.LBB15_5
.LBB15_11:                              # %._crit_edge
	movq	(%rbx), %rdi
	leaq	48(%rbx), %rax
	cmpq	%rdi, %rax
	je	.LBB15_13
# %bb.12:
	callq	_ZdlPv
.LBB15_13:                              # %_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_deallocate_bucketsEv.exit
	movq	%r14, 8(%rbx)
	movq	%r15, (%rbx)
	addq	$16, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB15_1:
	.cfi_def_cfa_offset 48
	leaq	48(%rbx), %r15
	movq	$0, 48(%rbx)
	jmp	.LBB15_3
.Lfunc_end15:
	.size	_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE, .Lfunc_end15-_ZNSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv,@function
_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv: # @_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB16_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB16_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB16_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB16_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end16:
	.size	_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv, .Lfunc_end16-_ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_ # -- Begin function _ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,@function
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_: # @_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_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.2, %edx
	callq	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$2, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB17_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB17_3
.LBB17_1:
	xorl	%ebp, %ebp
.LBB17_3:                               # %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rbp,%r14,4)
	testq	%r12, %r12
	jle	.LBB17_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB17_5:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$4, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB17_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB17_7:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB17_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB17_9:                               # %_ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,4), %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_end17:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .Lfunc_end17-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc: # @_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$2305843009213693951, %rcx      # imm = 0x1FFFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$2, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB18_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
.LBB18_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end18:
	.size	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc, .Lfunc_end18-_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIiE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIiE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIiE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIiE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIiE8allocateEmPKv,@function
_ZNSt15__new_allocatorIiE8allocateEmPKv: # @_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB19_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB19_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB19_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB19_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end19:
	.size	_ZNSt15__new_allocatorIiE8allocateEmPKv, .Lfunc_end19-_ZNSt15__new_allocatorIiE8allocateEmPKv
	.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	.LBB20_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB20_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_, %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	$_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_, %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_end20:
	.size	__hip_module_ctor, .Lfunc_end20-__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	.LBB21_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
.LBB21_2:
	retq
.Lfunc_end21:
	.size	__hip_module_dtor, .Lfunc_end21-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	edge_array,@object              # @edge_array
	.bss
	.globl	edge_array
	.p2align	3, 0x0
edge_array:
	.quad	0
	.size	edge_array, 8

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

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

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

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

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

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

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

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

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

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Time taken : "
	.size	.L.str, 14

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_"
	.size	.L__unnamed_1, 34

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_"
	.size	.L__unnamed_2, 33

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

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

	.type	.Lstr,@object                   # @str
	.section	.rodata.str1.1,"aMS",@progbits,1
.Lstr:
	.asciz	"--------------------------------------------------\n"
	.size	.Lstr, 52

	.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 _Z19__device_stub__BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.addrsig_sym _Z18__device_stub__BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.addrsig_sym _Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.addrsig_sym _ZSt3cin
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_ ; -- Begin function _Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.globl	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
	.p2align	8
	.type	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_,@function
_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_:      ; @_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
; %bb.0:
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x0
	s_load_b32 s2, s[0:1], 0x64
	s_waitcnt lgkmcnt(0)
	s_load_b32 s3, s[10:11], 0x0
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s3, v1
	s_cbranch_execz .LBB0_16
; %bb.1:
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	v_add_co_u32 v0, vcc_lo, s8, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v1, vcc_lo
	global_load_b32 v0, v[0:1], off
	s_waitcnt vmcnt(0)
	v_ashrrev_i32_e32 v1, 31, v0
	v_lshlrev_b64 v[6:7], 2, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s4, v6
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v7, vcc_lo
	global_load_b64 v[0:1], v[0:1], off
	s_waitcnt vmcnt(0)
	v_cmp_lt_i32_e32 vcc_lo, v0, v1
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB0_16
; %bb.2:                                ; %.lr.ph
	s_clause 0x2
	s_load_b128 s[8:11], s[0:1], 0x40
	s_load_b128 s[12:15], s[0:1], 0x28
	s_load_b64 s[2:3], s[0:1], 0x50
	v_dual_mov_b32 v2, 1 :: v_dual_mov_b32 v3, 0
	v_mov_b32_e32 v8, v0
	s_mov_b32 s1, 0
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v4, vcc_lo, s8, v6
	v_add_co_ci_u32_e32 v5, vcc_lo, s9, v7, vcc_lo
	v_add_co_u32 v6, vcc_lo, s10, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, s11, v7, vcc_lo
.LBB0_3:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	v_ashrrev_i32_e32 v9, 31, v8
	s_mov_b32 s0, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[9:10], 2, v[8:9]
	v_add_co_u32 v9, vcc_lo, s6, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v10, vcc_lo, s7, v10, vcc_lo
	global_load_b32 v11, v[9:10], off
	s_waitcnt vmcnt(0)
	v_ashrrev_i32_e32 v12, 31, v11
	v_lshlrev_b64 v[12:13], 2, v[11:12]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v9, vcc_lo, s2, v12
	v_add_co_ci_u32_e32 v10, vcc_lo, s3, v13, vcc_lo
.LBB0_4:                                ; %.critedge53
                                        ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	global_atomic_cmpswap_b32 v0, v[9:10], v[2:3], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_or_b32 s0, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s0
	s_cbranch_execnz .LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_add_co_u32 v14, vcc_lo, s8, v12
	v_add_co_ci_u32_e32 v15, vcc_lo, s9, v13, vcc_lo
	flat_load_b32 v0, v[14:15] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v16, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_gt_i32_e32 vcc_lo, v0, v16
	s_and_saveexec_b32 s0, vcc_lo
	s_cbranch_execz .LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	flat_load_b32 v0, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	flat_store_b32 v[14:15], v0 dlc
	s_waitcnt_vscnt null, 0x0
.LBB0_7:                                ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_add_co_u32 v12, s0, s10, v12
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v13, s0, s11, v13, s0
	s_mov_b32 s4, 0
	flat_load_b32 v0, v[12:13] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v14, v[6:7] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_ge_i32_e64 s0, v0, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_saveexec_b32 s5, s0
	s_xor_b32 s0, exec_lo, s5
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	s_and_b32 s4, vcc_lo, exec_lo
                                        ; implicit-def: $vgpr12_vgpr13
; %bb.9:                                ; %Flow
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_and_not1_saveexec_b32 s0, s0
	s_cbranch_execz .LBB0_11
; %bb.10:                               ; %.critedge
                                        ;   in Loop: Header=BB0_3 Depth=1
	flat_load_b32 v0, v[6:7] glc dlc
	s_waitcnt vmcnt(0)
	s_or_b32 s4, s4, exec_lo
	s_waitcnt lgkmcnt(0)
	flat_store_b32 v[12:13], v0 dlc
	s_waitcnt_vscnt null, 0x0
.LBB0_11:                               ; %Flow83
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	s_and_saveexec_b32 s0, s4
	s_cbranch_execz .LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	s_mov_b32 s5, exec_lo
	s_mov_b32 s4, exec_lo
	v_mbcnt_lo_u32_b32 v0, s5, 0
                                        ; implicit-def: $vgpr12
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	s_bcnt1_i32_b32 s5, s5
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mov_b32_e32 v12, s5
	global_atomic_add_u32 v12, v3, v12, s[14:15] glc
.LBB0_14:                               ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s4
	s_waitcnt vmcnt(0)
	v_readfirstlane_b32 s4, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v12, s4, v0
	v_ashrrev_i32_e32 v13, 31, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[12:13], 2, v[12:13]
	v_add_co_u32 v12, vcc_lo, s12, v12
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v13, vcc_lo, s13, v13, vcc_lo
	flat_store_b32 v[12:13], v11 dlc
	s_waitcnt_vscnt null, 0x0
.LBB0_15:                               ; %Flow84
                                        ;   in Loop: Header=BB0_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_add_nc_u32_e32 v8, 1, v8
	flat_store_b32 v[9:10], v3 dlc
	s_waitcnt_vscnt null, 0x0
	v_cmp_ge_i32_e32 vcc_lo, v8, v1
	s_or_b32 s1, vcc_lo, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s1
	s_cbranch_execnz .LBB0_3
.LBB0_16:                               ; %.loopexit
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 344
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 17
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_, .Lfunc_end0-_Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 708
; NumSgprs: 18
; NumVgprs: 17
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 17
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_ ; -- Begin function _Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.globl	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
	.p2align	8
	.type	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_,@function
_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_:       ; @_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
; %bb.0:
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x0
	s_load_b32 s2, s[0:1], 0x64
	s_waitcnt lgkmcnt(0)
	s_load_b32 s3, s[10:11], 0x0
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s3, v1
	s_cbranch_execz .LBB1_20
; %bb.1:
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	v_add_co_u32 v0, vcc_lo, s8, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v1, vcc_lo
	global_load_b32 v0, v[0:1], off
	s_waitcnt vmcnt(0)
	v_ashrrev_i32_e32 v1, 31, v0
	v_lshlrev_b64 v[6:7], 2, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s4, v6
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v7, vcc_lo
	global_load_b64 v[0:1], v[0:1], off
	s_waitcnt vmcnt(0)
	v_cmp_lt_i32_e32 vcc_lo, v0, v1
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB1_20
; %bb.2:                                ; %.lr.ph
	s_clause 0x1
	s_load_b256 s[8:15], s[0:1], 0x28
	s_load_b128 s[16:19], s[0:1], 0x48
	v_dual_mov_b32 v2, 1 :: v_dual_mov_b32 v3, 0
	v_mov_b32_e32 v8, v0
	s_mov_b32 s1, 0
                                        ; implicit-def: $vgpr10_vgpr11
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v4, vcc_lo, s14, v6
	v_add_co_ci_u32_e32 v5, vcc_lo, s15, v7, vcc_lo
	v_add_co_u32 v6, vcc_lo, s16, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, s17, v7, vcc_lo
.LBB1_3:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB1_4 Depth 2
	v_ashrrev_i32_e32 v9, 31, v8
	s_mov_b32 s0, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[12:13], 2, v[8:9]
	v_add_co_u32 v12, vcc_lo, s6, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v13, vcc_lo, s7, v13, vcc_lo
	global_load_b32 v14, v[12:13], off
	s_waitcnt vmcnt(0)
	v_ashrrev_i32_e32 v15, 31, v14
	v_lshlrev_b64 v[15:16], 2, v[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v12, vcc_lo, s18, v15
	v_add_co_ci_u32_e32 v13, vcc_lo, s19, v16, vcc_lo
.LBB1_4:                                ; %.critedge67
                                        ;   Parent Loop BB1_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	global_atomic_cmpswap_b32 v0, v[12:13], v[2:3], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_or_b32 s0, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s0
	s_cbranch_execnz .LBB1_4
; %bb.5:                                ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_add_co_u32 v17, vcc_lo, s14, v15
	v_add_co_ci_u32_e32 v18, vcc_lo, s15, v16, vcc_lo
	s_mov_b32 s0, 0
	s_mov_b32 s2, 0
	s_mov_b32 s3, exec_lo
	flat_load_b32 v0, v[17:18] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_ne_u32_e64 s20, 0, v0
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB1_7
; %bb.6:                                ;   in Loop: Header=BB1_3 Depth=1
	v_add_co_u32 v10, vcc_lo, s16, v15
	v_add_co_ci_u32_e32 v11, vcc_lo, s17, v16, vcc_lo
	s_and_not1_b32 s4, s20, exec_lo
	s_mov_b32 s2, exec_lo
	flat_load_b32 v0, v[10:11] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, 0, v0
	s_and_b32 s5, vcc_lo, exec_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 s20, s4, s5
.LBB1_7:                                ; %Flow102
                                        ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s3
                                        ; implicit-def: $sgpr3
                                        ; implicit-def: $sgpr4
                                        ; implicit-def: $vgpr19_vgpr20
	s_delay_alu instid0(VALU_DEP_2)
	s_and_saveexec_b32 s5, s20
	s_cbranch_execz .LBB1_11
; %bb.8:                                ;   in Loop: Header=BB1_3 Depth=1
	flat_load_b32 v0, v[17:18] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v9, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_gt_i32_e32 vcc_lo, v0, v9
	s_and_saveexec_b32 s0, vcc_lo
	s_cbranch_execz .LBB1_10
; %bb.9:                                ;   in Loop: Header=BB1_3 Depth=1
	flat_load_b32 v0, v[4:5] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	flat_store_b32 v[17:18], v0 dlc
	s_waitcnt_vscnt null, 0x0
.LBB1_10:                               ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_add_co_u32 v19, s0, s16, v15
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v20, s0, s17, v16, s0
	s_mov_b32 s4, -1
	s_and_b32 s3, vcc_lo, exec_lo
	s_and_not1_b32 s2, s2, exec_lo
	flat_load_b32 v0, v[19:20] glc dlc
	s_waitcnt vmcnt(0)
	flat_load_b32 v9, v[6:7] glc dlc
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_lt_i32_e64 s0, v0, v9
	s_delay_alu instid0(VALU_DEP_1)
	s_and_b32 s0, s0, exec_lo
.LBB1_11:                               ; %Flow103
                                        ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s5
	s_and_saveexec_b32 s5, s2
	s_cbranch_execz .LBB1_13
; %bb.12:                               ;   in Loop: Header=BB1_3 Depth=1
	flat_load_b32 v0, v[4:5] glc dlc
	s_waitcnt vmcnt(0)
	v_dual_mov_b32 v20, v11 :: v_dual_mov_b32 v19, v10
	s_and_not1_b32 s4, s4, exec_lo
	s_and_not1_b32 s3, s3, exec_lo
	s_or_b32 s0, s0, exec_lo
	s_waitcnt lgkmcnt(0)
	flat_store_b32 v[17:18], v0 dlc
	s_waitcnt_vscnt null, 0x0
.LBB1_13:                               ; %Flow104
                                        ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s5
	s_and_saveexec_b32 s2, s0
	s_cbranch_execz .LBB1_15
; %bb.14:                               ; %.sink.split
                                        ;   in Loop: Header=BB1_3 Depth=1
	flat_load_b32 v0, v[6:7] glc dlc
	s_waitcnt vmcnt(0)
	s_and_not1_b32 s0, s3, exec_lo
	s_and_b32 s3, s4, exec_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 s3, s0, s3
	s_waitcnt lgkmcnt(0)
	flat_store_b32 v[19:20], v0 dlc
	s_waitcnt_vscnt null, 0x0
.LBB1_15:                               ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s2
	v_add_co_u32 v15, vcc_lo, s12, v15
	v_add_co_ci_u32_e32 v16, vcc_lo, s13, v16, vcc_lo
	global_load_b32 v0, v[15:16], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e32 vcc_lo, 0, v0
	s_or_b32 s2, s3, vcc_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s0, s2
	s_cbranch_execz .LBB1_19
; %bb.16:                               ;   in Loop: Header=BB1_3 Depth=1
	s_mov_b32 s2, exec_lo
	s_mov_b32 s3, exec_lo
	v_mbcnt_lo_u32_b32 v0, s2, 0
	global_store_b32 v[15:16], v3, off
                                        ; implicit-def: $vgpr9
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB1_18
; %bb.17:                               ;   in Loop: Header=BB1_3 Depth=1
	s_bcnt1_i32_b32 s2, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mov_b32_e32 v9, s2
	global_atomic_add_u32 v9, v3, v9, s[10:11] glc
.LBB1_18:                               ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s3
	s_waitcnt vmcnt(0)
	v_readfirstlane_b32 s2, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v15, s2, v0
	v_ashrrev_i32_e32 v16, 31, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[15:16], 2, v[15:16]
	v_add_co_u32 v15, vcc_lo, s8, v15
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v16, vcc_lo, s9, v16, vcc_lo
	flat_store_b32 v[15:16], v14 dlc
	s_waitcnt_vscnt null, 0x0
.LBB1_19:                               ; %Flow
                                        ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_add_nc_u32_e32 v8, 1, v8
	flat_store_b32 v[12:13], v3 dlc
	s_waitcnt_vscnt null, 0x0
	v_cmp_ge_i32_e32 vcc_lo, v8, v1
	s_or_b32 s1, vcc_lo, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s1
	s_cbranch_execnz .LBB1_3
.LBB1_20:                               ; %.loopexit
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 344
		.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 21
		.amdhsa_next_free_sgpr 21
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_, .Lfunc_end1-_Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 920
; NumSgprs: 23
; NumVgprs: 21
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 23
; NumVGPRsForWavesPerEU: 21
; 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
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         36
        .size:           4
        .value_kind:     by_value
      - .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:           4
        .value_kind:     hidden_block_count_x
      - .offset:         92
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         100
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         102
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         104
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         106
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         108
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         110
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         128
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         152
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 344
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z4BFS2PiS_S_S_iiPViS_S_S1_S1_S1_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     17
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         36
        .size:           4
        .value_kind:     by_value
      - .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:           4
        .value_kind:     hidden_block_count_x
      - .offset:         92
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         100
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         102
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         104
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         106
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         108
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         110
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         128
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         152
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 344
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_
    .private_segment_fixed_size: 0
    .sgpr_count:     23
    .sgpr_spill_count: 0
    .symbol:         _Z3BFSPiS_S_S_iiPViS_S_S1_S1_S1_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     21
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
