#include<bits/stdc++.h>
#include<cuda.h>
using namespace std;

// A structure that stores the flow along a directed edge
struct edge{
	int u, v, c, f;
};

// finds augmenting path using Breadth first search
__global__ void find_augmenting_path(edge *d_edges, int m, int *prefix_deg, 
									 int *in_queue, int *adj, int *vis, int *par, 
									 int *current_flow, int *progress){

	int id = blockIdx.x * blockDim.x + threadIdx.x;
	if(id < m){
		int u = d_edges[id].u, v = d_edges[id].v, c = d_edges[id].c, f = d_edges[id].f;
		// checking if u is in queue and if forward arc uv exists in the residual graph
		if(in_queue[u] && !vis[v] && f < c && atomicCAS(par+v, -1, id) == -1){
			vis[v] = 1;
			current_flow[v] = min(current_flow[u], c - f);
			atomicAdd(progress, 1);
		}
		// checking if v is in queue and if reverse arc vu exists in the residual graph
		if(in_queue[v] && !vis[u] && f && atomicCAS(par+u, -1, id) == -1){
			vis[u] = 1;
			current_flow[u] = min(current_flow[v], f);
			atomicAdd(progress, 1);
		}
	}
}

// adds the vertices to be scanned in next iteration
__global__ void add_to_queue(int n, int *in_queue, int *vis){
	int id = blockIdx.x * blockDim.x + threadIdx.x;
	if(id < n){
		if(vis[id] == 1)
			in_queue[id] = 1;
		else
			in_queue[id] = 0;
	}
}

// removes the vertices that were scanned in the previous iteration
__global__ void remove_from_queue(int n, int *in_queue, int *vis){
	int id = blockIdx.x * blockDim.x + threadIdx.x;
	if(id < n){
		if(in_queue[id] == 1)
			vis[id] = 2;
	}
}

// augments along the path found by find_augmenting_path
__global__ void augment(edge* d_edges, int* par, int t, int flow){
	int cur = t;
	while(cur){
		int idx = par[cur];
		int u = d_edges[idx].u, v = d_edges[idx].v;
		if(cur == u){
			d_edges[idx].f -= flow;
			cur = v;
		}
		else{
			d_edges[idx].f += flow;
			cur = u;
		}
	}
}

int main(int argc, char* argv[]){
	auto clk=clock();
	
	if(argc < 2){
		cout<<"Enter file name"<<endl;
		return 0;
	}

	int n, m, INF = 1000000000, ONE = 1;
	edge *edges, *d_edges;
	int *vis, *par, *current_flow, *in_queue, *progress, *adj, *d_adj, *prefix_deg, *d_prefix_deg;

	ifstream fin(argv[1]);
	fin >> n >> m;
	vector<int> deg(n);
	vector<vector<int>> edge_idx(n);
	edges = new edge[m];
	
	for(int i = 0; i < m; i++){
		fin >> edges[i].u >> edges[i].v >> edges[i].c;
		edges[i].u--;
		edges[i].v--;
		deg[edges[i].u]++;
		deg[edges[i].v]++;
		edge_idx[edges[i].u].push_back(i);
		edge_idx[edges[i].v].push_back(i);
		edges[i].f = 0;
	}	

	prefix_deg = (int*) malloc((n + 1) * sizeof(int));
	prefix_deg[0] = 0;
	for(int i = 1; i <= n; i++){
		prefix_deg[i] = prefix_deg[i-1] + deg[i-1];
	}
	
	adj = (int*) malloc(2 * m * sizeof(int));
	for(int i = 0, c = 0; i < n ; i++){
		for(int j = 0; j < edge_idx[i].size(); j++, c++){
			adj[c] = edge_idx[i][j];
		}
	}

	cudaMalloc(&d_prefix_deg, (n + 1) * sizeof(int));
	cudaMalloc(&d_adj, 2 * m * sizeof(int));
	cudaMalloc(&d_edges, m * sizeof(edge));
	cudaMalloc(&vis, n * sizeof(int));
	cudaMalloc(&par, n * sizeof(int));
	cudaMalloc(&in_queue, n * sizeof(int));
	cudaMalloc(&current_flow, n * sizeof(int));
	cudaMalloc(&progress, sizeof(int));

	cudaMemcpy(d_prefix_deg, prefix_deg, (n + 1) * sizeof(int), cudaMemcpyHostToDevice);
	cudaMemcpy(d_adj, adj, 2 * m * sizeof(int), cudaMemcpyHostToDevice);
	cudaMemcpy(d_edges, edges, m * sizeof(edge), cudaMemcpyHostToDevice);

	int threads = 1024;
	int m_blocks = ceil((float)m/threads);
	int n_blocks = ceil((float)n/threads);
	int total_flow = 0;

	while(true){

		cudaMemset(vis, 0, n * sizeof(int));
		cudaMemset(par, -1, n * sizeof(int));
		cudaMemset(current_flow, 0, n * sizeof(int));
		cudaMemset(in_queue, 0, n * sizeof(int));

		cudaMemcpy(in_queue, &ONE, sizeof(int), cudaMemcpyHostToDevice);
		cudaMemcpy(vis, &ONE, sizeof(int), cudaMemcpyHostToDevice);
		cudaMemcpy(current_flow, &INF, sizeof(int), cudaMemcpyHostToDevice);

		int prog, t_reachable, cur_flow;

		// find augmenting path in parallel fashion
		// break when there is no new vertex that is scanned
		do{
			cudaMemset(progress, 0, sizeof(int));
			find_augmenting_path<<<m_blocks,threads>>>(d_edges, m, d_prefix_deg, in_queue, d_adj, 
														vis, par, current_flow, progress);
			cudaMemcpy(&prog, progress, sizeof(int), cudaMemcpyDeviceToHost);
			remove_from_queue<<<n_blocks, threads>>>(n, in_queue, vis);
			add_to_queue<<<n_blocks, threads>>>(n, in_queue, vis);
		
		}while(prog);
		
		cudaMemcpy(&t_reachable, vis + n - 1, sizeof(int), cudaMemcpyDeviceToHost);
		cudaMemcpy(&cur_flow, current_flow + n - 1, sizeof(int), cudaMemcpyDeviceToHost);

		if(!t_reachable){
			assert(!cur_flow);
			break;
		}

		augment<<<1,1>>>(d_edges, par, n-1 , cur_flow);
		total_flow += cur_flow;
	}

	double t_elapsed = (double)(clock()-clk)/CLOCKS_PER_SEC;
	printf("|V|:%d |E|:%d Flow:%d\nTime:%f\n", n, m, total_flow, t_elapsed);	
}

	.file	"tmpxft_0034e1f1_00000000-6_edmond_karp.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB10828:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE10828:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0, @function
_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0:
.LFB12763:
	.cfi_startproc
	jmp	cudaMalloc@PLT
	.cfi_endproc
.LFE12763:
	.size	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0, .-_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	.globl	_Z65__device_stub__Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_P4edgeiPiS1_S1_S1_S1_S1_S1_
	.type	_Z65__device_stub__Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_P4edgeiPiS1_S1_S1_S1_S1_S1_, @function
_Z65__device_stub__Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_P4edgeiPiS1_S1_S1_S1_S1_S1_:
.LFB10850:
	.cfi_startproc
	endbr64
	subq	$232, %rsp
	.cfi_def_cfa_offset 240
	movq	240(%rsp), %rax
	movq	%rdi, 72(%rsp)
	leaq	96(%rsp), %rdi
	movl	%esi, 68(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 24(%rsp)
	movq	248(%rsp), %rax
	movq	%rdx, 56(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 16(%rsp)
	movq	256(%rsp), %rax
	movq	%rcx, 48(%rsp)
	leaq	88(%rsp), %rcx
	movq	%r8, 40(%rsp)
	movq	%r9, 32(%rsp)
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 216(%rsp)
	xorl	%eax, %eax
	leaq	72(%rsp), %rax
	movl	$1, 104(%rsp)
	movq	%rax, 144(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 208(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L3
	pushq	88(%rsp)
	.cfi_def_cfa_offset 248
	leaq	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 256
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 248
	popq	%rdx
	.cfi_def_cfa_offset 240
.L3:
	movq	216(%rsp), %rax
	subq	%fs:40, %rax
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	addq	$232, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10850:
	.size	_Z65__device_stub__Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_P4edgeiPiS1_S1_S1_S1_S1_S1_, .-_Z65__device_stub__Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_P4edgeiPiS1_S1_S1_S1_S1_S1_
	.globl	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.type	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_, @function
_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_:
.LFB10851:
	.cfi_startproc
	endbr64
	jmp	_Z65__device_stub__Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_P4edgeiPiS1_S1_S1_S1_S1_S1_
	.cfi_endproc
.LFE10851:
	.size	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_, .-_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.globl	_Z35__device_stub__Z12add_to_queueiPiS_iPiS_
	.type	_Z35__device_stub__Z12add_to_queueiPiS_iPiS_, @function
_Z35__device_stub__Z12add_to_queueiPiS_iPiS_:
.LFB10852:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movl	%edi, 28(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L9
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z12add_to_queueiPiS_(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L9:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10852:
	.size	_Z35__device_stub__Z12add_to_queueiPiS_iPiS_, .-_Z35__device_stub__Z12add_to_queueiPiS_iPiS_
	.globl	_Z12add_to_queueiPiS_
	.type	_Z12add_to_queueiPiS_, @function
_Z12add_to_queueiPiS_:
.LFB10853:
	.cfi_startproc
	endbr64
	jmp	_Z35__device_stub__Z12add_to_queueiPiS_iPiS_
	.cfi_endproc
.LFE10853:
	.size	_Z12add_to_queueiPiS_, .-_Z12add_to_queueiPiS_
	.globl	_Z40__device_stub__Z17remove_from_queueiPiS_iPiS_
	.type	_Z40__device_stub__Z17remove_from_queueiPiS_iPiS_, @function
_Z40__device_stub__Z17remove_from_queueiPiS_iPiS_:
.LFB10854:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movl	%edi, 28(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L14
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z17remove_from_queueiPiS_(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L14:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10854:
	.size	_Z40__device_stub__Z17remove_from_queueiPiS_iPiS_, .-_Z40__device_stub__Z17remove_from_queueiPiS_iPiS_
	.globl	_Z17remove_from_queueiPiS_
	.type	_Z17remove_from_queueiPiS_, @function
_Z17remove_from_queueiPiS_:
.LFB10855:
	.cfi_startproc
	endbr64
	jmp	_Z40__device_stub__Z17remove_from_queueiPiS_iPiS_
	.cfi_endproc
.LFE10855:
	.size	_Z17remove_from_queueiPiS_, .-_Z17remove_from_queueiPiS_
	.globl	_Z34__device_stub__Z7augmentP4edgePiiiP4edgePiii
	.type	_Z34__device_stub__Z7augmentP4edgePiiiP4edgePiii, @function
_Z34__device_stub__Z7augmentP4edgePiiiP4edgePiii:
.LFB10856:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movl	%ecx, 8(%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L19
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z7augmentP4edgePiii(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 176
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	120(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L19:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10856:
	.size	_Z34__device_stub__Z7augmentP4edgePiiiP4edgePiii, .-_Z34__device_stub__Z7augmentP4edgePiiiP4edgePiii
	.globl	_Z7augmentP4edgePiii
	.type	_Z7augmentP4edgePiii, @function
_Z7augmentP4edgePiii:
.LFB10857:
	.cfi_startproc
	endbr64
	jmp	_Z34__device_stub__Z7augmentP4edgePiiiP4edgePiii
	.cfi_endproc
.LFE10857:
	.size	_Z7augmentP4edgePiii, .-_Z7augmentP4edgePiii
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z7augmentP4edgePiii"
.LC1:
	.string	"_Z17remove_from_queueiPiS_"
.LC2:
	.string	"_Z12add_to_queueiPiS_"
.LC3:
	.string	"_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB10859:
	.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	_Z7augmentP4edgePiii(%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	_Z17remove_from_queueiPiS_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC2(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z12add_to_queueiPiS_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC3(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_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
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE10859:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.rodata._ZNSt6vectorIiSaIiEEC2EmRKS0_.str1.1,"aMS",@progbits,1
.LC4:
	.string	"cannot create std::vector larger than max_size()"
	.section	.text._ZNSt6vectorIiSaIiEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC5EmRKS0_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.type	_ZNSt6vectorIiSaIiEEC2EmRKS0_, @function
_ZNSt6vectorIiSaIiEEC2EmRKS0_:
.LFB11555:
	.cfi_startproc
	endbr64
	movabsq	$2305843009213693951, %rax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmpq	%rsi, %rax
	jnb	.L27
	leaq	.LC4(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L27:
	movq	%rsi, %rbp
	xorl	%esi, %esi
	movq	%rdi, %rbx
	xorl	%eax, %eax
	movq	%rsi, (%rdi)
	leaq	0(,%rbp,4), %r12
	movq	%rsi, 8(%rdi)
	movq	%rsi, 16(%rdi)
	testq	%rbp, %rbp
	je	.L28
	movq	%r12, %rdi
	call	_Znwm@PLT
.L28:
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	movq	%r12, 16(%rbx)
	testq	%rbp, %rbp
	je	.L29
	xorl	%ecx, %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	decq	%rbp
	je	.L29
.L30:
	cmpq	%rax, %r12
	je	.L29
	xorl	%edx, %edx
	addq	$4, %rax
	movl	%edx, -4(%rax)
	jmp	.L30
.L29:
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11555:
	.size	_ZNSt6vectorIiSaIiEEC2EmRKS0_, .-_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.weak	_ZNSt6vectorIiSaIiEEC1EmRKS0_
	.set	_ZNSt6vectorIiSaIiEEC1EmRKS0_,_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.section	.text._ZNSt6vectorIiSaIiEED2Ev,"axG",@progbits,_ZNSt6vectorIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEED2Ev
	.type	_ZNSt6vectorIiSaIiEED2Ev, @function
_ZNSt6vectorIiSaIiEED2Ev:
.LFB11558:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L41
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L41:
	ret
	.cfi_endproc
.LFE11558:
	.size	_ZNSt6vectorIiSaIiEED2Ev, .-_ZNSt6vectorIiSaIiEED2Ev
	.weak	_ZNSt6vectorIiSaIiEED1Ev
	.set	_ZNSt6vectorIiSaIiEED1Ev,_ZNSt6vectorIiSaIiEED2Ev
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, @function
_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev:
.LFB11570:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rbp
.L44:
	cmpq	%rbp, %r12
	je	.L48
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L44
.L48:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L43
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L43:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11570:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev,_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.section	.rodata._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_.str1.1,"aMS",@progbits,1
.LC5:
	.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_:
.LFB12047:
	.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	.L50
	leaq	.LC5(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L50:
	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	.L60
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L55
	movabsq	$2305843009213693951, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L54
.L60:
	movq	%rcx, %rbx
.L54:
	leaq	0(,%rbx,4), %rdi
	movq	%rdx, 8(%rsp)
	call	_Znwm@PLT
	movq	8(%rsp), %rdx
	movq	%rax, %r12
.L55:
	movl	(%rdx), %eax
	movl	%eax, (%r12,%r15)
	testq	%r15, %r15
	jle	.L56
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	call	memmove@PLT
.L56:
	movq	(%rsp), %rax
	leaq	4(%r12,%r15), %rdx
	subq	%rbp, %rax
	testq	%rax, %rax
	jle	.L57
	movq	%rdx, %rdi
	movq	%rbp, %rsi
	movq	%rax, %rcx
	rep movsb
.L57:
	leaq	(%rdx,%rax), %rbp
	testq	%r14, %r14
	je	.L58
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L58:
	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
.LFE12047:
	.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:
.LFB11574:
	.cfi_startproc
	endbr64
	movq	%rsi, %rdx
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.L68
	movl	(%rdx), %eax
	addq	$4, %rsi
	movl	%eax, -4(%rsi)
	movq	%rsi, 8(%rdi)
	ret
.L68:
	jmp	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_endproc
.LFE11574:
	.size	_ZNSt6vectorIiSaIiEE9push_backERKi, .-_ZNSt6vectorIiSaIiEE9push_backERKi
	.section	.rodata.str1.1
.LC6:
	.string	"Enter file name"
.LC9:
	.string	"|V|:%d |E|:%d Flow:%d\nTime:%f\n"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB10825:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA10825
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	movl	%edi, %r14d
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$760, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	clock@PLT
	decl	%r14d
	movq	%rax, %r13
	jg	.L72
	leaq	.LC6(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
.LEHB0:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	call	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@PLT
	jmp	.L73
.L72:
	leaq	-576(%rbp), %rax
	movq	8(%rbx), %rsi
	movl	$8, %edx
	movl	$1000000000, -732(%rbp)
	movq	%rax, %rdi
	movq	%rax, -768(%rbp)
	movl	$1, -728(%rbp)
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE0:
	movq	-768(%rbp), %rdi
	leaq	-740(%rbp), %rsi
.LEHB1:
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	leaq	-736(%rbp), %rsi
	call	_ZNSirsERi@PLT
	leaq	-600(%rbp), %rax
	movslq	-740(%rbp), %rsi
	leaq	-624(%rbp), %rdi
	movq	%rax, %rdx
	movq	%rax, -784(%rbp)
	call	_ZNSt6vectorIiSaIiEEC1EmRKS0_
.LEHE1:
	movslq	-740(%rbp), %rbx
	movabsq	$384307168202282325, %rax
	cmpq	%rbx, %rax
	jnb	.L74
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L107
	leaq	.LC4(%rip), %rdi
.LEHB2:
	call	_ZSt20__throw_length_errorPKc@PLT
.L74:
	xorl	%r10d, %r10d
	imulq	$24, %rbx, %r12
	movq	%r10, -600(%rbp)
	movq	%r10, -592(%rbp)
	movq	%r10, -584(%rbp)
	testq	%rbx, %rbx
	je	.L101
	movq	%r12, %rdi
	call	_Znwm@PLT
.LEHE2:
	movq	%rax, -760(%rbp)
	jmp	.L76
.L101:
	xorl	%r9d, %r9d
	movq	%r9, -760(%rbp)
.L76:
	movq	-760(%rbp), %rax
	addq	%rax, %r12
	movq	%rax, -600(%rbp)
	movq	%r12, -584(%rbp)
.L77:
	testq	%rbx, %rbx
	je	.L110
	xorl	%r8d, %r8d
	decq	%rbx
	addq	$24, %rax
	movq	%r8, -24(%rax)
	movq	%r8, -16(%rax)
	movq	%r8, -8(%rax)
	jmp	.L77
.L110:
	movslq	-736(%rbp), %rdi
	movq	%r12, -592(%rbp)
	movabsq	$576460752303423487, %rax
	cmpq	%rdi, %rax
	jb	.L79
	salq	$4, %rdi
.LEHB3:
	call	_Znam@PLT
	movq	%rax, %r14
	xorl	%r12d, %r12d
	leaq	-636(%rbp), %r15
	jmp	.L80
.L79:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L107
	call	__cxa_throw_bad_array_new_length@PLT
.L82:
	movslq	%r12d, %rbx
	movq	-768(%rbp), %rdi
	salq	$4, %rbx
	addq	%r14, %rbx
	movq	%rbx, %rsi
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	leaq	4(%rbx), %rsi
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	leaq	8(%rbx), %rsi
	call	_ZNSirsERi@PLT
	movl	(%rbx), %eax
	movq	-624(%rbp), %rdx
	movq	%r15, %rsi
	decl	4(%rbx)
	decl	%eax
	movl	%eax, (%rbx)
	cltq
	incl	(%rdx,%rax,4)
	movslq	4(%rbx), %rax
	incl	(%rdx,%rax,4)
	movslq	(%rbx), %rdi
	movq	-760(%rbp), %rax
	imulq	$24, %rdi, %rdi
	addq	%rax, %rdi
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	movslq	4(%rbx), %rdi
	movq	-760(%rbp), %rax
	movq	%r15, %rsi
	imulq	$24, %rdi, %rdi
	addq	%rax, %rdi
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	xorl	%edi, %edi
	incl	%r12d
	movl	%edi, 12(%rbx)
.L80:
	movl	-736(%rbp), %edx
	movl	%r12d, -636(%rbp)
	cmpl	%r12d, %edx
	jg	.L82
	movl	-740(%rbp), %r15d
	movl	%edx, -788(%rbp)
	leal	1(%r15), %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	movq	%rax, -776(%rbp)
	call	malloc@PLT
	xorl	%esi, %esi
	movl	-788(%rbp), %edx
	movl	%esi, (%rax)
	movq	-624(%rbp), %rsi
	movq	%rax, %rbx
	xorl	%eax, %eax
.L83:
	incq	%rax
	cmpl	%eax, %r15d
	jl	.L111
	movl	-4(%rsi,%rax,4), %ecx
	addl	-4(%rbx,%rax,4), %ecx
	movl	%ecx, (%rbx,%rax,4)
	jmp	.L83
.L111:
	leal	(%rdx,%rdx), %edi
	movslq	%edi, %rdi
	salq	$2, %rdi
	call	malloc@PLT
	movq	-760(%rbp), %r10
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	movq	%rax, %r12
.L85:
	cmpl	%esi, %r15d
	jle	.L87
	movq	8(%r10), %rax
	movq	(%r10), %rdi
	movslq	%ecx, %rdx
	leaq	(%r12,%rdx,4), %r8
	xorl	%edx, %edx
	movq	%rax, -760(%rbp)
	subq	%rdi, %rax
	sarq	$2, %rax
.L88:
	cmpq	%rdx, %rax
	je	.L112
	movl	(%rdi,%rdx,4), %r9d
	movl	%r9d, (%r8,%rdx,4)
	incq	%rdx
	jmp	.L88
.L112:
	addl	%eax, %ecx
	movq	%r10, %rax
	incl	%esi
	addq	$24, %rax
	movq	%rax, %r10
	jmp	.L85
.L87:
	movq	-776(%rbp), %rsi
	leaq	-656(%rbp), %rdi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movl	-736(%rbp), %eax
	leaq	-664(%rbp), %rdi
	leal	(%rax,%rax), %esi
	movslq	%esi, %rsi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-736(%rbp), %rsi
	leaq	-712(%rbp), %rdi
	salq	$4, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-740(%rbp), %rsi
	leaq	-704(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-740(%rbp), %rsi
	leaq	-696(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-740(%rbp), %rsi
	leaq	-680(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movslq	-740(%rbp), %rsi
	leaq	-688(%rbp), %rdi
	salq	$2, %rsi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	leaq	-672(%rbp), %rdi
	movl	$4, %esi
	call	_Z10cudaMallocIiE9cudaErrorPPT_m.isra.0
	movl	-740(%rbp), %eax
	movq	-656(%rbp), %rdi
	movl	$1, %ecx
	movq	%rbx, %rsi
	leal	1(%rax), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	-736(%rbp), %eax
	movq	-664(%rbp), %rdi
	movl	$1, %ecx
	movq	%r12, %rsi
	leal	(%rax,%rax), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-736(%rbp), %rdx
	movq	-712(%rbp), %rdi
	movl	$1, %ecx
	movq	%r14, %rsi
	salq	$4, %rdx
	call	cudaMemcpy@PLT
	cvtsi2ssl	-736(%rbp), %xmm0
	mulss	.LC7(%rip), %xmm0
	movl	$4194305, %ebx
	salq	$10, %rbx
	call	ceilf@PLT
	cvttss2sil	%xmm0, %r15d
	cvtsi2ssl	-740(%rbp), %xmm0
	mulss	.LC7(%rip), %xmm0
	call	ceilf@PLT
	xorl	%ecx, %ecx
	cvttss2sil	%xmm0, %r12d
	movl	%ecx, -760(%rbp)
.L95:
	movslq	-740(%rbp), %rdx
	movq	-704(%rbp), %rdi
	xorl	%esi, %esi
	salq	$2, %rdx
	call	cudaMemset@PLT
	movslq	-740(%rbp), %rdx
	movq	-696(%rbp), %rdi
	orl	$-1, %esi
	salq	$2, %rdx
	call	cudaMemset@PLT
	movslq	-740(%rbp), %rdx
	movq	-688(%rbp), %rdi
	xorl	%esi, %esi
	salq	$2, %rdx
	call	cudaMemset@PLT
	movslq	-740(%rbp), %rdx
	movq	-680(%rbp), %rdi
	xorl	%esi, %esi
	salq	$2, %rdx
	call	cudaMemset@PLT
	leaq	-728(%rbp), %r14
	movl	$1, %ecx
	movl	$4, %edx
	movq	-680(%rbp), %rdi
	movq	%r14, %rsi
	call	cudaMemcpy@PLT
	movq	-704(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	movq	%r14, %rsi
	call	cudaMemcpy@PLT
	movq	-688(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	leaq	-732(%rbp), %rsi
	call	cudaMemcpy@PLT
.L92:
	movq	-672(%rbp), %rdi
	movl	$4, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movl	%r15d, -648(%rbp)
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rdx
	movabsq	$4294967297, %rax
	movl	$1, %ecx
	movq	%rbx, -636(%rbp)
	movq	%rax, -644(%rbp)
	movl	-640(%rbp), %esi
	movq	-648(%rbp), %rdi
	movl	$1, -628(%rbp)
	call	__cudaPushCallConfiguration@PLT
	movl	%eax, %edx
	movq	-672(%rbp), %rax
	testl	%edx, %edx
	jne	.L89
	pushq	%rdx
	movl	-736(%rbp), %esi
	pushq	%rax
	movq	-712(%rbp), %rdi
	pushq	-688(%rbp)
	pushq	-696(%rbp)
	movq	-704(%rbp), %r9
	movq	-664(%rbp), %r8
	movq	-680(%rbp), %rcx
	movq	-656(%rbp), %rdx
	.cfi_escape 0x2e,0x20
	call	_Z65__device_stub__Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_P4edgeiPiS1_S1_S1_S1_S1_S1_
	addq	$32, %rsp
.L89:
	movq	-672(%rbp), %rsi
	movl	$2, %ecx
	movl	$4, %edx
	leaq	-724(%rbp), %rdi
	.cfi_escape 0x2e,0
	call	cudaMemcpy@PLT
	movl	%r12d, -648(%rbp)
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rdx
	movabsq	$4294967297, %rax
	movl	$1, %ecx
	movq	%rbx, -636(%rbp)
	movq	%rax, -644(%rbp)
	movl	-640(%rbp), %esi
	movq	-648(%rbp), %rdi
	movl	$1, -628(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L90
	movq	-704(%rbp), %rdx
	movq	-680(%rbp), %rsi
	movl	-740(%rbp), %edi
	call	_Z40__device_stub__Z17remove_from_queueiPiS_iPiS_
.L90:
	movl	%r12d, -648(%rbp)
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rdx
	movabsq	$4294967297, %rax
	movl	$1, %ecx
	movq	%rbx, -636(%rbp)
	movq	%rax, -644(%rbp)
	movl	-640(%rbp), %esi
	movq	-648(%rbp), %rdi
	movl	$1, -628(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L91
	movq	-704(%rbp), %rdx
	movq	-680(%rbp), %rsi
	movl	-740(%rbp), %edi
	call	_Z35__device_stub__Z12add_to_queueiPiS_iPiS_
.L91:
	cmpl	$0, -724(%rbp)
	jne	.L92
	movslq	-740(%rbp), %rdx
	movq	-704(%rbp), %rax
	movl	$2, %ecx
	leaq	-720(%rbp), %rdi
	leaq	-4(%rax,%rdx,4), %rsi
	movl	$4, %edx
	call	cudaMemcpy@PLT
	movslq	-740(%rbp), %rdx
	movq	-688(%rbp), %rax
	movl	$2, %ecx
	leaq	-716(%rbp), %rdi
	leaq	-4(%rax,%rdx,4), %rsi
	movl	$4, %edx
	call	cudaMemcpy@PLT
	cmpl	$0, -720(%rbp)
	je	.L93
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	movl	$1, -628(%rbp)
	movq	%rdi, %rdx
	movq	%rdi, -636(%rbp)
	movq	%rdi, -648(%rbp)
	movl	$1, -640(%rbp)
	call	__cudaPushCallConfiguration@PLT
	movl	-716(%rbp), %ecx
	movl	-740(%rbp), %edx
	testl	%eax, %eax
	jne	.L94
	movq	-696(%rbp), %rsi
	movq	-712(%rbp), %rdi
	decl	%edx
	call	_Z34__device_stub__Z7augmentP4edgePiiiP4edgePiii
.L94:
	movl	-716(%rbp), %ecx
	addl	%ecx, -760(%rbp)
	jmp	.L95
.L93:
	call	clock@PLT
	movl	-736(%rbp), %ecx
	movl	-760(%rbp), %r8d
	leaq	.LC9(%rip), %rsi
	subq	%r13, %rax
	movl	-740(%rbp), %edx
	movl	$2, %edi
	cvtsi2sdq	%rax, %xmm0
	movb	$1, %al
	divsd	.LC8(%rip), %xmm0
	call	__printf_chk@PLT
.LEHE3:
	leaq	-600(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	leaq	-624(%rbp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	-576(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
.L73:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L100
	jmp	.L107
.L105:
	endbr64
	movq	%rax, %rbx
.L96:
	movq	-784(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	jmp	.L97
.L104:
	endbr64
	movq	%rax, %rbx
.L97:
	leaq	-624(%rbp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L98
.L103:
	endbr64
	movq	%rax, %rbx
.L98:
	movq	-768(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L107
	movq	%rbx, %rdi
.LEHB4:
	call	_Unwind_Resume@PLT
.LEHE4:
.L107:
	call	__stack_chk_fail@PLT
.L100:
	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
.LFE10825:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA10825:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE10825-.LLSDACSB10825
.LLSDACSB10825:
	.uleb128 .LEHB0-.LFB10825
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB10825
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L103-.LFB10825
	.uleb128 0
	.uleb128 .LEHB2-.LFB10825
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L104-.LFB10825
	.uleb128 0
	.uleb128 .LEHB3-.LFB10825
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L105-.LFB10825
	.uleb128 0
	.uleb128 .LEHB4-.LFB10825
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
.LLSDACSE10825:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC7:
	.long	981467136
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC8:
	.long	0
	.long	1093567616
	.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>
using namespace std;

// A structure that stores the flow along a directed edge
struct edge{
	int u, v, c, f;
};

// finds augmenting path using Breadth first search
__global__ void find_augmenting_path(edge *d_edges, int m, int *prefix_deg, 
									 int *in_queue, int *adj, int *vis, int *par, 
									 int *current_flow, int *progress){

	int id = blockIdx.x * blockDim.x + threadIdx.x;
	if(id < m){
		int u = d_edges[id].u, v = d_edges[id].v, c = d_edges[id].c, f = d_edges[id].f;
		// checking if u is in queue and if forward arc uv exists in the residual graph
		if(in_queue[u] && !vis[v] && f < c && atomicCAS(par+v, -1, id) == -1){
			vis[v] = 1;
			current_flow[v] = min(current_flow[u], c - f);
			atomicAdd(progress, 1);
		}
		// checking if v is in queue and if reverse arc vu exists in the residual graph
		if(in_queue[v] && !vis[u] && f && atomicCAS(par+u, -1, id) == -1){
			vis[u] = 1;
			current_flow[u] = min(current_flow[v], f);
			atomicAdd(progress, 1);
		}
	}
}

// adds the vertices to be scanned in next iteration
__global__ void add_to_queue(int n, int *in_queue, int *vis){
	int id = blockIdx.x * blockDim.x + threadIdx.x;
	if(id < n){
		if(vis[id] == 1)
			in_queue[id] = 1;
		else
			in_queue[id] = 0;
	}
}

// removes the vertices that were scanned in the previous iteration
__global__ void remove_from_queue(int n, int *in_queue, int *vis){
	int id = blockIdx.x * blockDim.x + threadIdx.x;
	if(id < n){
		if(in_queue[id] == 1)
			vis[id] = 2;
	}
}

// augments along the path found by find_augmenting_path
__global__ void augment(edge* d_edges, int* par, int t, int flow){
	int cur = t;
	while(cur){
		int idx = par[cur];
		int u = d_edges[idx].u, v = d_edges[idx].v;
		if(cur == u){
			d_edges[idx].f -= flow;
			cur = v;
		}
		else{
			d_edges[idx].f += flow;
			cur = u;
		}
	}
}

int main(int argc, char* argv[]){
	auto clk=clock();
	
	if(argc < 2){
		cout<<"Enter file name"<<endl;
		return 0;
	}

	int n, m, INF = 1000000000, ONE = 1;
	edge *edges, *d_edges;
	int *vis, *par, *current_flow, *in_queue, *progress, *adj, *d_adj, *prefix_deg, *d_prefix_deg;

	ifstream fin(argv[1]);
	fin >> n >> m;
	vector<int> deg(n);
	vector<vector<int>> edge_idx(n);
	edges = new edge[m];
	
	for(int i = 0; i < m; i++){
		fin >> edges[i].u >> edges[i].v >> edges[i].c;
		edges[i].u--;
		edges[i].v--;
		deg[edges[i].u]++;
		deg[edges[i].v]++;
		edge_idx[edges[i].u].push_back(i);
		edge_idx[edges[i].v].push_back(i);
		edges[i].f = 0;
	}	

	prefix_deg = (int*) malloc((n + 1) * sizeof(int));
	prefix_deg[0] = 0;
	for(int i = 1; i <= n; i++){
		prefix_deg[i] = prefix_deg[i-1] + deg[i-1];
	}
	
	adj = (int*) malloc(2 * m * sizeof(int));
	for(int i = 0, c = 0; i < n ; i++){
		for(int j = 0; j < edge_idx[i].size(); j++, c++){
			adj[c] = edge_idx[i][j];
		}
	}

	hipMalloc(&d_prefix_deg, (n + 1) * sizeof(int));
	hipMalloc(&d_adj, 2 * m * sizeof(int));
	hipMalloc(&d_edges, m * sizeof(edge));
	hipMalloc(&vis, n * sizeof(int));
	hipMalloc(&par, n * sizeof(int));
	hipMalloc(&in_queue, n * sizeof(int));
	hipMalloc(&current_flow, n * sizeof(int));
	hipMalloc(&progress, sizeof(int));

	hipMemcpy(d_prefix_deg, prefix_deg, (n + 1) * sizeof(int), hipMemcpyHostToDevice);
	hipMemcpy(d_adj, adj, 2 * m * sizeof(int), hipMemcpyHostToDevice);
	hipMemcpy(d_edges, edges, m * sizeof(edge), hipMemcpyHostToDevice);

	int threads = 1024;
	int m_blocks = ceil((float)m/threads);
	int n_blocks = ceil((float)n/threads);
	int total_flow = 0;

	while(true){

		hipMemset(vis, 0, n * sizeof(int));
		hipMemset(par, -1, n * sizeof(int));
		hipMemset(current_flow, 0, n * sizeof(int));
		hipMemset(in_queue, 0, n * sizeof(int));

		hipMemcpy(in_queue, &ONE, sizeof(int), hipMemcpyHostToDevice);
		hipMemcpy(vis, &ONE, sizeof(int), hipMemcpyHostToDevice);
		hipMemcpy(current_flow, &INF, sizeof(int), hipMemcpyHostToDevice);

		int prog, t_reachable, cur_flow;

		// find augmenting path in parallel fashion
		// break when there is no new vertex that is scanned
		do{
			hipMemset(progress, 0, sizeof(int));
			find_augmenting_path<<<m_blocks,threads>>>(d_edges, m, d_prefix_deg, in_queue, d_adj, 
														vis, par, current_flow, progress);
			hipMemcpy(&prog, progress, sizeof(int), hipMemcpyDeviceToHost);
			remove_from_queue<<<n_blocks, threads>>>(n, in_queue, vis);
			add_to_queue<<<n_blocks, threads>>>(n, in_queue, vis);
		
		}while(prog);
		
		hipMemcpy(&t_reachable, vis + n - 1, sizeof(int), hipMemcpyDeviceToHost);
		hipMemcpy(&cur_flow, current_flow + n - 1, sizeof(int), hipMemcpyDeviceToHost);

		if(!t_reachable){
			assert(!cur_flow);
			break;
		}

		augment<<<1,1>>>(d_edges, par, n-1 , cur_flow);
		total_flow += cur_flow;
	}

	double t_elapsed = (double)(clock()-clk)/CLOCKS_PER_SEC;
	printf("|V|:%d |E|:%d Flow:%d\nTime:%f\n", n, m, total_flow, t_elapsed);	
}

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

                                        # End of file scope inline assembly
	.globl	_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_ # -- Begin function _Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.type	_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_,@function
_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_: # @_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_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	$176, %rsp
	.cfi_def_cfa_offset 224
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	4(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	48(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	40(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	32(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	24(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	224(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	232(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$192, %rsp
	.cfi_adjust_cfa_offset -192
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_, .Lfunc_end0-_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.cfi_endproc
                                        # -- End function
	.globl	_Z27__device_stub__add_to_queueiPiS_ # -- Begin function _Z27__device_stub__add_to_queueiPiS_
	.type	_Z27__device_stub__add_to_queueiPiS_,@function
_Z27__device_stub__add_to_queueiPiS_:   # @_Z27__device_stub__add_to_queueiPiS_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	12(%rsp), %rax
	movl	%edi, (%rax)
	leaq	40(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	32(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z12add_to_queueiPiS_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z27__device_stub__add_to_queueiPiS_, .Lfunc_end1-_Z27__device_stub__add_to_queueiPiS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z32__device_stub__remove_from_queueiPiS_ # -- Begin function _Z32__device_stub__remove_from_queueiPiS_
	.type	_Z32__device_stub__remove_from_queueiPiS_,@function
_Z32__device_stub__remove_from_queueiPiS_: # @_Z32__device_stub__remove_from_queueiPiS_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	12(%rsp), %rax
	movl	%edi, (%rax)
	leaq	40(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	32(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z17remove_from_queueiPiS_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z32__device_stub__remove_from_queueiPiS_, .Lfunc_end2-_Z32__device_stub__remove_from_queueiPiS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z22__device_stub__augmentP4edgePiii # -- Begin function _Z22__device_stub__augmentP4edgePiii
	.type	_Z22__device_stub__augmentP4edgePiii,@function
_Z22__device_stub__augmentP4edgePiii:   # @_Z22__device_stub__augmentP4edgePiii
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	8(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z7augmentP4edgePiii, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z22__device_stub__augmentP4edgePiii, .Lfunc_end3-_Z22__device_stub__augmentP4edgePiii
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI4_0:
	.long	0x3a800000                      # float 9.765625E-4
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI4_1:
	.quad	0x412e848000000000              # double 1.0E+6
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$680, %rsp                      # imm = 0x2A8
	.cfi_def_cfa_offset 736
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %rbx
	movl	%edi, %ebp
	.cfi_escape 0x2e, 0x00
	callq	clock
	cmpl	$1, %ebp
	jg	.LBB4_2
# %bb.1:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str, %esi
	movl	$15, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	jmp	.LBB4_71
.LBB4_2:
	movq	%rax, %r14
	movl	$1000000000, 84(%rsp)           # imm = 0x3B9ACA00
	movl	$1, 80(%rsp)
	movq	8(%rbx), %rsi
	.cfi_escape 0x2e, 0x00
	leaq	160(%rsp), %rbx
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp0:
	.cfi_escape 0x2e, 0x00
	leaq	4(%rsp), %rsi
	movq	%rbx, %rdi
	callq	_ZNSirsERi
.Ltmp1:
# %bb.3:
.Ltmp2:
	.cfi_escape 0x2e, 0x00
	leaq	12(%rsp), %rsi
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp3:
# %bb.4:
	movslq	4(%rsp), %rsi
.Ltmp5:
	.cfi_escape 0x2e, 0x00
	leaq	136(%rsp), %rdi
	leaq	104(%rsp), %rdx
	callq	_ZNSt6vectorIiSaIiEEC2EmRKS0_
.Ltmp6:
# %bb.5:
	movq	%r14, 128(%rsp)                 # 8-byte Spill
	movslq	4(%rsp), %rsi
.Ltmp8:
	.cfi_escape 0x2e, 0x00
	leaq	104(%rsp), %rdi
	leaq	8(%rsp), %rdx
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_
.Ltmp9:
# %bb.6:
	movslq	12(%rsp), %rbp
	movq	%rbp, %rax
	shlq	$4, %rax
	testq	%rbp, %rbp
	movq	$-1, %rdi
	cmovnsq	%rax, %rdi
.Ltmp11:
	.cfi_escape 0x2e, 0x00
	callq	_Znam
.Ltmp12:
# %bb.7:
	movq	%rax, %r14
	movl	$0, 8(%rsp)
	testl	%ebp, %ebp
	jle	.LBB4_20
# %bb.8:                                # %.lr.ph.preheader
	xorl	%eax, %eax
	leaq	160(%rsp), %rbx
	leaq	8(%rsp), %r15
.LBB4_9:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movslq	%eax, %rsi
	shlq	$4, %rsi
	addq	%r14, %rsi
.Ltmp13:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_ZNSirsERi
.Ltmp14:
# %bb.10:                               #   in Loop: Header=BB4_9 Depth=1
	movslq	8(%rsp), %rcx
	shlq	$4, %rcx
	leaq	(%r14,%rcx), %rsi
	addq	$4, %rsi
.Ltmp15:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp16:
# %bb.11:                               #   in Loop: Header=BB4_9 Depth=1
	movslq	8(%rsp), %rcx
	shlq	$4, %rcx
	leaq	(%r14,%rcx), %rsi
	addq	$8, %rsi
.Ltmp17:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp18:
# %bb.12:                               #   in Loop: Header=BB4_9 Depth=1
	movslq	8(%rsp), %rax
	shlq	$4, %rax
	movslq	(%r14,%rax), %rcx
	leaq	-1(%rcx), %rdx
	movl	%edx, (%r14,%rax)
	decl	4(%r14,%rax)
	movq	136(%rsp), %rax
	incl	-4(%rax,%rcx,4)
	movslq	8(%rsp), %rcx
	shlq	$4, %rcx
	movslq	4(%r14,%rcx), %rcx
	incl	(%rax,%rcx,4)
	movslq	8(%rsp), %rcx
	movq	%rcx, %rax
	shlq	$4, %rax
	movslq	(%r14,%rax), %rdx
	movq	104(%rsp), %rax
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%rax,%rdx,8), %rdi
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB4_14
# %bb.13:                               #   in Loop: Header=BB4_9 Depth=1
	movl	%ecx, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rdi)
	jmp	.LBB4_16
.LBB4_14:                               #   in Loop: Header=BB4_9 Depth=1
.Ltmp19:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp20:
# %bb.15:                               # %._ZNSt6vectorIiSaIiEE9push_backERKi.exit_crit_edge
                                        #   in Loop: Header=BB4_9 Depth=1
	movq	104(%rsp), %rax
.LBB4_16:                               # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit
                                        #   in Loop: Header=BB4_9 Depth=1
	movslq	8(%rsp), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movslq	4(%r14,%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%rax,%rdx,8), %rdi
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB4_18
# %bb.17:                               #   in Loop: Header=BB4_9 Depth=1
	movl	%ecx, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rdi)
	jmp	.LBB4_19
.LBB4_18:                               #   in Loop: Header=BB4_9 Depth=1
.Ltmp21:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp22:
.LBB4_19:                               # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit92
                                        #   in Loop: Header=BB4_9 Depth=1
	movslq	8(%rsp), %rcx
	leal	1(%rcx), %eax
	shlq	$4, %rcx
	movl	$0, 12(%r14,%rcx)
	movl	%eax, 8(%rsp)
	movl	12(%rsp), %ebp
	cmpl	%ebp, %eax
	jl	.LBB4_9
.LBB4_20:                               # %._crit_edge
	movl	4(%rsp), %r13d
	leal	1(%r13), %r15d
	movslq	%r15d, %r12
	shlq	$2, %r12
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	callq	malloc
	movq	%rax, %rbx
	movl	$0, (%rax)
	testl	%r13d, %r13d
	jle	.LBB4_23
# %bb.21:                               # %.lr.ph142
	movq	136(%rsp), %rax
	movl	%r15d, %ecx
	decq	%rcx
	xorl	%edx, %edx
	xorl	%esi, %esi
.LBB4_22:                               # =>This Inner Loop Header: Depth=1
	addl	(%rax,%rdx,4), %esi
	movl	%esi, 4(%rbx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	.LBB4_22
.LBB4_23:                               # %._crit_edge143
	addl	%ebp, %ebp
	movslq	%ebp, %rdi
	shlq	$2, %rdi
	.cfi_escape 0x2e, 0x00
	callq	malloc
	movq	%rax, %r15
	testl	%r13d, %r13d
	jle	.LBB4_30
# %bb.24:                               # %.preheader.lr.ph
	xorl	%eax, %eax
	movq	104(%rsp), %rcx
	xorl	%edx, %edx
.LBB4_25:                               # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB4_27 Depth 2
	leaq	(%rax,%rax,2), %rdi
	movq	(%rcx,%rdi,8), %rsi
	movq	8(%rcx,%rdi,8), %rdi
	subq	%rsi, %rdi
	je	.LBB4_29
# %bb.26:                               # %.lr.ph146.preheader
                                        #   in Loop: Header=BB4_25 Depth=1
	sarq	$2, %rdi
	movslq	%edx, %r8
	cmpq	$1, %rdi
	adcq	$0, %rdi
	leaq	(%r15,%r8,4), %r9
	xorl	%r8d, %r8d
.LBB4_27:                               # %.lr.ph146
                                        #   Parent Loop BB4_25 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%rsi,%r8,4), %r10d
	movl	%r10d, (%r9,%r8,4)
	incq	%r8
	cmpq	%r8, %rdi
	jne	.LBB4_27
# %bb.28:                               # %._crit_edge147.loopexit
                                        #   in Loop: Header=BB4_25 Depth=1
	addl	%r8d, %edx
.LBB4_29:                               # %._crit_edge147
                                        #   in Loop: Header=BB4_25 Depth=1
	incq	%rax
	cmpq	%r13, %rax
	jne	.LBB4_25
.LBB4_30:                               # %._crit_edge151
.Ltmp24:
	.cfi_escape 0x2e, 0x00
	leaq	88(%rsp), %rdi
	movq	%r12, %rsi
	callq	hipMalloc
.Ltmp25:
# %bb.31:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit
	movslq	12(%rsp), %rsi
	shlq	$3, %rsi
.Ltmp26:
	.cfi_escape 0x2e, 0x00
	leaq	96(%rsp), %rdi
	callq	hipMalloc
.Ltmp27:
# %bb.32:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit95
	movslq	12(%rsp), %rsi
	shlq	$4, %rsi
.Ltmp28:
	.cfi_escape 0x2e, 0x00
	leaq	64(%rsp), %rdi
	callq	hipMalloc
.Ltmp29:
# %bb.33:                               # %_ZL9hipMallocI4edgeE10hipError_tPPT_m.exit
	movslq	4(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp30:
	.cfi_escape 0x2e, 0x00
	leaq	16(%rsp), %rdi
	callq	hipMalloc
.Ltmp31:
# %bb.34:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit98
	movslq	4(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp32:
	.cfi_escape 0x2e, 0x00
	leaq	56(%rsp), %rdi
	callq	hipMalloc
.Ltmp33:
# %bb.35:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit100
	movslq	4(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp34:
	.cfi_escape 0x2e, 0x00
	leaq	24(%rsp), %rdi
	callq	hipMalloc
.Ltmp35:
# %bb.36:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit102
	movslq	4(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp36:
	.cfi_escape 0x2e, 0x00
	leaq	40(%rsp), %rdi
	callq	hipMalloc
.Ltmp37:
# %bb.37:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit104
.Ltmp38:
	.cfi_escape 0x2e, 0x00
	leaq	48(%rsp), %rdi
	movl	$4, %esi
	callq	hipMalloc
.Ltmp39:
# %bb.38:                               # %_ZL9hipMallocIiE10hipError_tPPT_m.exit106
	movq	88(%rsp), %rdi
	movslq	4(%rsp), %rax
	leaq	4(,%rax,4), %rdx
.Ltmp40:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp41:
# %bb.39:
	movq	96(%rsp), %rdi
	movslq	12(%rsp), %rdx
	shlq	$3, %rdx
.Ltmp42:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp43:
# %bb.40:
	movq	64(%rsp), %rdi
	movslq	12(%rsp), %rdx
	shlq	$4, %rdx
.Ltmp44:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp45:
# %bb.41:
	cvtsi2ssl	12(%rsp), %xmm0
	mulss	.LCPI4_0(%rip), %xmm0
	.cfi_escape 0x2e, 0x00
	callq	ceilf@PLT
	cvttss2si	%xmm0, %r15d
	movl	4(%rsp), %r13d
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13d, %xmm0
	mulss	.LCPI4_0(%rip), %xmm0
	.cfi_escape 0x2e, 0x00
	callq	ceilf@PLT
	cvttss2si	%xmm0, %r12d
	btsq	$32, %r15
	btsq	$32, %r12
	xorl	%r14d, %r14d
	movabsq	$4294968320, %rbx               # imm = 0x100000400
	leaq	8(%rsp), %rbp
.LBB4_42:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB4_49 Depth 2
	movq	16(%rsp), %rdi
	movslq	%r13d, %rdx
	shlq	$2, %rdx
.Ltmp47:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipMemset
.Ltmp48:
	leaq	80(%rsp), %r13
# %bb.43:                               #   in Loop: Header=BB4_42 Depth=1
	movq	56(%rsp), %rdi
	movslq	4(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp49:
	.cfi_escape 0x2e, 0x00
	movl	$-1, %esi
	callq	hipMemset
.Ltmp50:
# %bb.44:                               #   in Loop: Header=BB4_42 Depth=1
	movq	40(%rsp), %rdi
	movslq	4(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp51:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipMemset
.Ltmp52:
# %bb.45:                               #   in Loop: Header=BB4_42 Depth=1
	movq	24(%rsp), %rdi
	movslq	4(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp53:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipMemset
.Ltmp54:
# %bb.46:                               #   in Loop: Header=BB4_42 Depth=1
	movq	24(%rsp), %rdi
.Ltmp55:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp56:
# %bb.47:                               #   in Loop: Header=BB4_42 Depth=1
	movq	16(%rsp), %rdi
.Ltmp57:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp58:
# %bb.48:                               #   in Loop: Header=BB4_42 Depth=1
	movq	40(%rsp), %rdi
.Ltmp59:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	leaq	84(%rsp), %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp60:
.LBB4_49:                               #   Parent Loop BB4_42 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	48(%rsp), %rdi
.Ltmp62:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	xorl	%esi, %esi
	callq	hipMemset
.Ltmp63:
# %bb.50:                               #   in Loop: Header=BB4_49 Depth=2
.Ltmp64:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp65:
# %bb.51:                               #   in Loop: Header=BB4_49 Depth=2
	testl	%eax, %eax
	jne	.LBB4_53
# %bb.52:                               #   in Loop: Header=BB4_49 Depth=2
	movq	64(%rsp), %rdi
	movl	12(%rsp), %esi
	movq	88(%rsp), %rdx
	movq	24(%rsp), %rcx
	movq	96(%rsp), %r8
	movq	16(%rsp), %r9
.Ltmp66:
	.cfi_escape 0x2e, 0x20
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	56(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	80(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.Ltmp67:
.LBB4_53:                               #   in Loop: Header=BB4_49 Depth=2
	movq	48(%rsp), %rsi
.Ltmp68:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	movq	%rbp, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp69:
# %bb.54:                               #   in Loop: Header=BB4_49 Depth=2
.Ltmp70:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp71:
# %bb.55:                               #   in Loop: Header=BB4_49 Depth=2
	testl	%eax, %eax
	jne	.LBB4_57
# %bb.56:                               #   in Loop: Header=BB4_49 Depth=2
	movl	4(%rsp), %edi
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rdx
.Ltmp72:
	.cfi_escape 0x2e, 0x00
	callq	_Z32__device_stub__remove_from_queueiPiS_
.Ltmp73:
.LBB4_57:                               #   in Loop: Header=BB4_49 Depth=2
.Ltmp74:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp75:
# %bb.58:                               #   in Loop: Header=BB4_49 Depth=2
	testl	%eax, %eax
	jne	.LBB4_60
# %bb.59:                               #   in Loop: Header=BB4_49 Depth=2
	movl	4(%rsp), %edi
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rdx
.Ltmp76:
	.cfi_escape 0x2e, 0x00
	callq	_Z27__device_stub__add_to_queueiPiS_
.Ltmp77:
.LBB4_60:                               #   in Loop: Header=BB4_49 Depth=2
	cmpl	$0, 8(%rsp)
	jne	.LBB4_49
# %bb.61:                               #   in Loop: Header=BB4_42 Depth=1
	movq	16(%rsp), %rax
	movslq	4(%rsp), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$-4, %rsi
.Ltmp79:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	leaq	76(%rsp), %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp80:
# %bb.62:                               #   in Loop: Header=BB4_42 Depth=1
	movq	40(%rsp), %rax
	movslq	4(%rsp), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$-4, %rsi
.Ltmp81:
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	leaq	36(%rsp), %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp82:
# %bb.63:                               #   in Loop: Header=BB4_42 Depth=1
	cmpl	$0, 76(%rsp)
	je	.LBB4_68
# %bb.64:                               #   in Loop: Header=BB4_42 Depth=1
.Ltmp83:
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	movl	$1, %esi
	movq	%rdi, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp84:
# %bb.65:                               #   in Loop: Header=BB4_42 Depth=1
	testl	%eax, %eax
	jne	.LBB4_67
# %bb.66:                               #   in Loop: Header=BB4_42 Depth=1
	movq	64(%rsp), %rdi
	movq	56(%rsp), %rsi
	movl	4(%rsp), %edx
	decl	%edx
	movl	36(%rsp), %ecx
.Ltmp85:
	.cfi_escape 0x2e, 0x00
	callq	_Z22__device_stub__augmentP4edgePiii
.Ltmp86:
.LBB4_67:                               #   in Loop: Header=BB4_42 Depth=1
	addl	36(%rsp), %r14d
	movl	4(%rsp), %r13d
	jmp	.LBB4_42
.LBB4_68:
	.cfi_escape 0x2e, 0x00
	callq	clock
	subq	128(%rsp), %rax                 # 8-byte Folded Reload
	cvtsi2sd	%rax, %xmm0
	divsd	.LCPI4_1(%rip), %xmm0
	movl	4(%rsp), %esi
	movl	12(%rsp), %edx
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	%r14d, %ecx
	movb	$1, %al
	callq	printf
	.cfi_escape 0x2e, 0x00
	leaq	104(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	movq	136(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_70
# %bb.69:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB4_70:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit
	.cfi_escape 0x2e, 0x00
	leaq	160(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB4_71:
	xorl	%eax, %eax
	addq	$680, %rsp                      # imm = 0x2A8
	.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
.LBB4_72:
	.cfi_def_cfa_offset 736
.Ltmp10:
	movq	%rax, %rbx
	jmp	.LBB4_82
.LBB4_73:
.Ltmp7:
	jmp	.LBB4_75
.LBB4_74:
.Ltmp4:
.LBB4_75:
	movq	%rax, %rbx
	jmp	.LBB4_84
.LBB4_76:
.Ltmp46:
	jmp	.LBB4_81
.LBB4_77:
.Ltmp23:
	jmp	.LBB4_81
.LBB4_78:                               # %.loopexit.split-lp
.Ltmp87:
	jmp	.LBB4_81
.LBB4_79:
.Ltmp61:
	jmp	.LBB4_81
.LBB4_80:                               # %.loopexit
.Ltmp78:
.LBB4_81:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	leaq	104(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
.LBB4_82:
	movq	136(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_84
# %bb.83:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB4_84:
	.cfi_escape 0x2e, 0x00
	leaq	160(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end4:
	.size	main, .Lfunc_end4-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table4:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .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 3 <<
	.uleb128 .Ltmp6-.Ltmp5                  #   Call between .Ltmp5 and .Ltmp6
	.uleb128 .Ltmp7-.Lfunc_begin0           #     jumps to .Ltmp7
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp9-.Ltmp8                  #   Call between .Ltmp8 and .Ltmp9
	.uleb128 .Ltmp10-.Lfunc_begin0          #     jumps to .Ltmp10
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp11-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp12-.Ltmp11                #   Call between .Ltmp11 and .Ltmp12
	.uleb128 .Ltmp46-.Lfunc_begin0          #     jumps to .Ltmp46
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp13-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp22-.Ltmp13                #   Call between .Ltmp13 and .Ltmp22
	.uleb128 .Ltmp23-.Lfunc_begin0          #     jumps to .Ltmp23
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp24-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp45-.Ltmp24                #   Call between .Ltmp24 and .Ltmp45
	.uleb128 .Ltmp46-.Lfunc_begin0          #     jumps to .Ltmp46
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp45-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp47-.Ltmp45                #   Call between .Ltmp45 and .Ltmp47
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp47-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp60-.Ltmp47                #   Call between .Ltmp47 and .Ltmp60
	.uleb128 .Ltmp61-.Lfunc_begin0          #     jumps to .Ltmp61
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp62-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp77-.Ltmp62                #   Call between .Ltmp62 and .Ltmp77
	.uleb128 .Ltmp78-.Lfunc_begin0          #     jumps to .Ltmp78
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp79-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp86-.Ltmp79                #   Call between .Ltmp79 and .Ltmp86
	.uleb128 .Ltmp87-.Lfunc_begin0          #     jumps to .Ltmp87
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp86-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Lfunc_end4-.Ltmp86            #   Call between .Ltmp86 and .Lfunc_end4
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC2EmRKS0_,comdat
	.weak	_ZNSt6vectorIiSaIiEEC2EmRKS0_   # -- Begin function _ZNSt6vectorIiSaIiEEC2EmRKS0_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEEC2EmRKS0_,@function
_ZNSt6vectorIiSaIiEEC2EmRKS0_:          # @_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB5_7
# %bb.1:                                # %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB5_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,4), %r15
	movq	%r15, 16(%rbx)
	movl	$0, (%rax)
	addq	$4, %rax
	cmpq	$1, %r14
	jne	.LBB5_5
# %bb.4:
	movq	%rax, %r15
	jmp	.LBB5_6
.LBB5_2:                                # %_ZNSt12_Vector_baseIiSaIiEEC2EmRKS0_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	.LBB5_6
.LBB5_5:                                # %_ZSt6fill_nIPimiET_S1_T0_RKT1_.exit.loopexit.i.i.i.i
	leaq	-4(,%r14,4), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB5_6:
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB5_7:
	.cfi_def_cfa_offset 32
	movl	$.L.str.2, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end5:
	.size	_ZNSt6vectorIiSaIiEEC2EmRKS0_, .Lfunc_end5-_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_ # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_: # @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB6_5
# %bb.1:                                # %_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_S_check_init_lenEmRKS2_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB6_2
# %bb.3:                                # %.lr.ph.preheader.i.i.i.i
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	movq	%rax, (%rbx)
	shlq	$3, %r14
	leaq	(%r14,%r14,2), %rdx
	leaq	(%rax,%rdx), %r14
	movq	%r14, 16(%rbx)
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	jmp	.LBB6_4
.LBB6_2:                                # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EEC2EmRKS3_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r14d, %r14d
.LBB6_4:
	movq	%r14, 8(%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB6_5:
	.cfi_def_cfa_offset 32
	movl	$.L.str.2, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end6:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_, .Lfunc_end6-_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev:    # @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB7_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB7_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB7_4
# %bb.3:                                #   in Loop: Header=BB7_2 Depth=1
	callq	_ZdlPv
.LBB7_4:                                # %_ZSt8_DestroyISt6vectorIiSaIiEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB7_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB7_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB7_6:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB7_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB7_7:                                # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .Lfunc_end7-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.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	.LBB8_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB8_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB8_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB8_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end8:
	.size	_ZNSt15__new_allocatorIiE8allocateEmPKv, .Lfunc_end8-_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB9_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB9_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB9_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB9_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end9:
	.size	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv, .Lfunc_end9-_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	.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.3, %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	.LBB10_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB10_3
.LBB10_1:
	xorl	%ebp, %ebp
.LBB10_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	.LBB10_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB10_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	.LBB10_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB10_7:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB10_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB10_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_end10:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .Lfunc_end10-_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	.LBB11_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
.LBB11_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end11:
	.size	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc, .Lfunc_end11-_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB12_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB12_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_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	$_Z12add_to_queueiPiS_, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z17remove_from_queueiPiS_, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z7augmentP4edgePiii, %esi
	movl	$.L__unnamed_4, %edx
	movl	$.L__unnamed_4, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end12:
	.size	__hip_module_ctor, .Lfunc_end12-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB13_2
# %bb.1:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__hipUnregisterFatBinary
	movq	$0, __hip_gpubin_handle(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
.LBB13_2:
	retq
.Lfunc_end13:
	.size	__hip_module_dtor, .Lfunc_end13-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_,@object # @_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.section	.rodata,"a",@progbits
	.globl	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.p2align	3, 0x0
_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_:
	.quad	_Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.size	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_, 8

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

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

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

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Enter file name"
	.size	.L.str, 16

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"|V|:%d |E|:%d Flow:%d\nTime:%f\n"
	.size	.L.str.1, 31

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

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_"
	.size	.L__unnamed_1, 52

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z12add_to_queueiPiS_"
	.size	.L__unnamed_2, 22

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

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z7augmentP4edgePiii"
	.size	.L__unnamed_4, 21

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

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

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym _Z35__device_stub__find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.addrsig_sym _Z27__device_stub__add_to_queueiPiS_
	.addrsig_sym _Z32__device_stub__remove_from_queueiPiS_
	.addrsig_sym _Z22__device_stub__augmentP4edgePiii
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.addrsig_sym _Z12add_to_queueiPiS_
	.addrsig_sym _Z17remove_from_queueiPiS_
	.addrsig_sym _Z7augmentP4edgePiii
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_ ; -- Begin function _Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.globl	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
	.p2align	8
	.type	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_,@function
_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_: ; @_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x54
	s_load_b32 s3, s[0:1], 0x8
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[4:5], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_i32_e64 s3, v4
	s_cbranch_execz .LBB0_11
; %bb.1:
	s_clause 0x1
	s_load_b64 s[4:5], s[0:1], 0x0
	s_load_b64 s[2:3], s[0:1], 0x18
	v_ashrrev_i32_e32 v5, 31, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 4, v[4:5]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v0, vcc_lo, s4, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v1, vcc_lo
	s_load_b256 s[4:11], s[0:1], 0x28
	s_mov_b32 s1, exec_lo
	global_load_b128 v[0:3], v[0:1], off
	s_waitcnt vmcnt(0)
	v_ashrrev_i32_e32 v6, 31, v0
	v_mov_b32_e32 v5, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[6:7], 2, v[5:6]
	v_add_co_u32 v8, vcc_lo, s2, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v9, vcc_lo, s3, v7, vcc_lo
	global_load_b32 v5, v[8:9], off
	v_mov_b32_e32 v8, v1
	v_ashrrev_i32_e32 v9, 31, v1
	v_lshlrev_b64 v[0:1], 2, v[8:9]
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e32 0, v5
	s_cbranch_execz .LBB0_6
; %bb.2:
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_u32 v8, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v9, vcc_lo, s5, v1, vcc_lo
	v_cmp_gt_i32_e64 s0, v2, v3
	global_load_b32 v5, v[8:9], off
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, 0, v5
	s_and_b32 s0, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 exec_lo, exec_lo, s0
	s_cbranch_execz .LBB0_6
; %bb.3:
	v_add_co_u32 v10, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v11, vcc_lo, s7, v1, vcc_lo
	v_mov_b32_e32 v5, -1
	global_atomic_cmpswap_b32 v5, v[10:11], v[4:5], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, -1, v5
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB0_6
; %bb.4:
	v_add_co_u32 v10, vcc_lo, s8, v6
	v_mov_b32_e32 v5, 1
	v_add_co_ci_u32_e32 v11, vcc_lo, s9, v7, vcc_lo
	s_mov_b32 s0, exec_lo
	v_sub_nc_u32_e32 v2, v2, v3
	global_store_b32 v[8:9], v5, off
	global_load_b32 v5, v[10:11], off
	v_mbcnt_lo_u32_b32 v10, s0, 0
	v_add_co_u32 v8, vcc_lo, s8, v0
	v_add_co_ci_u32_e32 v9, vcc_lo, s9, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v10
	s_and_b32 s12, exec_lo, vcc_lo
	s_waitcnt vmcnt(0)
	v_min_i32_e32 v2, v5, v2
	global_store_b32 v[8:9], v2, off
	s_mov_b32 exec_lo, s12
	s_cbranch_execz .LBB0_6
; %bb.5:
	s_bcnt1_i32_b32 s0, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	v_dual_mov_b32 v2, 0 :: v_dual_mov_b32 v5, s0
	global_atomic_add_u32 v2, v5, s[10:11]
.LBB0_6:                                ; %._crit_edge
	s_or_b32 exec_lo, exec_lo, s1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_u32 v8, vcc_lo, s2, v0
	v_add_co_ci_u32_e32 v9, vcc_lo, s3, v1, vcc_lo
	global_load_b32 v2, v[8:9], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, 0, v2
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB0_11
; %bb.7:
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v8, vcc_lo, s4, v6
	v_add_co_ci_u32_e32 v9, vcc_lo, s5, v7, vcc_lo
	v_cmp_ne_u32_e64 s0, 0, v3
	global_load_b32 v2, v[8:9], off
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, 0, v2
	s_and_b32 s0, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 exec_lo, exec_lo, s0
	s_cbranch_execz .LBB0_11
; %bb.8:
	v_add_co_u32 v10, vcc_lo, s6, v6
	v_add_co_ci_u32_e32 v11, vcc_lo, s7, v7, vcc_lo
	v_mov_b32_e32 v5, -1
	global_atomic_cmpswap_b32 v2, v[10:11], v[4:5], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, -1, v2
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB0_11
; %bb.9:
	v_add_co_u32 v0, vcc_lo, s8, v0
	v_mov_b32_e32 v2, 1
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v1, vcc_lo
	s_mov_b32 s0, exec_lo
	global_store_b32 v[8:9], v2, off
	global_load_b32 v0, v[0:1], off
	v_mbcnt_lo_u32_b32 v2, s0, 0
	s_waitcnt vmcnt(0)
	v_min_i32_e32 v3, v0, v3
	v_add_co_u32 v0, vcc_lo, s8, v6
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v7, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v2
	global_store_b32 v[0:1], v3, off
	s_and_b32 s1, exec_lo, vcc_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 exec_lo, s1
	s_cbranch_execz .LBB0_11
; %bb.10:
	s_bcnt1_i32_b32 s0, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, s0
	global_atomic_add_u32 v0, v1, s[10:11]
.LBB0_11:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 328
		.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 12
		.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	_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_, .Lfunc_end0-_Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 700
; NumSgprs: 18
; NumVgprs: 12
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 12
; 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	_Z12add_to_queueiPiS_   ; -- Begin function _Z12add_to_queueiPiS_
	.globl	_Z12add_to_queueiPiS_
	.p2align	8
	.type	_Z12add_to_queueiPiS_,@function
_Z12add_to_queueiPiS_:                  ; @_Z12add_to_queueiPiS_
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s3, s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_i32_e64 s3, v1
	s_cbranch_execz .LBB1_2
; %bb.1:                                ; %.sink.split
	s_load_b128 s[0:3], s[0:1], 0x8
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s2, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v3, vcc_lo, s3, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, 1, v2
	v_cndmask_b32_e64 v2, 0, 1, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB1_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z12add_to_queueiPiS_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 4
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z12add_to_queueiPiS_, .Lfunc_end1-_Z12add_to_queueiPiS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 160
; NumSgprs: 18
; NumVgprs: 4
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 4
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z17remove_from_queueiPiS_ ; -- Begin function _Z17remove_from_queueiPiS_
	.globl	_Z17remove_from_queueiPiS_
	.p2align	8
	.type	_Z17remove_from_queueiPiS_,@function
_Z17remove_from_queueiPiS_:             ; @_Z17remove_from_queueiPiS_
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s3, s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_i32_e64 s3, v1
	s_cbranch_execz .LBB2_3
; %bb.1:
	s_load_b128 s[0:3], s[0:1], 0x8
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v1, vcc_lo
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, 1, v2
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB2_3
; %bb.2:
	v_add_co_u32 v0, vcc_lo, s2, v0
	v_mov_b32_e32 v2, 2
	v_add_co_ci_u32_e32 v1, vcc_lo, s3, v1, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB2_3:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17remove_from_queueiPiS_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 4
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end2:
	.size	_Z17remove_from_queueiPiS_, .Lfunc_end2-_Z17remove_from_queueiPiS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 164
; NumSgprs: 18
; NumVgprs: 4
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 4
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z7augmentP4edgePiii    ; -- Begin function _Z7augmentP4edgePiii
	.globl	_Z7augmentP4edgePiii
	.p2align	8
	.type	_Z7augmentP4edgePiii,@function
_Z7augmentP4edgePiii:                   ; @_Z7augmentP4edgePiii
; %bb.0:
	s_load_b64 s[4:5], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_cmp_eq_u32 s4, 0
	s_cbranch_scc1 .LBB3_7
; %bb.1:                                ; %.lr.ph.preheader
	s_load_b128 s[0:3], s[0:1], 0x0
	v_mov_b32_e32 v0, 0
	s_mov_b32 s6, s4
.LBB3_2:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s7, s6, 31
	s_lshl_b64 s[8:9], s[6:7], 2
	s_mov_b32 s7, -1
	s_waitcnt lgkmcnt(0)
	s_add_u32 s8, s2, s8
	s_addc_u32 s9, s3, s9
	global_load_b32 v1, v0, s[8:9]
	s_waitcnt vmcnt(0)
	v_readfirstlane_b32 s8, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s9, s8, 31
	s_lshl_b64 s[8:9], s[8:9], 4
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s10, s0, s8
	s_addc_u32 s11, s1, s9
	s_load_b32 s4, s[10:11], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lg_u32 s6, s4
                                        ; implicit-def: $sgpr6
	s_cbranch_scc0 .LBB3_4
; %bb.3:                                ;   in Loop: Header=BB3_2 Depth=1
	s_add_u32 s10, s0, s8
	s_addc_u32 s11, s1, s9
	s_mov_b32 s7, 0
	global_load_b32 v1, v0, s[10:11] offset:12
	s_mov_b32 s6, s4
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v1, s5, v1
	global_store_b32 v0, v1, s[10:11] offset:12
.LBB3_4:                                ; %Flow
                                        ;   in Loop: Header=BB3_2 Depth=1
	s_and_not1_b32 vcc_lo, exec_lo, s7
	s_cbranch_vccnz .LBB3_6
; %bb.5:                                ;   in Loop: Header=BB3_2 Depth=1
	s_add_u32 s8, s0, s8
	s_addc_u32 s9, s1, s9
	global_load_b32 v1, v0, s[8:9] offset:12
	s_load_b32 s6, s[8:9], 0x4
	s_waitcnt vmcnt(0)
	v_subrev_nc_u32_e32 v1, s5, v1
	global_store_b32 v0, v1, s[8:9] offset:12
.LBB3_6:                                ;   in Loop: Header=BB3_2 Depth=1
	s_waitcnt lgkmcnt(0)
	s_cmp_lg_u32 s6, 0
	s_cbranch_scc1 .LBB3_2
.LBB3_7:                                ; %._crit_edge
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z7augmentP4edgePiii
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 24
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 2
		.amdhsa_next_free_sgpr 12
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end3:
	.size	_Z7augmentP4edgePiii, .Lfunc_end3-_Z7augmentP4edgePiii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 236
; NumSgprs: 14
; NumVgprs: 2
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 1
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 14
; NumVGPRsForWavesPerEU: 2
; 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
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .offset:         72
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         76
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         80
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         84
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         86
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         88
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         90
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         92
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         94
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         112
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         120
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         128
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         136
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 328
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z20find_augmenting_pathP4edgeiPiS1_S1_S1_S1_S1_S1_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     12
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z12add_to_queueiPiS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z12add_to_queueiPiS_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     4
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z17remove_from_queueiPiS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z17remove_from_queueiPiS_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     4
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .size:           4
        .value_kind:     by_value
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 24
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z7augmentP4edgePiii
    .private_segment_fixed_size: 0
    .sgpr_count:     14
    .sgpr_spill_count: 0
    .symbol:         _Z7augmentP4edgePiii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     2
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
