#include <iostream>
#include <fstream>
#include <vector>
#include <stdio.h>
#include <algorithm>
#include <time.h>

using namespace std;

void readInt(int &n, int &m) {
	ifstream fin_n("data/nums.txt");
	fin_n >> n >> m;
}

void readGraph(unsigned long long *neib, int n, int m) {
	ifstream fin_g("data/graph.txt");
	vector<vector<int> > vert;
	vert.resize(n);
	for (int i = 0; i < m; ++i) {
		int u, v;
		fin_g >> u >> v;
		u--, v--;
		neib[i] = ((unsigned long long)u << 32) + v; 
	}
}


__global__ void select_winner_odd(int *parent, unsigned long long *edge_list, int *mark, int *flag, int e_num) {
	int tid = blockIdx.x * blockDim.x + threadIdx.x;
	if (tid < e_num) {
		unsigned long long temp = edge_list[tid];
		int u, v;
		u = temp & 0xffffffff;
		v = temp >> 32;
		if (parent[u] != parent[v]) {
			parent[max(parent[u], parent[v])] = parent[min(parent[u], parent[v])];
			*flag = 1; 
		} else {
			mark[tid] = 1;
		}  
	}
}

__global__ void select_winner_even(int *parent, unsigned long long *edge_list, int *mark, int *flag, int e_num) {
	int tid = blockIdx.x * blockDim.x + threadIdx.x;
	if (tid < e_num) {
		unsigned long long temp = edge_list[tid];
		unsigned int u, v;
		u = temp & 0xffffffff;
		v = (temp >> 32) & 0xffffffff;
		if (parent[u] != parent[v]) {
			parent[min(parent[u], parent[v])] = parent[max(parent[u], parent[v])];
			*flag = 1; 
		} else {
			mark[tid] = 1;
		}  
	}
}

__global__ void jump(int *parent, int v_num, int *flag) {
	int tid = blockIdx.x * blockDim.x + threadIdx.x;
	if (tid < v_num) {	
		int p = parent[tid];
		int p_p = parent[p];
		if (p != p_p) {
			parent[tid] = p_p;
			(*flag) = 1;
		}
	}
}

int main() {	
	int n, m;
	readInt(n, m);
	unsigned long long *h_edge_list, *d_edge_list;
	h_edge_list = (unsigned long long*)malloc(m * sizeof(unsigned long long));
	readGraph(h_edge_list, n, m);
	int h_parent[n], *d_parent;
	int h_mark[m], *d_mark;
	for (int i = 0; i < n; ++i) {
		h_parent[i] = i;
	}
	for (int i = 0; i < m; ++i) {
		h_mark[i] = 0;
	}
	int flag[1], *d_flag;
	int count = 0;
	clock_t beg = clock();
	do {
		flag[0] = 0;
		cudaMalloc(&d_parent, n * sizeof(int));
		cudaMalloc(&d_edge_list, m * sizeof(unsigned long long));
		cudaMalloc(&d_mark, m * sizeof(int));
		cudaMalloc(&d_flag, sizeof(int));

		cudaMemcpy(d_parent, h_parent, n * sizeof(int), cudaMemcpyHostToDevice);
		cudaMemcpy(d_edge_list, h_edge_list, m * sizeof(unsigned long long), cudaMemcpyHostToDevice);
		cudaMemcpy(d_mark, h_mark, m * sizeof(int), cudaMemcpyHostToDevice);
		cudaMemcpy(d_flag, flag, sizeof(int), cudaMemcpyHostToDevice);

		if (count) {
			select_winner_odd<<<256, 256>>>(d_parent, d_edge_list, d_mark, d_flag, m);
		} else {
			select_winner_even<<<256, 256>>>(d_parent, d_edge_list, d_mark, d_flag, m);
		}
        cudaThreadSynchronize();

		cudaMemcpy(flag, d_flag, sizeof(int), cudaMemcpyDeviceToHost);
		cudaMemcpy(h_parent, d_parent, n * sizeof(int), cudaMemcpyDeviceToHost);

		cudaFree(&d_parent);
		cudaFree(&d_edge_list);	
		cudaFree(&d_mark);
		cudaFree(&d_flag);

		if (!flag[0]) {
			break;
		}
		count ^= 1;
		do {
			flag[0] = 0;
			cudaMalloc(&d_flag, sizeof(int));
			cudaMalloc(&d_parent, n * sizeof(int));
			cudaMemcpy(d_flag, flag, sizeof(int), cudaMemcpyHostToDevice);
			cudaMemcpy(d_parent, h_parent, n * sizeof(int), cudaMemcpyHostToDevice);
			jump<<<256, 256>>>(d_parent, n, d_flag);
        	cudaThreadSynchronize();	
			cudaMemcpy(flag, d_flag, sizeof(int), cudaMemcpyDeviceToHost);
			cudaMemcpy(h_parent, d_parent, n * sizeof(int), cudaMemcpyDeviceToHost);
			cudaFree(&d_flag);
			cudaFree(&d_parent);
		} while(flag[0]);
	} while(flag);
	cout << float(clock() - beg) / CLOCKS_PER_SEC << endl;
	sort(h_parent, h_parent + n);
	cout << unique(h_parent, h_parent + n) - h_parent;
}

	.file	"tmpxft_002610c4_00000000-6_fast.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4398:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4398:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_.isra.0, @function
_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_.isra.0:
.LFB5281:
	.cfi_startproc
	leaq	-1(%rdx), %rax
	movq	%rsi, %r9
	movl	%ecx, %r8d
	movq	%rdx, %rsi
	movl	$2, %ecx
	cqto
	idivq	%rcx
	movq	%r9, %rcx
.L3:
	cmpq	%rax, %rcx
	jge	.L11
	leaq	1(%rcx), %r10
	movl	-4(%rdi,%r10,8), %r11d
	leaq	(%r10,%r10), %rdx
	cmpl	%r11d, (%rdi,%r10,8)
	jge	.L4
	decq	%rdx
.L4:
	movl	(%rdi,%rdx,4), %r10d
	movl	%r10d, (%rdi,%rcx,4)
	movq	%rdx, %rcx
	jmp	.L3
.L11:
	testl	$1, %esi
	jne	.L6
	leaq	-2(%rsi), %rax
	movl	$2, %esi
	cqto
	idivq	%rsi
	cmpq	%rax, %rcx
	jne	.L6
	leaq	1(%rcx), %rax
	addq	%rax, %rax
	movl	-4(%rdi,%rax,4), %edx
	movl	%edx, (%rdi,%rcx,4)
	leaq	-1(%rax), %rcx
.L6:
	leaq	-1(%rcx), %rax
	movl	$2, %esi
.L9:
	cqto
	idivq	%rsi
	leaq	(%rdi,%rcx,4), %rdx
	cmpq	%rcx, %r9
	jge	.L7
	movl	(%rdi,%rax,4), %ecx
	cmpl	%ecx, %r8d
	jle	.L7
	movl	%ecx, (%rdx)
	leaq	-1(%rax), %rdx
	movq	%rax, %rcx
	movq	%rdx, %rax
	jmp	.L9
.L7:
	movl	%r8d, (%rdx)
	ret
	.cfi_endproc
.LFE5281:
	.size	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_.isra.0, .-_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_.isra.0
	.type	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_.isra.0, @function
_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_.isra.0:
.LFB5283:
	.cfi_startproc
	cmpq	%rsi, %rdi
	jne	.L24
	ret
.L24:
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$4, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	4(%rdi), %rbx
.L14:
	cmpq	%rbx, %r12
	je	.L28
	movl	(%rbx), %r13d
	movl	0(%rbp), %eax
	cmpl	%eax, %r13d
	jge	.L22
	movq	%rbx, %rdx
	subq	%rbp, %rdx
	cmpq	$4, %rdx
	jle	.L16
	movq	%r14, %rdi
	movq	%rbp, %rsi
	subq	%rdx, %rdi
	addq	%rbx, %rdi
	call	memmove@PLT
	jmp	.L17
.L16:
	jne	.L17
	movl	%eax, (%rbx)
.L17:
	movl	%r13d, 0(%rbp)
	jmp	.L18
.L22:
	movq	%rbx, %rax
.L15:
	movl	-4(%rax), %edx
	cmpl	%edx, %r13d
	jge	.L29
	movl	%edx, (%rax)
	subq	$4, %rax
	jmp	.L15
.L29:
	movl	%r13d, (%rax)
.L18:
	addq	$4, %rbx
	jmp	.L14
.L28:
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5283:
	.size	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_.isra.0, .-_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_.isra.0
	.type	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_.isra.0, @function
_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_.isra.0:
.LFB5287:
	.cfi_startproc
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%rdx, %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rdi, %rbx
.L31:
	movq	%rbp, %rax
	subq	%rbx, %rax
	cmpq	$64, %rax
	jle	.L30
	movq	%rax, %r14
	sarq	$2, %r14
	testq	%r13, %r13
	jne	.L32
	leaq	-2(%r14), %r12
	sarq	%r12
.L34:
	movl	(%rbx,%r12,4), %ecx
	movq	%r14, %rdx
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_.isra.0
	testq	%r12, %r12
	je	.L33
	decq	%r12
	jmp	.L34
.L33:
	movq	%rbp, %rax
	subq	%rbx, %rax
	cmpq	$4, %rax
	jle	.L30
	movl	(%rbx), %eax
	subq	$4, %rbp
	movl	0(%rbp), %ecx
	xorl	%esi, %esi
	movq	%rbp, %rdx
	movq	%rbx, %rdi
	movl	%eax, 0(%rbp)
	subq	%rbx, %rdx
	sarq	$2, %rdx
	call	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_.isra.0
	jmp	.L33
.L32:
	sarq	$3, %rax
	movl	4(%rbx), %esi
	movl	-4(%rbp), %edx
	leaq	4(%rbx), %r12
	leaq	(%rbx,%rax,4), %rdi
	movl	(%rbx), %eax
	movl	(%rdi), %ecx
	cmpl	%ecx, %esi
	jge	.L36
	cmpl	%edx, %ecx
	jge	.L37
.L54:
	movl	%ecx, (%rbx)
	movl	%eax, (%rdi)
.L40:
	movq	%rbp, %rax
	jmp	.L38
.L37:
	cmpl	%edx, %esi
	jge	.L55
	jmp	.L53
.L36:
	cmpl	%edx, %esi
	jge	.L41
.L55:
	movl	%esi, (%rbx)
	movl	%eax, 4(%rbx)
	jmp	.L40
.L41:
	cmpl	%edx, %ecx
	jge	.L54
.L53:
	movl	%edx, (%rbx)
	movl	%eax, -4(%rbp)
	jmp	.L40
.L47:
	movl	%ecx, (%r12)
	addq	$4, %r12
	movl	%edx, (%rax)
.L38:
	movl	(%rbx), %esi
.L43:
	movl	(%r12), %edx
	cmpl	%esi, %edx
	jge	.L46
	addq	$4, %r12
	jmp	.L43
.L46:
	movl	-4(%rax), %ecx
	subq	$4, %rax
	cmpl	%ecx, %esi
	jl	.L46
	cmpq	%rax, %r12
	jb	.L47
	decq	%r13
	movq	%rbp, %rsi
	movq	%r12, %rdi
	movq	%r12, %rbp
	movq	%r13, %rdx
	call	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_.isra.0
	jmp	.L31
.L30:
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5287:
	.size	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_.isra.0, .-_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_.isra.0
	.globl	_Z44__device_stub__Z17select_winner_oddPiPyS_S_iPiPyS_S_i
	.type	_Z44__device_stub__Z17select_winner_oddPiPyS_S_iPiPyS_S_i, @function
_Z44__device_stub__Z17select_winner_oddPiPyS_S_iPiPyS_S_i:
.LFB4420:
	.cfi_startproc
	endbr64
	subq	$168, %rsp
	.cfi_def_cfa_offset 176
	movq	%rdi, 40(%rsp)
	leaq	64(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	76(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	48(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	56(%rsp), %rcx
	movl	%r8d, 12(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 72(%rsp)
	movq	%rax, 112(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 144(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 64(%rsp)
	movq	%rax, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L56
	pushq	56(%rsp)
	.cfi_def_cfa_offset 184
	leaq	_Z17select_winner_oddPiPyS_S_i(%rip), %rdi
	pushq	56(%rsp)
	.cfi_def_cfa_offset 192
	movq	92(%rsp), %rcx
	movl	100(%rsp), %r8d
	movq	80(%rsp), %rsi
	movl	88(%rsp), %edx
	leaq	128(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 184
	popq	%rdx
	.cfi_def_cfa_offset 176
.L56:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	addq	$168, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4420:
	.size	_Z44__device_stub__Z17select_winner_oddPiPyS_S_iPiPyS_S_i, .-_Z44__device_stub__Z17select_winner_oddPiPyS_S_iPiPyS_S_i
	.globl	_Z17select_winner_oddPiPyS_S_i
	.type	_Z17select_winner_oddPiPyS_S_i, @function
_Z17select_winner_oddPiPyS_S_i:
.LFB4421:
	.cfi_startproc
	endbr64
	jmp	_Z44__device_stub__Z17select_winner_oddPiPyS_S_iPiPyS_S_i
	.cfi_endproc
.LFE4421:
	.size	_Z17select_winner_oddPiPyS_S_i, .-_Z17select_winner_oddPiPyS_S_i
	.globl	_Z45__device_stub__Z18select_winner_evenPiPyS_S_iPiPyS_S_i
	.type	_Z45__device_stub__Z18select_winner_evenPiPyS_S_iPiPyS_S_i, @function
_Z45__device_stub__Z18select_winner_evenPiPyS_S_iPiPyS_S_i:
.LFB4422:
	.cfi_startproc
	endbr64
	subq	$168, %rsp
	.cfi_def_cfa_offset 176
	movq	%rdi, 40(%rsp)
	leaq	64(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	76(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	48(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	56(%rsp), %rcx
	movl	%r8d, 12(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 72(%rsp)
	movq	%rax, 112(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 144(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 64(%rsp)
	movq	%rax, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L61
	pushq	56(%rsp)
	.cfi_def_cfa_offset 184
	leaq	_Z18select_winner_evenPiPyS_S_i(%rip), %rdi
	pushq	56(%rsp)
	.cfi_def_cfa_offset 192
	movq	92(%rsp), %rcx
	movl	100(%rsp), %r8d
	movq	80(%rsp), %rsi
	movl	88(%rsp), %edx
	leaq	128(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 184
	popq	%rdx
	.cfi_def_cfa_offset 176
.L61:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	addq	$168, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4422:
	.size	_Z45__device_stub__Z18select_winner_evenPiPyS_S_iPiPyS_S_i, .-_Z45__device_stub__Z18select_winner_evenPiPyS_S_iPiPyS_S_i
	.globl	_Z18select_winner_evenPiPyS_S_i
	.type	_Z18select_winner_evenPiPyS_S_i, @function
_Z18select_winner_evenPiPyS_S_i:
.LFB4423:
	.cfi_startproc
	endbr64
	jmp	_Z45__device_stub__Z18select_winner_evenPiPyS_S_iPiPyS_S_i
	.cfi_endproc
.LFE4423:
	.size	_Z18select_winner_evenPiPyS_S_i, .-_Z18select_winner_evenPiPyS_S_i
	.globl	_Z26__device_stub__Z4jumpPiiS_PiiS_
	.type	_Z26__device_stub__Z4jumpPiiS_PiiS_, @function
_Z26__device_stub__Z4jumpPiiS_PiiS_:
.LFB4424:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movl	%esi, 20(%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	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	20(%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	.L66
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z4jumpPiiS_(%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
.L66:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4424:
	.size	_Z26__device_stub__Z4jumpPiiS_PiiS_, .-_Z26__device_stub__Z4jumpPiiS_PiiS_
	.globl	_Z4jumpPiiS_
	.type	_Z4jumpPiiS_, @function
_Z4jumpPiiS_:
.LFB4425:
	.cfi_startproc
	endbr64
	jmp	_Z26__device_stub__Z4jumpPiiS_PiiS_
	.cfi_endproc
.LFE4425:
	.size	_Z4jumpPiiS_, .-_Z4jumpPiiS_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z4jumpPiiS_"
.LC1:
	.string	"_Z18select_winner_evenPiPyS_S_i"
.LC2:
	.string	"_Z17select_winner_oddPiPyS_S_i"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4427:
	.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	_Z4jumpPiiS_(%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	_Z18select_winner_evenPiPyS_S_i(%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	_Z17select_winner_oddPiPyS_S_i(%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
.LFE4427:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.rodata.str1.1
.LC3:
	.string	"data/nums.txt"
	.text
	.globl	_Z7readIntRiS_
	.type	_Z7readIntRiS_, @function
_Z7readIntRiS_:
.LFB4383:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4383
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	$8, %edx
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rsi, %rbp
	leaq	.LC3(%rip), %rsi
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$528, %rsp
	.cfi_def_cfa_offset 560
	movq	%fs:40, %rax
	movq	%rax, 520(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	movq	%rbx, %rdi
.LEHB0:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE0:
	movq	%r12, %rsi
	movq	%rbx, %rdi
.LEHB1:
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	movq	%rbp, %rsi
	call	_ZNSirsERi@PLT
.LEHE1:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	je	.L76
	jmp	.L78
.L77:
	endbr64
	movq	%rax, %rbp
.L74:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L78
	movq	%rbp, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L78:
	call	__stack_chk_fail@PLT
.L76:
	addq	$528, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4383:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4383:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4383-.LLSDACSB4383
.LLSDACSB4383:
	.uleb128 .LEHB0-.LFB4383
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB4383
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L77-.LFB4383
	.uleb128 0
	.uleb128 .LEHB2-.LFB4383
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE4383:
	.text
	.size	_Z7readIntRiS_, .-_Z7readIntRiS_
	.section	.text._ZNSt12_Vector_baseIiSaIiEED2Ev,"axG",@progbits,_ZNSt12_Vector_baseIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIiSaIiEED2Ev
	.type	_ZNSt12_Vector_baseIiSaIiEED2Ev, @function
_ZNSt12_Vector_baseIiSaIiEED2Ev:
.LFB5212:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L80
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L80:
	ret
	.cfi_endproc
.LFE5212:
	.size	_ZNSt12_Vector_baseIiSaIiEED2Ev, .-_ZNSt12_Vector_baseIiSaIiEED2Ev
	.weak	_ZNSt12_Vector_baseIiSaIiEED1Ev
	.set	_ZNSt12_Vector_baseIiSaIiEED1Ev,_ZNSt12_Vector_baseIiSaIiEED2Ev
	.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:
.LFB4760:
	.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
.L83:
	cmpq	%rbp, %r12
	je	.L87
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt12_Vector_baseIiSaIiEED2Ev
	jmp	.L83
.L87:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L82
	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
.L82:
	.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
.LFE4760:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev,_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.section	.rodata.str1.1
.LC4:
	.string	"data/graph.txt"
.LC5:
	.string	"vector::_M_default_append"
	.text
	.globl	_Z9readGraphPyii
	.type	_Z9readGraphPyii, @function
_Z9readGraphPyii:
.LFB4384:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4384
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%rdi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movl	%edx, %r12d
	movl	$8, %edx
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movslq	%esi, %rbx
	leaq	.LC4(%rip), %rsi
	subq	$560, %rsp
	.cfi_def_cfa_offset 608
	movq	%fs:40, %rax
	movq	%rax, 552(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbp
	movq	%rbp, %rdi
.LEHB3:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE3:
	xorl	%esi, %esi
	movq	%rsi, 8(%rsp)
	movq	%rsi, 16(%rsp)
	movq	%rsi, 24(%rsp)
	testq	%rbx, %rbx
	je	.L89
	movabsq	$384307168202282325, %rax
	cmpq	%rbx, %rax
	jnb	.L90
	movq	552(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L103
	leaq	.LC5(%rip), %rdi
.LEHB4:
	call	_ZSt20__throw_length_errorPKc@PLT
.L90:
	imulq	$24, %rbx, %r14
	movq	%r14, %rdi
	call	_Znwm@PLT
	movq	%rax, %rdx
.L92:
	xorl	%ecx, %ecx
	addq	$24, %rdx
	movq	%rcx, -24(%rdx)
	movq	%rcx, -16(%rdx)
	movq	%rcx, -8(%rdx)
	decq	%rbx
	jne	.L92
	movq	%rax, 8(%rsp)
	addq	%r14, %rax
	movq	%rax, 16(%rsp)
	movq	%rax, 24(%rsp)
.L89:
	xorl	%ebx, %ebx
	movq	%rsp, %r14
.L93:
	cmpl	%ebx, %r12d
	jle	.L106
	movq	%r14, %rsi
	movq	%rbp, %rdi
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	leaq	4(%rsp), %rsi
	call	_ZNSirsERi@PLT
.LEHE4:
	movl	(%rsp), %eax
	movl	4(%rsp), %ecx
	decl	%eax
	leal	-1(%rcx), %edx
	salq	$32, %rax
	movslq	%edx, %rdx
	addq	%rdx, %rax
	movq	%rax, 0(%r13,%rbx,8)
	incq	%rbx
	jmp	.L93
.L106:
	leaq	8(%rsp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	movq	%rbp, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	552(%rsp), %rax
	subq	%fs:40, %rax
	je	.L97
	jmp	.L103
.L98:
	endbr64
	movq	%rax, %rbx
.L95:
	leaq	8(%rsp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	movq	%rbp, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	552(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L103
	movq	%rbx, %rdi
.LEHB5:
	call	_Unwind_Resume@PLT
.LEHE5:
.L103:
	call	__stack_chk_fail@PLT
.L97:
	addq	$560, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4384:
	.section	.gcc_except_table
.LLSDA4384:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4384-.LLSDACSB4384
.LLSDACSB4384:
	.uleb128 .LEHB3-.LFB4384
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB4384
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L98-.LFB4384
	.uleb128 0
	.uleb128 .LEHB5-.LFB4384
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE4384:
	.text
	.size	_Z9readGraphPyii, .-_Z9readGraphPyii
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4395:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-124(%rbp), %rsi
	leaq	-128(%rbp), %rdi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	_Z7readIntRiS_
	movslq	-124(%rbp), %rdi
	movq	%rdi, %rbx
	salq	$3, %rdi
	call	malloc@PLT
	movl	-128(%rbp), %esi
	movl	%ebx, %edx
	movq	%rax, %rdi
	movq	%rax, -160(%rbp)
	call	_Z9readGraphPyii
	movslq	-128(%rbp), %rax
	movq	%rsp, %rcx
	leaq	15(,%rax,4), %rdx
	movq	%rax, %rsi
	movq	%rdx, %rax
	andq	$-4096, %rdx
	andq	$-16, %rax
	subq	%rdx, %rcx
.L108:
	cmpq	%rcx, %rsp
	je	.L109
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L108
.L109:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L110
	orq	$0, -8(%rsp,%rax)
.L110:
	movslq	-124(%rbp), %rax
	movq	%rsp, %rdi
	movq	%rsp, %rbx
	leaq	15(,%rax,4), %rdx
	movq	%rax, %rcx
	movq	%rdx, %rax
	andq	$-4096, %rdx
	andq	$-16, %rax
	subq	%rdx, %rdi
.L111:
	cmpq	%rdi, %rsp
	je	.L112
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L111
.L112:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L113
	orq	$0, -8(%rsp,%rax)
.L113:
	movq	%rsp, -168(%rbp)
	xorl	%eax, %eax
.L114:
	cmpl	%eax, %esi
	jle	.L154
	movl	%eax, (%rbx,%rax,4)
	incq	%rax
	jmp	.L114
.L154:
	xorl	%eax, %eax
.L116:
	cmpl	%eax, %ecx
	jle	.L155
	movq	-168(%rbp), %rdi
	xorl	%esi, %esi
	movl	%esi, (%rdi,%rax,4)
	incq	%rax
	jmp	.L116
.L155:
	call	clock@PLT
	xorl	%r14d, %r14d
	movabsq	$4294967552, %r12
	movq	%rax, %r13
.L125:
	movslq	-128(%rbp), %rsi
	leaq	-112(%rbp), %rax
	xorl	%edx, %edx
	leaq	-120(%rbp), %r15
	movq	%rax, %rdi
	movl	%edx, -60(%rbp)
	salq	$2, %rsi
	movq	%rax, -136(%rbp)
	call	cudaMalloc@PLT
	movslq	-124(%rbp), %rsi
	movq	%r15, %rdi
	salq	$3, %rsi
	call	cudaMalloc@PLT
	movslq	-124(%rbp), %rsi
	leaq	-104(%rbp), %rax
	movq	%rax, %rdi
	movq	%rax, -176(%rbp)
	salq	$2, %rsi
	call	cudaMalloc@PLT
	leaq	-96(%rbp), %rax
	movl	$4, %esi
	movq	%rax, %rdi
	movq	%rax, -144(%rbp)
	call	cudaMalloc@PLT
	movslq	-128(%rbp), %rdx
	movq	-112(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movslq	-124(%rbp), %rdx
	movq	-120(%rbp), %rdi
	movl	$1, %ecx
	movq	-160(%rbp), %rsi
	salq	$3, %rdx
	call	cudaMemcpy@PLT
	movslq	-124(%rbp), %rdx
	movq	-104(%rbp), %rdi
	movl	$1, %ecx
	movq	-168(%rbp), %rsi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	leaq	-60(%rbp), %rax
	movq	-96(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	movq	%rax, %rsi
	movq	%rax, -152(%rbp)
	call	cudaMemcpy@PLT
	movq	%r12, -72(%rbp)
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%r12, -84(%rbp)
	movq	%r12, %rdx
	movl	$1, %ecx
	movq	%r12, %rdi
	movl	$1, -64(%rbp)
	movl	$1, %esi
	movl	$1, -76(%rbp)
	testl	%r14d, %r14d
	je	.L118
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L120
	movl	-124(%rbp), %r8d
	movq	-96(%rbp), %rcx
	movq	-104(%rbp), %rdx
	movq	-120(%rbp), %rsi
	movq	-112(%rbp), %rdi
	call	_Z44__device_stub__Z17select_winner_oddPiPyS_S_iPiPyS_S_i
	jmp	.L120
.L118:
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L120
	movl	-124(%rbp), %r8d
	movq	-96(%rbp), %rcx
	movq	-104(%rbp), %rdx
	movq	-120(%rbp), %rsi
	movq	-112(%rbp), %rdi
	call	_Z45__device_stub__Z18select_winner_evenPiPyS_S_iPiPyS_S_i
.L120:
	call	cudaThreadSynchronize@PLT
	movq	-96(%rbp), %rsi
	movl	$2, %ecx
	movq	-152(%rbp), %rdi
	movl	$4, %edx
	call	cudaMemcpy@PLT
	movslq	-128(%rbp), %rdx
	movq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$2, %ecx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movq	-136(%rbp), %rdi
	call	cudaFree@PLT
	movq	%r15, %rdi
	call	cudaFree@PLT
	movq	-176(%rbp), %rdi
	call	cudaFree@PLT
	movq	-144(%rbp), %rdi
	call	cudaFree@PLT
	cmpl	$0, -60(%rbp)
	je	.L122
	xorl	$1, %r14d
.L124:
	movq	-144(%rbp), %rdi
	xorl	%eax, %eax
	movl	$4, %esi
	movl	%eax, -60(%rbp)
	call	cudaMalloc@PLT
	movslq	-128(%rbp), %rsi
	movq	-136(%rbp), %rdi
	salq	$2, %rsi
	call	cudaMalloc@PLT
	movq	-152(%rbp), %rsi
	movq	-96(%rbp), %rdi
	movl	$1, %ecx
	movl	$4, %edx
	call	cudaMemcpy@PLT
	movslq	-128(%rbp), %rdx
	movq	-112(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%r12, %rdx
	movl	$1, %ecx
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r12, -72(%rbp)
	movl	$1, -64(%rbp)
	movq	%r12, -84(%rbp)
	movl	$1, -76(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L123
	movq	-96(%rbp), %rdx
	movl	-128(%rbp), %esi
	movq	-112(%rbp), %rdi
	call	_Z26__device_stub__Z4jumpPiiS_PiiS_
.L123:
	call	cudaThreadSynchronize@PLT
	movq	-96(%rbp), %rsi
	movl	$2, %ecx
	movq	-152(%rbp), %rdi
	movl	$4, %edx
	call	cudaMemcpy@PLT
	movslq	-128(%rbp), %rdx
	movq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$2, %ecx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movq	-144(%rbp), %rdi
	call	cudaFree@PLT
	movq	-136(%rbp), %rdi
	call	cudaFree@PLT
	cmpl	$0, -60(%rbp)
	jne	.L124
	jmp	.L125
.L122:
	call	clock@PLT
	leaq	_ZSt4cout(%rip), %r12
	subq	%r13, %rax
	movq	%r12, %rdi
	cvtsi2ssq	%rax, %xmm0
	divss	.LC6(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	call	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@PLT
	movslq	-128(%rbp), %r14
	salq	$2, %r14
	leaq	(%rbx,%r14), %r13
	cmpq	%rbx, %r13
	je	.L127
	movq	%r14, %rax
	movq	%r13, %rsi
	movq	%rbx, %rdi
	sarq	$2, %rax
	bsrq	%rax, %rdx
	xorq	$63, %rdx
	testq	%rax, %rax
	movl	$64, %eax
	cmovne	%edx, %eax
	movl	$63, %edx
	subl	%eax, %edx
	movslq	%edx, %rdx
	addq	%rdx, %rdx
	call	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_.isra.0
	cmpq	$64, %r14
	jle	.L129
	leaq	64(%rbx), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	call	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_.isra.0
.L130:
	cmpq	%r14, %r13
	je	.L127
	movl	(%r14), %edx
	movq	%r14, %rax
.L131:
	movl	-4(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L156
	movl	%ecx, (%rax)
	subq	$4, %rax
	jmp	.L131
.L156:
	movl	%edx, (%rax)
	addq	$4, %r14
	jmp	.L130
.L129:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	call	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_.isra.0
.L127:
	movslq	-128(%rbp), %rax
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	leaq	(%rbx,%rax,4), %rax
	cmpq	%rbx, %rax
	je	.L135
.L136:
	movq	%rdx, %rsi
	leaq	4(%rdx), %rdx
	cmpq	%rdx, %rax
	je	.L157
	movl	4(%rsi), %ecx
	cmpl	%ecx, -4(%rdx)
	jne	.L136
	jmp	.L137
.L157:
	movq	%rax, %rsi
	jmp	.L135
.L137:
	leaq	4(%rsi), %rdx
	cmpq	%rsi, %rax
	je	.L135
.L153:
	movq	%rsi, %rcx
.L139:
	addq	$4, %rdx
	leaq	4(%rcx), %rsi
	cmpq	%rdx, %rax
	je	.L135
	movl	(%rdx), %edi
	cmpl	%edi, (%rcx)
	je	.L139
	movl	%edi, 4(%rcx)
	jmp	.L153
.L135:
	subq	%rbx, %rsi
	movq	%r12, %rdi
	sarq	$2, %rsi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L142
	call	__stack_chk_fail@PLT
.L142:
	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
.LFE4395:
	.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
.LC6:
	.long	1232348160
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:


#include <hip/hip_runtime.h>
#include <iostream>
#include <fstream>
#include <vector>
#include <stdio.h>
#include <algorithm>
#include <time.h>

using namespace std;

void readInt(int &n, int &m) {
	ifstream fin_n("data/nums.txt");
	fin_n >> n >> m;
}

void readGraph(unsigned long long *neib, int n, int m) {
	ifstream fin_g("data/graph.txt");
	vector<vector<int> > vert;
	vert.resize(n);
	for (int i = 0; i < m; ++i) {
		int u, v;
		fin_g >> u >> v;
		u--, v--;
		neib[i] = ((unsigned long long)u << 32) + v; 
	}
}


__global__ void select_winner_odd(int *parent, unsigned long long *edge_list, int *mark, int *flag, int e_num) {
	int tid = blockIdx.x * blockDim.x + threadIdx.x;
	if (tid < e_num) {
		unsigned long long temp = edge_list[tid];
		int u, v;
		u = temp & 0xffffffff;
		v = temp >> 32;
		if (parent[u] != parent[v]) {
			parent[max(parent[u], parent[v])] = parent[min(parent[u], parent[v])];
			*flag = 1; 
		} else {
			mark[tid] = 1;
		}  
	}
}

__global__ void select_winner_even(int *parent, unsigned long long *edge_list, int *mark, int *flag, int e_num) {
	int tid = blockIdx.x * blockDim.x + threadIdx.x;
	if (tid < e_num) {
		unsigned long long temp = edge_list[tid];
		unsigned int u, v;
		u = temp & 0xffffffff;
		v = (temp >> 32) & 0xffffffff;
		if (parent[u] != parent[v]) {
			parent[min(parent[u], parent[v])] = parent[max(parent[u], parent[v])];
			*flag = 1; 
		} else {
			mark[tid] = 1;
		}  
	}
}

__global__ void jump(int *parent, int v_num, int *flag) {
	int tid = blockIdx.x * blockDim.x + threadIdx.x;
	if (tid < v_num) {	
		int p = parent[tid];
		int p_p = parent[p];
		if (p != p_p) {
			parent[tid] = p_p;
			(*flag) = 1;
		}
	}
}

int main() {	
	int n, m;
	readInt(n, m);
	unsigned long long *h_edge_list, *d_edge_list;
	h_edge_list = (unsigned long long*)malloc(m * sizeof(unsigned long long));
	readGraph(h_edge_list, n, m);
	int h_parent[n], *d_parent;
	int h_mark[m], *d_mark;
	for (int i = 0; i < n; ++i) {
		h_parent[i] = i;
	}
	for (int i = 0; i < m; ++i) {
		h_mark[i] = 0;
	}
	int flag[1], *d_flag;
	int count = 0;
	clock_t beg = clock();
	do {
		flag[0] = 0;
		hipMalloc(&d_parent, n * sizeof(int));
		hipMalloc(&d_edge_list, m * sizeof(unsigned long long));
		hipMalloc(&d_mark, m * sizeof(int));
		hipMalloc(&d_flag, sizeof(int));

		hipMemcpy(d_parent, h_parent, n * sizeof(int), hipMemcpyHostToDevice);
		hipMemcpy(d_edge_list, h_edge_list, m * sizeof(unsigned long long), hipMemcpyHostToDevice);
		hipMemcpy(d_mark, h_mark, m * sizeof(int), hipMemcpyHostToDevice);
		hipMemcpy(d_flag, flag, sizeof(int), hipMemcpyHostToDevice);

		if (count) {
			select_winner_odd<<<256, 256>>>(d_parent, d_edge_list, d_mark, d_flag, m);
		} else {
			select_winner_even<<<256, 256>>>(d_parent, d_edge_list, d_mark, d_flag, m);
		}
        hipDeviceSynchronize();

		hipMemcpy(flag, d_flag, sizeof(int), hipMemcpyDeviceToHost);
		hipMemcpy(h_parent, d_parent, n * sizeof(int), hipMemcpyDeviceToHost);

		hipFree(&d_parent);
		hipFree(&d_edge_list);	
		hipFree(&d_mark);
		hipFree(&d_flag);

		if (!flag[0]) {
			break;
		}
		count ^= 1;
		do {
			flag[0] = 0;
			hipMalloc(&d_flag, sizeof(int));
			hipMalloc(&d_parent, n * sizeof(int));
			hipMemcpy(d_flag, flag, sizeof(int), hipMemcpyHostToDevice);
			hipMemcpy(d_parent, h_parent, n * sizeof(int), hipMemcpyHostToDevice);
			jump<<<256, 256>>>(d_parent, n, d_flag);
        	hipDeviceSynchronize();	
			hipMemcpy(flag, d_flag, sizeof(int), hipMemcpyDeviceToHost);
			hipMemcpy(h_parent, d_parent, n * sizeof(int), hipMemcpyDeviceToHost);
			hipFree(&d_flag);
			hipFree(&d_parent);
		} while(flag[0]);
	} while(flag);
	cout << float(clock() - beg) / CLOCKS_PER_SEC << endl;
	sort(h_parent, h_parent + n);
	cout << unique(h_parent, h_parent + n) - h_parent;
}

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

                                        # End of file scope inline assembly
	.globl	_Z7readIntRiS_                  # -- Begin function _Z7readIntRiS_
	.type	_Z7readIntRiS_,@function
_Z7readIntRiS_:                         # @_Z7readIntRiS_
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	subq	$528, %rsp                      # imm = 0x210
	.cfi_def_cfa_offset 560
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	8(%rsp), %r15
	movl	$.L.str, %esi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp0:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ZNSirsERi
.Ltmp1:
# %bb.1:
.Ltmp2:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ZNSirsERi
.Ltmp3:
# %bb.2:
	leaq	8(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	addq	$528, %rsp                      # imm = 0x210
	.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
.LBB0_3:
	.cfi_def_cfa_offset 560
.Ltmp4:
	movq	%rax, %rbx
	leaq	8(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_Z7readIntRiS_, .Lfunc_end0-_Z7readIntRiS_
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.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 .Ltmp3-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Lfunc_end0-.Ltmp3             #   Call between .Ltmp3 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z9readGraphPyii                # -- Begin function _Z9readGraphPyii
	.type	_Z9readGraphPyii,@function
_Z9readGraphPyii:                       # @_Z9readGraphPyii
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %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	$568, %rsp                      # imm = 0x238
	.cfi_def_cfa_offset 624
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%edx, %ebp
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	48(%rsp), %rdi
	movl	$.L.str.1, %esi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
	xorps	%xmm0, %xmm0
	leaq	16(%rsp), %rdi
	movaps	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	movslq	%r14d, %rsi
.Ltmp5:
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm
.Ltmp6:
# %bb.1:                                # %.preheader
	testl	%ebp, %ebp
	jle	.LBB1_6
# %bb.2:                                # %.lr.ph.preheader
	movl	%ebp, %r13d
	xorl	%ebp, %ebp
	leaq	48(%rsp), %r14
	leaq	12(%rsp), %r15
	leaq	8(%rsp), %r12
.LBB1_3:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
.Ltmp8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ZNSirsERi
.Ltmp9:
# %bb.4:                                #   in Loop: Header=BB1_3 Depth=1
.Ltmp10:
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ZNSirsERi
.Ltmp11:
# %bb.5:                                #   in Loop: Header=BB1_3 Depth=1
	movl	12(%rsp), %eax
	decl	%eax
	movslq	8(%rsp), %rcx
	shlq	$32, %rax
	addq	%rcx, %rax
	decq	%rax
	movq	%rax, (%rbx,%rbp,8)
	incq	%rbp
	cmpq	%rbp, %r13
	jne	.LBB1_3
.LBB1_6:                                # %._crit_edge
	leaq	16(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	leaq	48(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	addq	$568, %rsp                      # imm = 0x238
	.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
.LBB1_9:
	.cfi_def_cfa_offset 624
.Ltmp7:
	jmp	.LBB1_8
.LBB1_7:
.Ltmp12:
.LBB1_8:
	movq	%rax, %rbx
	leaq	16(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	leaq	48(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	_Z9readGraphPyii, .Lfunc_end1-_Z9readGraphPyii
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp5-.Lfunc_begin1           #   Call between .Lfunc_begin1 and .Ltmp5
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp5-.Lfunc_begin1           # >> Call Site 2 <<
	.uleb128 .Ltmp6-.Ltmp5                  #   Call between .Ltmp5 and .Ltmp6
	.uleb128 .Ltmp7-.Lfunc_begin1           #     jumps to .Ltmp7
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin1           # >> Call Site 3 <<
	.uleb128 .Ltmp11-.Ltmp8                 #   Call between .Ltmp8 and .Ltmp11
	.uleb128 .Ltmp12-.Lfunc_begin1          #     jumps to .Ltmp12
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp11-.Lfunc_begin1          # >> Call Site 4 <<
	.uleb128 .Lfunc_end1-.Ltmp11            #   Call between .Ltmp11 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm: # @_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	8(%rdi), %r14
	movq	%r14, %rax
	subq	%rcx, %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rdx     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rdx
	movq	%rsi, %rax
	subq	%rdx, %rax
	jbe	.LBB2_1
# %bb.9:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm # TAILCALL
.LBB2_1:
	.cfi_def_cfa_offset 48
	jae	.LBB2_8
# %bb.2:
	leaq	(%rsi,%rsi,2), %rax
	leaq	(%rcx,%rax,8), %r15
	cmpq	%r15, %r14
	je	.LBB2_8
# %bb.3:                                # %.lr.ph.i.i.i.i.preheader
	movq	%r15, %r12
.LBB2_4:                                # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	.LBB2_6
# %bb.5:                                #   in Loop: Header=BB2_4 Depth=1
	callq	_ZdlPv
.LBB2_6:                                # %_ZSt8_DestroyISt6vectorIiSaIiEEEvPT_.exit.i.i.i.i
                                        #   in Loop: Header=BB2_4 Depth=1
	addq	$24, %r12
	cmpq	%r14, %r12
	jne	.LBB2_4
# %bb.7:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exit.i
	movq	%r15, 8(%rbx)
.LBB2_8:                                # %_ZNSt6vectorIS_IiSaIiEESaIS1_EE15_M_erase_at_endEPS1_.exit
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm, .Lfunc_end2-_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm
	.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	.LBB3_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB3_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB3_4
# %bb.3:                                #   in Loop: Header=BB3_2 Depth=1
	callq	_ZdlPv
.LBB3_4:                                # %_ZSt8_DestroyISt6vectorIiSaIiEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB3_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB3_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB3_6:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB3_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
.LBB3_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_end3:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .Lfunc_end3-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z32__device_stub__select_winner_oddPiPyS_S_i # -- Begin function _Z32__device_stub__select_winner_oddPiPyS_S_i
	.type	_Z32__device_stub__select_winner_oddPiPyS_S_i,@function
_Z32__device_stub__select_winner_oddPiPyS_S_i: # @_Z32__device_stub__select_winner_oddPiPyS_S_i
	.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	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z17select_winner_oddPiPyS_S_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z32__device_stub__select_winner_oddPiPyS_S_i, .Lfunc_end4-_Z32__device_stub__select_winner_oddPiPyS_S_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z33__device_stub__select_winner_evenPiPyS_S_i # -- Begin function _Z33__device_stub__select_winner_evenPiPyS_S_i
	.type	_Z33__device_stub__select_winner_evenPiPyS_S_i,@function
_Z33__device_stub__select_winner_evenPiPyS_S_i: # @_Z33__device_stub__select_winner_evenPiPyS_S_i
	.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	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z18select_winner_evenPiPyS_S_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_Z33__device_stub__select_winner_evenPiPyS_S_i, .Lfunc_end5-_Z33__device_stub__select_winner_evenPiPyS_S_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z19__device_stub__jumpPiiS_    # -- Begin function _Z19__device_stub__jumpPiiS_
	.type	_Z19__device_stub__jumpPiiS_,@function
_Z19__device_stub__jumpPiiS_:           # @_Z19__device_stub__jumpPiiS_
	.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	12(%rsp), %rcx
	movl	%esi, (%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	$_Z4jumpPiiS_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_Z19__device_stub__jumpPiiS_, .Lfunc_end6-_Z19__device_stub__jumpPiiS_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI7_0:
	.long	0x49742400                      # float 1.0E+6
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-44(%rbp), %r14
	leaq	-48(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_Z7readIntRiS_
	movslq	(%r15), %rbx
	movq	%rbx, %rdi
	shlq	$3, %rdi
	callq	malloc
	movl	(%r14), %esi
	movq	%rax, -128(%rbp)                # 8-byte Spill
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_Z9readGraphPyii
	movq	%rsp, -120(%rbp)                # 8-byte Spill
	movl	(%r14), %eax
	movq	%rsp, %rbx
	leaq	15(,%rax,4), %rax
	andq	$-16, %rax
	subq	%rax, %rbx
	movq	%rbx, %rsp
	movl	(%r15), %edx
	movq	%rsp, %rcx
	leaq	15(,%rdx,4), %rax
	andq	$-16, %rax
	subq	%rax, %rcx
	movq	%rcx, -104(%rbp)                # 8-byte Spill
	movq	%rcx, %rsp
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	.LBB7_3
# %bb.1:                                # %.lr.ph.preheader
	xorl	%ecx, %ecx
.LBB7_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rbx,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	.LBB7_2
.LBB7_3:                                # %.preheader
	testl	%edx, %edx
	jle	.LBB7_5
# %bb.4:                                # %.lr.ph49.preheader
	shlq	$2, %rdx
	movq	-104(%rbp), %rdi                # 8-byte Reload
	xorl	%esi, %esi
	callq	memset@PLT
.LBB7_5:                                # %._crit_edge
	movabsq	$4294967552, %r13               # imm = 0x100000100
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 # 8-byte Spill
	callq	clock
	movq	%rax, -112(%rbp)                # 8-byte Spill
	leaq	-72(%rbp), %r12
	leaq	-64(%rbp), %r14
	leaq	-52(%rbp), %r15
.LBB7_7:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB7_13 Depth 2
	movl	$0, -52(%rbp)
	movslq	-44(%rbp), %rsi
	shlq	$2, %rsi
	movq	%r12, %rdi
	callq	hipMalloc
	movslq	-48(%rbp), %rsi
	shlq	$3, %rsi
	leaq	-88(%rbp), %rdi
	callq	hipMalloc
	movslq	-48(%rbp), %rsi
	shlq	$2, %rsi
	leaq	-80(%rbp), %rdi
	callq	hipMalloc
	movl	$4, %esi
	movq	%r14, %rdi
	callq	hipMalloc
	movq	-72(%rbp), %rdi
	movslq	-44(%rbp), %rdx
	shlq	$2, %rdx
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	-88(%rbp), %rdi
	movslq	-48(%rbp), %rdx
	shlq	$3, %rdx
	movq	-128(%rbp), %rsi                # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	movq	-80(%rbp), %rdi
	movslq	-48(%rbp), %rdx
	shlq	$2, %rdx
	movq	-104(%rbp), %rsi                # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	movq	-64(%rbp), %rdi
	movl	$4, %edx
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	cmpl	$0, -96(%rbp)                   # 4-byte Folded Reload
	je	.LBB7_10
# %bb.8:                                #   in Loop: Header=BB7_7 Depth=1
	testl	%eax, %eax
	jne	.LBB7_12
# %bb.9:                                #   in Loop: Header=BB7_7 Depth=1
	movq	-72(%rbp), %rdi
	movq	-88(%rbp), %rsi
	movq	-80(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movl	-48(%rbp), %r8d
	callq	_Z32__device_stub__select_winner_oddPiPyS_S_i
	jmp	.LBB7_12
.LBB7_10:                               #   in Loop: Header=BB7_7 Depth=1
	testl	%eax, %eax
	jne	.LBB7_12
# %bb.11:                               #   in Loop: Header=BB7_7 Depth=1
	movq	-72(%rbp), %rdi
	movq	-88(%rbp), %rsi
	movq	-80(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movl	-48(%rbp), %r8d
	callq	_Z33__device_stub__select_winner_evenPiPyS_S_i
.LBB7_12:                               #   in Loop: Header=BB7_7 Depth=1
	callq	hipDeviceSynchronize
	movq	-64(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	-72(%rbp), %rsi
	movslq	-44(%rbp), %rdx
	shlq	$2, %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	%r12, %rdi
	callq	hipFree
	leaq	-88(%rbp), %rdi
	callq	hipFree
	leaq	-80(%rbp), %rdi
	callq	hipFree
	movq	%r14, %rdi
	callq	hipFree
	cmpl	$0, -52(%rbp)
	je	.LBB7_16
.LBB7_13:                               # %.preheader56
                                        #   Parent Loop BB7_7 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	$0, -52(%rbp)
	movl	$4, %esi
	movq	%r14, %rdi
	callq	hipMalloc
	movslq	-44(%rbp), %rsi
	shlq	$2, %rsi
	movq	%r12, %rdi
	callq	hipMalloc
	movq	-64(%rbp), %rdi
	movl	$4, %edx
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	-72(%rbp), %rdi
	movslq	-44(%rbp), %rdx
	shlq	$2, %rdx
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB7_15
# %bb.14:                               #   in Loop: Header=BB7_13 Depth=2
	movq	-72(%rbp), %rdi
	movl	-44(%rbp), %esi
	movq	-64(%rbp), %rdx
	callq	_Z19__device_stub__jumpPiiS_
.LBB7_15:                               #   in Loop: Header=BB7_13 Depth=2
	callq	hipDeviceSynchronize
	movq	-64(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	-72(%rbp), %rsi
	movslq	-44(%rbp), %rdx
	shlq	$2, %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	%r14, %rdi
	callq	hipFree
	movq	%r12, %rdi
	callq	hipFree
	cmpl	$0, -52(%rbp)
	jne	.LBB7_13
# %bb.6:                                # %.loopexit
                                        #   in Loop: Header=BB7_7 Depth=1
	movq	-96(%rbp), %rax                 # 8-byte Reload
	xorl	$1, %eax
	movq	%rax, -96(%rbp)                 # 8-byte Spill
	jmp	.LBB7_7
.LBB7_16:
	callq	clock
	subq	-112(%rbp), %rax                # 8-byte Folded Reload
	cvtsi2ss	%rax, %xmm0
	divss	.LCPI7_0(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movslq	-44(%rbp), %rax
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	.LBB7_27
# %bb.17:                               # %_ZSt4sortIPiEvT_S1_.exit
	leaq	(%rbx,%rax,4), %r14
	bsrq	%rax, %rax
	xorl	$63, %eax
	addl	%eax, %eax
	movl	$126, %edx
	subq	%rax, %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
	movslq	-44(%rbp), %rax
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	.LBB7_27
# %bb.18:                               # %.preheader.i.i.i.preheader
	leaq	(%rbx,%rax,4), %rsi
	shlq	$2, %rax
	movl	$4, %edi
.LBB7_19:                               # %.preheader.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rax
	je	.LBB7_27
# %bb.20:                               #   in Loop: Header=BB7_19 Depth=1
	movl	-4(%rbx,%rdi), %edx
	leaq	4(%rdi), %rcx
	cmpl	(%rbx,%rdi), %edx
	movq	%rcx, %rdi
	jne	.LBB7_19
# %bb.21:                               # %_ZSt15__adjacent_findIPiN9__gnu_cxx5__ops19_Iter_equal_to_iterEET_S4_S4_T0_.exit.thread26.i.i
	leaq	(%rbx,%rcx), %rsi
	addq	$-8, %rsi
.LBB7_22:                               # %_ZSt15__adjacent_findIPiN9__gnu_cxx5__ops19_Iter_equal_to_iterEET_S4_S4_T0_.exit.thread26.i.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rax
	je	.LBB7_26
# %bb.23:                               # %.lr.ph.i.i
                                        #   in Loop: Header=BB7_22 Depth=1
	movl	%edx, %edi
	movl	(%rbx,%rcx), %edx
	cmpl	%edx, %edi
	je	.LBB7_25
# %bb.24:                               #   in Loop: Header=BB7_22 Depth=1
	movl	%edx, 4(%rsi)
	addq	$4, %rsi
.LBB7_25:                               #   in Loop: Header=BB7_22 Depth=1
	addq	$4, %rcx
	jmp	.LBB7_22
.LBB7_26:                               # %._crit_edge.i.i
	addq	$4, %rsi
.LBB7_27:                               # %_ZSt6uniqueIPiET_S1_S1_.exit
	subq	%rbx, %rsi
	sarq	$2, %rsi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIlEERSoT_
	movq	-120(%rbp), %rsp                # 8-byte Reload
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa %rsp, 8
	retq
.Lfunc_end7:
	.size	main, .Lfunc_end7-main
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm: # @_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB8_13
# %bb.1:
	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
	pushq	%rax
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movabsq	$-6148914691236517205, %rax     # imm = 0xAAAAAAAAAAAAAAAB
	movq	16(%rdi), %rcx
	subq	%r15, %rcx
	sarq	$3, %rcx
	imulq	%rax, %rcx
	cmpq	%rsi, %rcx
	jae	.LBB8_2
# %bb.3:
	movq	(%rbx), %r12
	movq	%r15, %r13
	subq	%r12, %r13
	sarq	$3, %r13
	imulq	%rax, %r13
	movl	$.L.str.2, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	testq	%rax, %rax
	movq	%rax, (%rsp)                    # 8-byte Spill
	je	.LBB8_4
# %bb.5:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB8_6
.LBB8_2:                                # %_ZSt27__uninitialized_default_n_aIPSt6vectorIiSaIiEEmS2_ET_S4_T0_RSaIT1_E.exit
	shlq	$3, %r14
	leaq	(%r14,%r14,2), %r14
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	memset@PLT
	addq	%r14, %r15
	movq	%r15, 8(%rbx)
	jmp	.LBB8_12
.LBB8_4:
	xorl	%ebp, %ebp
.LBB8_6:
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	leaq	(%rbp,%rax,8), %r13
	leaq	(,%r14,8), %rax
	leaq	(%rax,%rax,2), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	cmpq	%r15, %r12
	je	.LBB8_9
# %bb.7:                                # %.lr.ph.i.i.i.preheader
	xorl	%eax, %eax
	xorps	%xmm0, %xmm0
.LBB8_8:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rax), %rcx
	addq	$24, %rcx
	movq	-24(%rcx), %rdx
	movq	%rdx, (%rbp,%rax)
	movq	-16(%rcx), %rdx
	movq	%rdx, 8(%rbp,%rax)
	movq	-8(%rcx), %rdx
	movq	%rdx, 16(%rbp,%rax)
	movups	%xmm0, -24(%rcx)
	movq	$0, -8(%rcx)
	addq	$24, %rax
	cmpq	%r15, %rcx
	jne	.LBB8_8
.LBB8_9:                                # %_ZNSt6vectorIS_IiSaIiEESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit
	testq	%r12, %r12
	je	.LBB8_11
# %bb.10:
	movq	%r12, %rdi
	callq	_ZdlPv
.LBB8_11:                               # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE13_M_deallocateEPS2_m.exit37
	movq	%rbp, (%rbx)
	leaq	(%r14,%r14,2), %rax
	leaq	(,%rax,8), %rax
	addq	%r13, %rax
	movq	%rax, 8(%rbx)
	movq	(%rsp), %rax                    # 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	leaq	(,%rax,8), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
.LBB8_12:
	addq	$8, %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
	.cfi_restore %rbx
	.cfi_restore %r12
	.cfi_restore %r13
	.cfi_restore %r14
	.cfi_restore %r15
	.cfi_restore %rbp
.LBB8_13:
	retq
.Lfunc_end8:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm, .Lfunc_end8-_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_default_appendEm
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$384307168202282325, %rcx       # imm = 0x555555555555555
	movq	8(%rdi), %rax
	subq	(%rdi), %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rdi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rdi
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	%rsi, %rax
	jb	.LBB9_2
# %bb.1:
	cmpq	%rsi, %rdi
	cmovaq	%rdi, %rsi
	leaq	(%rsi,%rdi), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%rdi, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB9_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end9:
	.size	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc, .Lfunc_end9-_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	.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	.LBB10_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB10_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB10_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB10_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end10:
	.size	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv, .Lfunc_end10-_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_,"axG",@progbits,_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_,comdat
	.weak	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_ # -- Begin function _ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_
	.type	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_,@function
_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_: # @_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %r14
	subq	%rdi, %r14
	cmpq	$65, %r14
	jl	.LBB11_12
# %bb.1:                                # %.lr.ph
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	4(%rdi), %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	movq	$-4, %rbp
	subq	%rdi, %rbp
.LBB11_2:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_5 Depth 2
                                        #       Child Loop BB11_6 Depth 3
                                        #       Child Loop BB11_8 Depth 3
	subq	$1, %r15
	jb	.LBB11_3
# %bb.4:                                #   in Loop: Header=BB11_2 Depth=1
	shrq	$3, %r14
	leaq	(%rbx,%r14,4), %rdx
	leaq	-4(%r12), %rcx
	movq	%rbx, %rdi
	movq	16(%rsp), %r14                  # 8-byte Reload
	movq	%r14, %rsi
	callq	_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_
	movq	%r12, %rax
	movq	%r14, %rcx
.LBB11_5:                               #   Parent Loop BB11_2 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB11_6 Depth 3
                                        #       Child Loop BB11_8 Depth 3
	movl	(%rbx), %edx
	leaq	(%rcx,%rbp), %r14
.LBB11_6:                               #   Parent Loop BB11_2 Depth=1
                                        #     Parent Loop BB11_5 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movl	(%rcx), %esi
	addq	$4, %rcx
	addq	$4, %r14
	cmpl	%edx, %esi
	jl	.LBB11_6
# %bb.7:                                # %.preheader.i.i.preheader
                                        #   in Loop: Header=BB11_5 Depth=2
	leaq	-4(%rcx), %r13
.LBB11_8:                               # %.preheader.i.i
                                        #   Parent Loop BB11_2 Depth=1
                                        #     Parent Loop BB11_5 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movl	-4(%rax), %edi
	addq	$-4, %rax
	cmpl	%edi, %edx
	jl	.LBB11_8
# %bb.9:                                #   in Loop: Header=BB11_5 Depth=2
	cmpq	%rax, %r13
	jae	.LBB11_11
# %bb.10:                               #   in Loop: Header=BB11_5 Depth=2
	movl	%edi, (%r13)
	movl	%esi, (%rax)
	jmp	.LBB11_5
.LBB11_11:                              # %_ZSt27__unguarded_partition_pivotIPiN9__gnu_cxx5__ops15_Iter_less_iterEET_S4_S4_T0_.exit
                                        #   in Loop: Header=BB11_2 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_
	movq	%r13, %r12
	cmpq	$64, %r14
	jg	.LBB11_2
	jmp	.LBB11_12
.LBB11_3:
	leaq	15(%rsp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
	leaq	14(%rsp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
.LBB11_12:                              # %.loopexit
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end11:
	.size	_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_, .Lfunc_end11-_ZSt16__introsort_loopIPilN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_T1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_,"axG",@progbits,_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_,comdat
	.weak	_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_ # -- Begin function _ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
	.type	_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_,@function
_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_: # @_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rbx
	movq	%rsi, %rax
	subq	%rdi, %rax
	cmpq	$65, %rax
	jl	.LBB12_8
# %bb.1:
	leaq	64(%rdi), %r14
	movq	%r14, %rsi
	callq	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
.LBB12_2:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB12_5 Depth 2
	cmpq	%rbx, %r14
	je	.LBB12_7
# %bb.3:                                # %.lr.ph.i
                                        #   in Loop: Header=BB12_2 Depth=1
	movl	-4(%r14), %ecx
	movl	(%r14), %eax
	movq	%r14, %rdx
	cmpl	%ecx, %eax
	jge	.LBB12_6
# %bb.4:                                # %.lr.ph.i.i.preheader
                                        #   in Loop: Header=BB12_2 Depth=1
	movq	%r14, %rdx
.LBB12_5:                               # %.lr.ph.i.i
                                        #   Parent Loop BB12_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	%ecx, (%rdx)
	movl	-8(%rdx), %ecx
	addq	$-4, %rdx
	cmpl	%ecx, %eax
	jl	.LBB12_5
.LBB12_6:                               # %_ZSt25__unguarded_linear_insertIPiN9__gnu_cxx5__ops14_Val_less_iterEEvT_T0_.exit.i
                                        #   in Loop: Header=BB12_2 Depth=1
	movl	%eax, (%rdx)
	addq	$4, %r14
	jmp	.LBB12_2
.LBB12_8:
	movq	%rbx, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	jmp	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_ # TAILCALL
.LBB12_7:                               # %_ZSt26__unguarded_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_.exit
	.cfi_def_cfa_offset 32
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_, .Lfunc_end12-_ZSt22__final_insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_,"axG",@progbits,_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_,comdat
	.weak	_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_ # -- Begin function _ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
	.type	_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_,@function
_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_: # @_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r15
	subq	%rdi, %r15
	cmpq	$5, %r15
	jl	.LBB13_3
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %rbx
	movq	%rdi, %r14
	addq	$-4, %rbx
.LBB13_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	addq	$-4, %r15
	movq	%r15, %rdx
	sarq	$2, %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_
	addq	$-4, %rbx
	cmpq	$4, %r15
	jg	.LBB13_2
.LBB13_3:                               # %._crit_edge
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end13:
	.size	_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_, .Lfunc_end13-_ZSt11__sort_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_,"axG",@progbits,_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_,comdat
	.weak	_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_ # -- Begin function _ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
	.type	_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_,@function
_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_: # @_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	subq	%rdi, %rbx
	sarq	$2, %rbx
	cmpq	$2, %rbx
	jl	.LBB14_3
# %bb.1:
	movq	%rdi, %r14
	leaq	-2(%rbx), %r15
	shrq	%r15
.LBB14_2:                               # =>This Inner Loop Header: Depth=1
	movl	(%r14,%r15,4), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_
	addq	$-1, %r15
	jb	.LBB14_2
.LBB14_3:                               # %.loopexit
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end14:
	.size	_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_, .Lfunc_end14-_ZSt11__make_heapIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_,"axG",@progbits,_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_,comdat
	.weak	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_ # -- Begin function _ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_
	.type	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_,@function
_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_: # @_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_
	.cfi_startproc
# %bb.0:
	leaq	-1(%rdx), %rax
	shrq	$63, %rax
	leaq	(%rdx,%rax), %r8
	decq	%r8
	sarq	%r8
	movq	%rsi, %rax
	cmpq	%rsi, %r8
	jle	.LBB15_6
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %r9
.LBB15_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%r9,%r9), %rax
	movl	8(%rdi,%rax,4), %r10d
	cmpl	4(%rdi,%rax,4), %r10d
	jl	.LBB15_3
# %bb.4:                                # %.lr.ph
                                        #   in Loop: Header=BB15_2 Depth=1
	leaq	2(,%r9,2), %rax
	jmp	.LBB15_5
.LBB15_3:                               #   in Loop: Header=BB15_2 Depth=1
	leaq	1(,%r9,2), %rax
.LBB15_5:                               # %.lr.ph
                                        #   in Loop: Header=BB15_2 Depth=1
	movl	(%rdi,%rax,4), %r10d
	movl	%r10d, (%rdi,%r9,4)
	movq	%rax, %r9
	cmpq	%r8, %rax
	jl	.LBB15_2
.LBB15_6:                               # %._crit_edge
	testb	$1, %dl
	jne	.LBB15_9
# %bb.7:
	addq	$-2, %rdx
	sarq	%rdx
	cmpq	%rdx, %rax
	jne	.LBB15_9
# %bb.8:
	leaq	(%rax,%rax), %rdx
	movl	4(%rdi,%rdx,4), %edx
	movl	%edx, (%rdi,%rax,4)
	leaq	1(,%rax,2), %rax
.LBB15_9:
	cmpq	%rsi, %rax
	jle	.LBB15_10
.LBB15_11:                              # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rdx
	shrq	$63, %rdx
	addq	%rax, %rdx
	decq	%rdx
	sarq	%rdx
	movl	(%rdi,%rdx,4), %r8d
	cmpl	%ecx, %r8d
	jge	.LBB15_10
# %bb.12:                               #   in Loop: Header=BB15_11 Depth=1
	movl	%r8d, (%rdi,%rax,4)
	movq	%rdx, %rax
	cmpq	%rsi, %rdx
	jg	.LBB15_11
	jmp	.LBB15_13
.LBB15_10:
	movq	%rax, %rdx
.LBB15_13:                              # %_ZSt11__push_heapIPiliN9__gnu_cxx5__ops14_Iter_less_valEEvT_T0_S5_T1_RT2_.exit
	movl	%ecx, (%rdi,%rdx,4)
	retq
.Lfunc_end15:
	.size	_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_, .Lfunc_end15-_ZSt13__adjust_heapIPiliN9__gnu_cxx5__ops15_Iter_less_iterEEvT_T0_S5_T1_T2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_,"axG",@progbits,_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_,comdat
	.weak	_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_ # -- Begin function _ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_
	.type	_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_,@function
_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_: # @_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_
	.cfi_startproc
# %bb.0:
	movl	(%rsi), %r8d
	movl	(%rdx), %r9d
	movl	(%rcx), %eax
	cmpl	%r9d, %r8d
	jge	.LBB16_6
# %bb.1:
	cmpl	%eax, %r9d
	jge	.LBB16_3
# %bb.2:
	movl	(%rdi), %eax
	movl	%r9d, (%rdi)
	movl	%eax, (%rdx)
	retq
.LBB16_6:
	cmpl	%eax, %r8d
	jge	.LBB16_8
# %bb.7:
	movl	(%rdi), %eax
	movl	%r8d, (%rdi)
	movl	%eax, (%rsi)
	retq
.LBB16_3:
	movl	(%rdi), %edx
	cmpl	%eax, %r8d
	jge	.LBB16_5
# %bb.4:
	movl	%eax, (%rdi)
	movl	%edx, (%rcx)
	retq
.LBB16_8:
	movl	(%rdi), %esi
	cmpl	%eax, %r9d
	jge	.LBB16_10
# %bb.9:
	movl	%eax, (%rdi)
	movl	%esi, (%rcx)
	retq
.LBB16_5:
	movl	%r8d, (%rdi)
	movl	%edx, (%rsi)
	retq
.LBB16_10:
	movl	%r9d, (%rdi)
	movl	%esi, (%rdx)
	retq
.Lfunc_end16:
	.size	_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_, .Lfunc_end16-_ZSt22__move_median_to_firstIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_S4_S4_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_,"axG",@progbits,_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_,comdat
	.weak	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_ # -- Begin function _ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
	.type	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_,@function
_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_: # @_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
	.cfi_startproc
# %bb.0:
	cmpq	%rsi, %rdi
	je	.LBB17_14
# %bb.1:                                # %.preheader
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	4(%rdi), %rax
	cmpq	%rsi, %rax
	je	.LBB17_13
# %bb.2:                                # %.lr.ph
	movq	%r14, %r15
.LBB17_3:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB17_8 Depth 2
	movq	%r15, %rdi
	movq	%rax, %r15
	movl	4(%rdi), %ebp
	movl	(%r14), %ecx
	cmpl	%ecx, %ebp
	jge	.LBB17_6
# %bb.4:                                #   in Loop: Header=BB17_3 Depth=1
	movq	%r15, %rdx
	subq	%r14, %rdx
	movq	%rdx, %rax
	sarq	$2, %rax
	cmpq	$2, %rax
	jl	.LBB17_10
# %bb.5:                                #   in Loop: Header=BB17_3 Depth=1
	shlq	$2, %rax
	subq	%rax, %rdi
	addq	$8, %rdi
	movq	%r14, %rsi
	callq	memmove@PLT
.LBB17_12:                              # %_ZSt13move_backwardIPiS0_ET0_T_S2_S1_.exit
                                        #   in Loop: Header=BB17_3 Depth=1
	movq	%r14, %rax
	jmp	.LBB17_9
.LBB17_6:                               #   in Loop: Header=BB17_3 Depth=1
	movl	(%rdi), %ecx
	movq	%r15, %rax
	cmpl	%ecx, %ebp
	jge	.LBB17_9
# %bb.7:                                # %.lr.ph.i.preheader
                                        #   in Loop: Header=BB17_3 Depth=1
	movq	%r15, %rax
.LBB17_8:                               # %.lr.ph.i
                                        #   Parent Loop BB17_3 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	%ecx, (%rax)
	movl	-8(%rax), %ecx
	addq	$-4, %rax
	cmpl	%ecx, %ebp
	jl	.LBB17_8
.LBB17_9:                               # %_ZSt13move_backwardIPiS0_ET0_T_S2_S1_.exit
                                        #   in Loop: Header=BB17_3 Depth=1
	movl	%ebp, (%rax)
	leaq	4(%r15), %rax
	cmpq	%rbx, %rax
	jne	.LBB17_3
	jmp	.LBB17_13
.LBB17_10:                              #   in Loop: Header=BB17_3 Depth=1
	movq	%r14, %rax
	cmpq	$4, %rdx
	jne	.LBB17_9
# %bb.11:                               #   in Loop: Header=BB17_3 Depth=1
	movl	%ecx, 4(%rdi)
	jmp	.LBB17_12
.LBB17_13:
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.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
	.cfi_restore %rbx
	.cfi_restore %r14
	.cfi_restore %r15
	.cfi_restore %rbp
.LBB17_14:                              # %.loopexit
	retq
.Lfunc_end17:
	.size	_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_, .Lfunc_end17-_ZSt16__insertion_sortIPiN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB18_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB18_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z17select_winner_oddPiPyS_S_i, %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	$_Z18select_winner_evenPiPyS_S_i, %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	$_Z4jumpPiiS_, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %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_end18:
	.size	__hip_module_ctor, .Lfunc_end18-__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	.LBB19_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
.LBB19_2:
	retq
.Lfunc_end19:
	.size	__hip_module_dtor, .Lfunc_end19-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"data/nums.txt"
	.size	.L.str, 14

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"data/graph.txt"
	.size	.L.str.1, 15

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

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

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

	.type	.L.str.2,@object                # @.str.2
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.2:
	.asciz	"vector::_M_default_append"
	.size	.L.str.2, 26

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z17select_winner_oddPiPyS_S_i"
	.size	.L__unnamed_1, 31

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z18select_winner_evenPiPyS_S_i"
	.size	.L__unnamed_2, 32

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z4jumpPiiS_"
	.size	.L__unnamed_3, 13

	.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 __gxx_personality_v0
	.addrsig_sym _Z32__device_stub__select_winner_oddPiPyS_S_i
	.addrsig_sym _Z33__device_stub__select_winner_evenPiPyS_S_i
	.addrsig_sym _Z19__device_stub__jumpPiiS_
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z17select_winner_oddPiPyS_S_i
	.addrsig_sym _Z18select_winner_evenPiPyS_S_i
	.addrsig_sym _Z4jumpPiiS_
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z17select_winner_oddPiPyS_S_i ; -- Begin function _Z17select_winner_oddPiPyS_S_i
	.globl	_Z17select_winner_oddPiPyS_S_i
	.p2align	8
	.type	_Z17select_winner_oddPiPyS_S_i,@function
_Z17select_winner_oddPiPyS_S_i:         ; @_Z17select_winner_oddPiPyS_S_i
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x34
	s_load_b32 s3, s[0:1], 0x20
	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 .LBB0_6
; %bb.1:
	s_load_b256 s[0:7], s[0:1], 0x0
	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[3:4], 3, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v3, vcc_lo, s2, v3
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v4, vcc_lo, s3, v4, vcc_lo
	s_mov_b32 s2, exec_lo
	global_load_b64 v[3:4], v[3:4], off
	s_waitcnt vmcnt(0)
	v_ashrrev_i32_e32 v6, 31, v3
	v_mov_b32_e32 v5, v3
	v_ashrrev_i32_e32 v8, 31, v4
	v_mov_b32_e32 v7, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[3:4], 2, v[5:6]
	v_lshlrev_b64 v[5:6], 2, v[7:8]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v3, vcc_lo, s0, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v4, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v5, vcc_lo, s0, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, s1, v6, vcc_lo
	s_clause 0x1
	global_load_b32 v0, v[3:4], off
	global_load_b32 v3, v[5:6], off
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e64 v0, v3
	s_xor_b32 s2, exec_lo, s2
	s_cbranch_execz .LBB0_3
; %bb.2:
	v_min_i32_e32 v1, v0, v3
	v_max_i32_e32 v0, v0, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s0, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	global_load_b32 v2, v[1:2], off
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_add_co_u32 v0, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[0:1], v2, off
                                        ; implicit-def: $vgpr1_vgpr2
.LBB0_3:                                ; %Flow
	s_or_saveexec_b32 s0, s2
	v_dual_mov_b32 v3, s6 :: v_dual_mov_b32 v4, s7
	s_xor_b32 exec_lo, exec_lo, s0
; %bb.4:
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v4, vcc_lo, s5, v1, vcc_lo
; %bb.5:                                ; %.sink.split
	s_or_b32 exec_lo, exec_lo, s0
	v_mov_b32_e32 v0, 1
	global_store_b32 v[3:4], v0, off
.LBB0_6:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17select_winner_oddPiPyS_S_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 296
		.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 9
		.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	_Z17select_winner_oddPiPyS_S_i, .Lfunc_end0-_Z17select_winner_oddPiPyS_S_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 388
; NumSgprs: 18
; NumVgprs: 9
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 9
; 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	_Z18select_winner_evenPiPyS_S_i ; -- Begin function _Z18select_winner_evenPiPyS_S_i
	.globl	_Z18select_winner_evenPiPyS_S_i
	.p2align	8
	.type	_Z18select_winner_evenPiPyS_S_i,@function
_Z18select_winner_evenPiPyS_S_i:        ; @_Z18select_winner_evenPiPyS_S_i
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x34
	s_load_b32 s3, s[0:1], 0x20
	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_6
; %bb.1:
	s_load_b256 s[0:7], s[0:1], 0x0
	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[3:4], 3, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v3, vcc_lo, s2, v3
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v4, vcc_lo, s3, v4, vcc_lo
	s_mov_b32 s2, exec_lo
	global_load_b64 v[3:4], v[3:4], off
	s_waitcnt vmcnt(0)
	v_dual_mov_b32 v6, 0 :: v_dual_mov_b32 v5, v3
	v_lshrrev_b64 v[3:4], 30, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	v_and_b32_e32 v0, -4, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v5, vcc_lo, s0, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, s1, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_3)
	v_add_co_u32 v3, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v4, vcc_lo
	s_clause 0x1
	global_load_b32 v0, v[5:6], off
	global_load_b32 v3, v[3:4], off
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e64 v0, v3
	s_xor_b32 s2, exec_lo, s2
	s_cbranch_execz .LBB1_3
; %bb.2:
	v_max_i32_e32 v1, v0, v3
	v_min_i32_e32 v0, v0, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s0, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	global_load_b32 v2, v[1:2], off
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_add_co_u32 v0, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[0:1], v2, off
                                        ; implicit-def: $vgpr1_vgpr2
.LBB1_3:                                ; %Flow
	s_or_saveexec_b32 s0, s2
	v_dual_mov_b32 v3, s6 :: v_dual_mov_b32 v4, s7
	s_xor_b32 exec_lo, exec_lo, s0
; %bb.4:
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v4, vcc_lo, s5, v1, vcc_lo
; %bb.5:                                ; %.sink.split
	s_or_b32 exec_lo, exec_lo, s0
	v_mov_b32_e32 v0, 1
	global_store_b32 v[3:4], v0, off
.LBB1_6:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z18select_winner_evenPiPyS_S_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 296
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 7
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z18select_winner_evenPiPyS_S_i, .Lfunc_end1-_Z18select_winner_evenPiPyS_S_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 384
; NumSgprs: 18
; NumVgprs: 7
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 7
; Occupancy: 16
; WaveLimiterHint : 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	_Z4jumpPiiS_            ; -- Begin function _Z4jumpPiiS_
	.globl	_Z4jumpPiiS_
	.p2align	8
	.type	_Z4jumpPiiS_,@function
_Z4jumpPiiS_:                           ; @_Z4jumpPiiS_
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	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[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_b64 s[2:3], s[0:1], 0x0
	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 v0, vcc_lo, s2, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v1, vcc_lo, s3, v1, vcc_lo
	global_load_b32 v3, v[0:1], off
	s_waitcnt vmcnt(0)
	v_ashrrev_i32_e32 v4, 31, v3
	v_lshlrev_b64 v[4:5], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v4, vcc_lo, s2, v4
	v_add_co_ci_u32_e32 v5, vcc_lo, s3, v5, vcc_lo
	global_load_b32 v2, v[4:5], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, v3, v2
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB2_3
; %bb.2:
	s_load_b64 s[0:1], s[0:1], 0x10
	v_dual_mov_b32 v3, 0 :: v_dual_mov_b32 v4, 1
	global_store_b32 v[0:1], v2, off
	s_waitcnt lgkmcnt(0)
	global_store_b32 v3, v4, s[0:1]
.LBB2_3:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z4jumpPiiS_
		.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 6
		.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	_Z4jumpPiiS_, .Lfunc_end2-_Z4jumpPiiS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 216
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         44
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         52
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         54
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         56
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         58
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         60
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         62
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         104
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 296
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z17select_winner_oddPiPyS_S_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z17select_winner_oddPiPyS_S_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     9
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         44
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         52
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         54
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         56
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         58
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         60
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         62
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         104
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 296
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z18select_winner_evenPiPyS_S_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z18select_winner_evenPiPyS_S_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     7
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .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:           _Z4jumpPiiS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z4jumpPiiS_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
