/**
 File name: bfs_cpu_stl.cu
 Author: Yuede Ji
 Last update: 10:27 10-02-2015
 Description: Using stl queue to implement the easiest version of bfs.

**/

#include <stdio.h>
#include <queue>
#include <stdlib.h>
#include <string.h>

using namespace std;

#define N 1025

char filein[] = "/home/yuede/dataset/kron_10_4.dat";
char fileout[] = "/home/yuede/dataset/kron_10_4.stl";

queue<int> q;

int edge[N][N];
int visit[N];
int dist[N];
int bfs(int root)
{
    memset(dist, 0, sizeof(int) * N);
    q.push(root);
    while(!q.empty())
    {
        int bottom = q.front();
        q.pop();
        for(int i=0; edge[bottom][i]!=0; ++i)
        {
            int v = edge[bottom][i];
            if(visit[v])
                continue;
            dist[v] = dist[bottom] + 1;
            q.push(v);
            visit[v] = 1;
        }
    }
    return 0;
}
int main()
{
    FILE *fp_in = fopen(filein, "r");
    ///fscanf(fp, "%d", &n);
    ///printf("%d\n", n); 
    int v, e;
    int num_v=0;
    memset(edge, 0, N*N*sizeof(int));
    memset(visit, 0, N*sizeof(int));
    while(fscanf(fp_in, "%d %d", &v, &e)!=EOF)
    {
        ++num_v;
        for(int i=0; i<e; ++i)
        {
            int v1;
            fscanf(fp_in, "%d", &v1);
            edge[v][i] = v1;//v->v1
        }
    }
    fclose(fp_in);
    bfs(0);
    //printf("num_v = %d\n", num_v);
    FILE * fp_out = fopen(fileout, "w");
    for(int i=0; i<num_v; ++i)
        fprintf(fp_out, "distance[0][%d] = %d\n", i, dist[i]);
    fclose(fp_out);
    printf("Finished!\n");
    return 0;
}

	.file	"tmpxft_0028795d_00000000-6_bfs_cpu_stl.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB3165:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE3165:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.text._ZNSt5queueIiSt5dequeIiSaIiEEED2Ev,"axG",@progbits,_ZNSt5queueIiSt5dequeIiSaIiEEED5Ev,comdat
	.align 2
	.weak	_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev
	.type	_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev, @function
_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev:
.LFB3435:
	.cfi_startproc
	endbr64
	cmpq	$0, (%rdi)
	je	.L2
	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	72(%rdi), %rax
	movq	%rdi, %rbx
	movq	40(%rdi), %rbp
	leaq	8(%rax), %r12
.L4:
	cmpq	%r12, %rbp
	jnb	.L10
	movq	0(%rbp), %rdi
	movl	$512, %esi
	addq	$8, %rbp
	call	_ZdlPvm@PLT
	jmp	.L4
.L10:
	movq	8(%rbx), %rax
	movq	(%rbx), %rdi
	popq	%rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	leaq	0(,%rax,8), %rsi
	popq	%r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	_ZdlPvm@PLT
.L2:
	ret
	.cfi_endproc
.LFE3435:
	.size	_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev, .-_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev
	.weak	_ZNSt5queueIiSt5dequeIiSaIiEEED1Ev
	.set	_ZNSt5queueIiSt5dequeIiSaIiEEED1Ev,_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB3188:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	movq	%rax, %rdi
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE3188:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.rodata._ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cannot create std::deque larger than max_size()"
	.section	.text._ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_,"axG",@progbits,_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_,comdat
	.align 2
	.weak	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
	.type	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_, @function
_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_:
.LFB3337:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 64
	movq	72(%rdi), %rdx
	movq	40(%rdi), %rsi
	movq	48(%rdi), %rax
	movq	%rdx, %r13
	subq	56(%rdi), %rax
	subq	%rsi, %r13
	sarq	$2, %rax
	movq	%r13, %rbp
	sarq	$3, %rbp
	cmpq	$1, %rdx
	movq	%rbp, %rcx
	adcq	$-1, %rcx
	salq	$7, %rcx
	addq	%rcx, %rax
	movq	32(%rdi), %rcx
	subq	16(%rdi), %rcx
	movabsq	$2305843009213693951, %rdi
	sarq	$2, %rcx
	addq	%rcx, %rax
	cmpq	%rdi, %rax
	jne	.L14
	leaq	.LC0(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L14:
	movq	(%rbx), %r8
	movq	8(%rbx), %rax
	movq	%rdx, %rcx
	subq	%r8, %rcx
	movq	%rax, %r9
	sarq	$3, %rcx
	subq	%rcx, %r9
	cmpq	$1, %r9
	ja	.L15
	addq	$2, %rbp
	leaq	0(%rbp,%rbp), %rcx
	cmpq	%rax, %rcx
	jnb	.L16
	subq	%rbp, %rax
	addq	$8, %rdx
	shrq	%rax
	subq	%rsi, %rdx
	leaq	(%r8,%rax,8), %rbp
	cmpq	%rsi, %rbp
	jnb	.L17
	movq	%rbp, %rdi
	cmpq	$8, %rdx
	jg	.L28
	jne	.L22
	movq	(%rsi), %rax
	movq	%rax, 0(%rbp)
	jmp	.L22
.L17:
	leaq	8(%rbp,%r13), %rdi
	cmpq	$8, %rdx
	jle	.L20
	subq	%rdx, %rdi
.L28:
	call	memmove@PLT
	jmp	.L22
.L20:
	jne	.L22
	movq	(%rsi), %rax
	movq	%rax, -8(%rdi)
	jmp	.L22
.L16:
	testq	%rax, %rax
	movl	$1, %edx
	cmovne	%rax, %rdx
	leaq	2(%rax,%rdx), %r14
	movabsq	$1152921504606846975, %rax
	cmpq	%r14, %rax
	jnb	.L23
	cmpq	%r14, %rdi
	jnb	.L24
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L24:
	call	_ZSt17__throw_bad_allocv@PLT
.L23:
	leaq	0(,%r14,8), %rdi
	call	_Znwm@PLT
	movq	40(%rbx), %rsi
	movq	%rax, %r15
	movq	%r14, %rax
	subq	%rbp, %rax
	shrq	%rax
	leaq	(%r15,%rax,8), %rbp
	movq	72(%rbx), %rax
	leaq	8(%rax), %rdx
	subq	%rsi, %rdx
	cmpq	$8, %rdx
	jle	.L25
	movq	%rbp, %rdi
	call	memmove@PLT
	jmp	.L26
.L25:
	jne	.L26
	movq	(%rsi), %rax
	movq	%rax, 0(%rbp)
.L26:
	movq	8(%rbx), %rax
	movq	(%rbx), %rdi
	leaq	0(,%rax,8), %rsi
	call	_ZdlPvm@PLT
	movq	%r15, (%rbx)
	movq	%r14, 8(%rbx)
.L22:
	movq	0(%rbp), %rax
	movq	%rbp, 40(%rbx)
	addq	%r13, %rbp
	movq	%rbp, 72(%rbx)
	movq	%rax, 24(%rbx)
	addq	$512, %rax
	movq	%rax, 32(%rbx)
	movq	0(%rbp), %rax
	movq	%rax, 56(%rbx)
	addq	$512, %rax
	movq	%rax, 64(%rbx)
.L15:
	movq	72(%rbx), %rbp
	movl	$512, %edi
	call	_Znwm@PLT
	movl	(%r12), %edx
	movq	%rax, 8(%rbp)
	movq	48(%rbx), %rax
	movl	%edx, (%rax)
	movq	72(%rbx), %rax
	leaq	8(%rax), %rdx
	movq	8(%rax), %rax
	movq	%rdx, 72(%rbx)
	leaq	512(%rax), %rdx
	movq	%rax, 56(%rbx)
	movq	%rdx, 64(%rbx)
	movq	%rax, 48(%rbx)
	popq	%rax
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3337:
	.size	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_, .-_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
	.section	.text._ZNSt5dequeIiSaIiEE9push_backERKi,"axG",@progbits,_ZNSt5dequeIiSaIiEE9push_backERKi,comdat
	.align 2
	.weak	_ZNSt5dequeIiSaIiEE9push_backERKi
	.type	_ZNSt5dequeIiSaIiEE9push_backERKi, @function
_ZNSt5dequeIiSaIiEE9push_backERKi:
.LFB3297:
	.cfi_startproc
	endbr64
	movq	64(%rdi), %rcx
	movq	48(%rdi), %rax
	leaq	-4(%rcx), %rdx
	cmpq	%rdx, %rax
	je	.L30
	movl	(%rsi), %edx
	addq	$4, %rax
	movl	%edx, -4(%rax)
	movq	%rax, 48(%rdi)
	ret
.L30:
	jmp	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
	.cfi_endproc
.LFE3297:
	.size	_ZNSt5dequeIiSaIiEE9push_backERKi, .-_ZNSt5dequeIiSaIiEE9push_backERKi
	.text
	.globl	_Z3bfsi
	.type	_Z3bfsi, @function
_Z3bfsi:
.LFB3161:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$1025, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	edge(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	dist(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movl	%edi, 12(%rsp)
	movq	%rbp, %rdi
	leaq	12(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	rep stosl
	leaq	q(%rip), %rdi
	call	_ZNSt5dequeIiSaIiEE9push_backERKi
.L34:
	movq	16+q(%rip), %rax
	cmpq	%rax, 48+q(%rip)
	je	.L43
	movq	32+q(%rip), %rcx
	movq	24+q(%rip), %rdi
	movslq	(%rax), %r15
	leaq	-4(%rcx), %rdx
	cmpq	%rdx, %rax
	je	.L35
	addq	$4, %rax
	jmp	.L36
.L35:
	movl	$512, %esi
	call	_ZdlPvm@PLT
	movq	40+q(%rip), %rax
	leaq	8(%rax), %rdx
	movq	8(%rax), %rax
	movq	%rdx, 40+q(%rip)
	leaq	512(%rax), %rdx
	movq	%rax, 24+q(%rip)
	movq	%rdx, 32+q(%rip)
.L36:
	imulq	$4100, %r15, %r14
	movq	%rax, 16+q(%rip)
	leaq	visit(%rip), %r12
	addq	%r13, %r14
.L37:
	movslq	(%r14), %rbx
	testl	%ebx, %ebx
	je	.L34
	cmpl	$0, (%r12,%rbx,4)
	movl	%ebx, 20(%rsp)
	jne	.L38
	movl	0(%rbp,%r15,4), %eax
	leaq	20(%rsp), %rsi
	leaq	q(%rip), %rdi
	incl	%eax
	movl	%eax, 0(%rbp,%rbx,4)
	call	_ZNSt5dequeIiSaIiEE9push_backERKi
	movl	$1, (%r12,%rbx,4)
.L38:
	addq	$4, %r14
	jmp	.L37
.L43:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	addq	$40, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3161:
	.size	_Z3bfsi, .-_Z3bfsi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"r"
.LC2:
	.string	"%d"
.LC3:
	.string	"%d %d"
.LC4:
	.string	"w"
.LC5:
	.string	"distance[0][%d] = %d\n"
.LC6:
	.string	"Finished!\n"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB3162:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	filein(%rip), %rdi
	leaq	.LC1(%rip), %rsi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	edge(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	call	fopen@PLT
	movl	$1050625, %ecx
	movq	%r12, %rdi
	leaq	visit(%rip), %rdx
	movq	%rax, %rbx
	xorl	%eax, %eax
	rep stosl
	movl	$1025, %ecx
	movq	%rdx, %rdi
	rep stosl
.L45:
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	movq	%r13, %rsi
	movq	%rbx, %rdi
	call	__isoc23_fscanf@PLT
	incl	%eax
	je	.L53
	incl	%ebp
	xorl	%r15d, %r15d
	leaq	.LC2(%rip), %r14
.L46:
	cmpl	%r15d, 16(%rsp)
	jle	.L45
	leaq	20(%rsp), %rdx
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc23_fscanf@PLT
	movslq	12(%rsp), %rax
	movslq	%r15d, %rdx
	incl	%r15d
	imulq	$1025, %rax, %rax
	addq	%rdx, %rax
	movl	20(%rsp), %edx
	movl	%edx, (%r12,%rax,4)
	jmp	.L46
.L53:
	movq	%rbx, %rdi
	leaq	dist(%rip), %r13
	xorl	%ebx, %ebx
	call	fclose@PLT
	xorl	%edi, %edi
	call	_Z3bfsi
	leaq	.LC4(%rip), %rsi
	leaq	fileout(%rip), %rdi
	call	fopen@PLT
	movq	%rax, %r12
.L49:
	movl	%ebx, %ecx
	cmpl	%ebx, %ebp
	jle	.L54
	movl	0(%r13,%rbx,4), %r8d
	movl	$2, %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdx
	incq	%rbx
	call	__fprintf_chk@PLT
	jmp	.L49
.L54:
	movq	%r12, %rdi
	call	fclose@PLT
	xorl	%eax, %eax
	movl	$2, %edi
	leaq	.LC6(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	addq	$40, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3162:
	.size	main, .-main
	.type	_GLOBAL__sub_I_filein, @function
_GLOBAL__sub_I_filein:
.LFB3437:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3437
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xorl	%edx, %edx
	movl	$64, %edi
	movq	%rdx, q(%rip)
	movq	%rdx, 16+q(%rip)
	movq	%rdx, 24+q(%rip)
	movq	%rdx, 32+q(%rip)
	movq	%rdx, 40+q(%rip)
	movq	%rdx, 48+q(%rip)
	movq	%rdx, 56+q(%rip)
	movq	%rdx, 64+q(%rip)
	movq	%rdx, 72+q(%rip)
	movq	$8, 8+q(%rip)
.LEHB0:
	call	_Znwm@PLT
.LEHE0:
	movq	8+q(%rip), %rdx
	movl	$512, %edi
	movq	%rax, q(%rip)
	leaq	-4(,%rdx,4), %rdx
	andq	$-8, %rdx
	leaq	(%rax,%rdx), %rbx
.LEHB1:
	call	_Znwm@PLT
.LEHE1:
	movq	%rax, (%rbx)
	leaq	512(%rax), %rdx
	leaq	q(%rip), %rsi
	movq	%rbx, 40+q(%rip)
	leaq	_ZNSt5queueIiSt5dequeIiSaIiEEED1Ev(%rip), %rdi
	movq	%rdx, 32+q(%rip)
	movq	%rbx, 72+q(%rip)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	movq	%rdx, 64+q(%rip)
	leaq	__dso_handle(%rip), %rdx
	movq	%rax, 24+q(%rip)
	movq	%rax, 56+q(%rip)
	movq	%rax, 16+q(%rip)
	movq	%rax, 48+q(%rip)
	jmp	__cxa_atexit@PLT
.L60:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L56:
	call	__cxa_begin_catch@PLT
.LEHB2:
	call	__cxa_rethrow@PLT
.LEHE2:
.L61:
	endbr64
	movq	%rax, %rbx
.L57:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
	call	__cxa_begin_catch@PLT
	movq	8+q(%rip), %rax
	movq	q(%rip), %rdi
	leaq	0(,%rax,8), %rsi
	call	_ZdlPvm@PLT
	xorl	%eax, %eax
	movq	%rax, q(%rip)
	movq	%rax, 8+q(%rip)
.LEHB3:
	call	__cxa_rethrow@PLT
.LEHE3:
.L59:
	endbr64
	movq	%rax, %rbx
.L58:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB4:
	call	_Unwind_Resume@PLT
.LEHE4:
	.cfi_endproc
.LFE3437:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
	.align 4
.LLSDA3437:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT3437-.LLSDATTD3437
.LLSDATTD3437:
	.byte	0x1
	.uleb128 .LLSDACSE3437-.LLSDACSB3437
.LLSDACSB3437:
	.uleb128 .LEHB0-.LFB3437
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB3437
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L60-.LFB3437
	.uleb128 0x1
	.uleb128 .LEHB2-.LFB3437
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L61-.LFB3437
	.uleb128 0x3
	.uleb128 .LEHB3-.LFB3437
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L59-.LFB3437
	.uleb128 0
	.uleb128 .LEHB4-.LFB3437
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
.LLSDACSE3437:
	.byte	0x1
	.byte	0
	.byte	0
	.byte	0x7d
	.align 4
	.long	0

.LLSDATT3437:
	.section	.text.startup
	.size	_GLOBAL__sub_I_filein, .-_GLOBAL__sub_I_filein
	.section	.init_array
	.align 8
	.quad	_GLOBAL__sub_I_filein
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.globl	dist
	.bss
	.align 32
	.type	dist, @object
	.size	dist, 4100
dist:
	.zero	4100
	.globl	visit
	.align 32
	.type	visit, @object
	.size	visit, 4100
visit:
	.zero	4100
	.globl	edge
	.align 32
	.type	edge, @object
	.size	edge, 4202500
edge:
	.zero	4202500
	.globl	q
	.align 32
	.type	q, @object
	.size	q, 80
q:
	.zero	80
	.globl	fileout
	.data
	.align 32
	.type	fileout, @object
	.size	fileout, 34
fileout:
	.string	"/home/yuede/dataset/kron_10_4.stl"
	.globl	filein
	.align 32
	.type	filein, @object
	.size	filein, 34
filein:
	.string	"/home/yuede/dataset/kron_10_4.dat"
	.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
	.hidden	__dso_handle
	.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:

/**
 File name: bfs_cpu_stl.cu
 Author: Yuede Ji
 Last update: 10:27 10-02-2015
 Description: Using stl queue to implement the easiest version of bfs.

**/


#include <hip/hip_runtime.h>
#include <stdio.h>
#include <queue>
#include <stdlib.h>
#include <string.h>

using namespace std;

#define N 1025

char filein[] = "/home/yuede/dataset/kron_10_4.dat";
char fileout[] = "/home/yuede/dataset/kron_10_4.stl";

queue<int> q;

int edge[N][N];
int visit[N];
int dist[N];
int bfs(int root)
{
    memset(dist, 0, sizeof(int) * N);
    q.push(root);
    while(!q.empty())
    {
        int bottom = q.front();
        q.pop();
        for(int i=0; edge[bottom][i]!=0; ++i)
        {
            int v = edge[bottom][i];
            if(visit[v])
                continue;
            dist[v] = dist[bottom] + 1;
            q.push(v);
            visit[v] = 1;
        }
    }
    return 0;
}
int main()
{
    FILE *fp_in = fopen(filein, "r");
    ///fscanf(fp, "%d", &n);
    ///printf("%d\n", n); 
    int v, e;
    int num_v=0;
    memset(edge, 0, N*N*sizeof(int));
    memset(visit, 0, N*sizeof(int));
    while(fscanf(fp_in, "%d %d", &v, &e)!=EOF)
    {
        ++num_v;
        for(int i=0; i<e; ++i)
        {
            int v1;
            fscanf(fp_in, "%d", &v1);
            edge[v][i] = v1;//v->v1
        }
    }
    fclose(fp_in);
    bfs(0);
    //printf("num_v = %d\n", num_v);
    FILE * fp_out = fopen(fileout, "w");
    for(int i=0; i<num_v; ++i)
        fprintf(fp_out, "distance[0][%d] = %d\n", i, dist[i]);
    fclose(fp_out);
    printf("Finished!\n");
    return 0;
}

	.text
	.file	"bfs_cpu_stl.hip"
	.section	.text._ZNSt5queueIiSt5dequeIiSaIiEEED2Ev,"axG",@progbits,_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev,comdat
	.weak	_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev # -- Begin function _ZNSt5queueIiSt5dequeIiSaIiEEED2Ev
	.p2align	1, 0x90
	.type	_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev,@function
_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev:     # @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev
	.cfi_startproc
# %bb.0:
	jmp	_ZNSt11_Deque_baseIiSaIiEED2Ev  # TAILCALL
.Lfunc_end0:
	.size	_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev, .Lfunc_end0-_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z3bfsi                         # -- Begin function _Z3bfsi
	.type	_Z3bfsi,@function
_Z3bfsi:                                # @_Z3bfsi
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movl	%edi, %ebx
	movl	%edi, 12(%rsp)
	movl	$dist, %edi
	movl	$4100, %edx                     # imm = 0x1004
	xorl	%esi, %esi
	callq	memset@PLT
	movq	q+48(%rip), %rax
	movq	q+64(%rip), %rcx
	addq	$-4, %rcx
	cmpq	%rcx, %rax
	je	.LBB1_2
# %bb.1:
	movl	%ebx, (%rax)
	addq	$4, %rax
	movq	%rax, q+48(%rip)
	jmp	.LBB1_3
.LBB1_2:
	leaq	12(%rsp), %rsi
	movl	$q, %edi
	callq	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
	movq	q+48(%rip), %rax
.LBB1_3:                                # %_ZNSt5queueIiSt5dequeIiSaIiEEE4pushERKi.exit
	movq	q+16(%rip), %rcx
	cmpq	%rcx, %rax
	je	.LBB1_14
# %bb.4:
	leaq	8(%rsp), %rbx
.LBB1_6:                                # %.lr.ph11
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_8 Depth 2
	movslq	(%rcx), %r14
	movl	$q, %edi
	callq	_ZNSt5dequeIiSaIiEE9pop_frontEv
	movq	%r14, %rcx
	shlq	$12, %rcx
	movl	edge(%rcx,%r14,4), %eax
	testl	%eax, %eax
	je	.LBB1_5
# %bb.7:                                # %.lr.ph
                                        #   in Loop: Header=BB1_6 Depth=1
	leaq	(%rcx,%r14,4), %r15
	addq	$edge+4, %r15
.LBB1_8:                                #   Parent Loop BB1_6 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	%eax, 8(%rsp)
	movslq	%eax, %rcx
	cmpl	$0, visit(,%rcx,4)
	jne	.LBB1_13
# %bb.9:                                #   in Loop: Header=BB1_8 Depth=2
	movl	dist(,%r14,4), %edx
	incl	%edx
	movl	%edx, dist(,%rcx,4)
	movq	q+48(%rip), %rcx
	movq	q+64(%rip), %rdx
	addq	$-4, %rdx
	cmpq	%rdx, %rcx
	je	.LBB1_11
# %bb.10:                               #   in Loop: Header=BB1_8 Depth=2
	movl	%eax, (%rcx)
	addq	$4, %rcx
	movq	%rcx, q+48(%rip)
	jmp	.LBB1_12
.LBB1_11:                               #   in Loop: Header=BB1_8 Depth=2
	movl	$q, %edi
	movq	%rbx, %rsi
	callq	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
.LBB1_12:                               # %_ZNSt5queueIiSt5dequeIiSaIiEEE4pushERKi.exit8
                                        #   in Loop: Header=BB1_8 Depth=2
	movslq	8(%rsp), %rax
	movl	$1, visit(,%rax,4)
.LBB1_13:                               #   in Loop: Header=BB1_8 Depth=2
	movl	(%r15), %eax
	addq	$4, %r15
	testl	%eax, %eax
	jne	.LBB1_8
.LBB1_5:                                # %.loopexit
                                        #   in Loop: Header=BB1_6 Depth=1
	movq	q+16(%rip), %rcx
	cmpq	%rcx, q+48(%rip)
	jne	.LBB1_6
.LBB1_14:                               # %._crit_edge
	xorl	%eax, %eax
	addq	$16, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z3bfsi, .Lfunc_end1-_Z3bfsi
	.cfi_endproc
                                        # -- End function
	.globl	main                            # -- Begin function main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$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
	movl	$filein, %edi
	movl	$.L.str, %esi
	callq	fopen
	movq	%rax, %rbx
	xorl	%ebp, %ebp
	movl	$edge, %edi
	movl	$4202500, %edx                  # imm = 0x402004
	xorl	%esi, %esi
	callq	memset@PLT
	movl	$visit, %edi
	movl	$4100, %edx                     # imm = 0x1004
	xorl	%esi, %esi
	callq	memset@PLT
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rcx
	movl	$.L.str.1, %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	cmpl	$-1, %eax
	je	.LBB2_6
# %bb.1:                                # %.lr.ph18.preheader
	leaq	20(%rsp), %r14
	leaq	16(%rsp), %r15
	leaq	12(%rsp), %r12
	xorl	%ebp, %ebp
.LBB2_3:                                # %.lr.ph18
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_5 Depth 2
	cmpl	$0, 12(%rsp)
	jle	.LBB2_2
# %bb.4:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB2_3 Depth=1
	xorl	%r13d, %r13d
.LBB2_5:                                # %.lr.ph
                                        #   Parent Loop BB2_3 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	$.L.str.2, %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	movl	20(%rsp), %eax
	movslq	16(%rsp), %rcx
	movq	%rcx, %rdx
	shlq	$12, %rdx
	leaq	(%rdx,%rcx,4), %rcx
	movl	%eax, edge(%rcx,%r13,4)
	incq	%r13
	movslq	12(%rsp), %rax
	cmpq	%rax, %r13
	jl	.LBB2_5
.LBB2_2:                                # %.loopexit
                                        #   in Loop: Header=BB2_3 Depth=1
	incl	%ebp
	movl	$.L.str.1, %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	cmpl	$-1, %eax
	jne	.LBB2_3
.LBB2_6:                                # %._crit_edge
	movq	%rbx, %rdi
	callq	fclose
	xorl	%edi, %edi
	callq	_Z3bfsi
	movl	$fileout, %edi
	movl	$.L.str.3, %esi
	callq	fopen
	movq	%rax, %rbx
	testl	%ebp, %ebp
	je	.LBB2_9
# %bb.7:                                # %.lr.ph21.preheader
	movl	%ebp, %r15d
	xorl	%r14d, %r14d
.LBB2_8:                                # %.lr.ph21
                                        # =>This Inner Loop Header: Depth=1
	movl	dist(,%r14,4), %ecx
	movl	$.L.str.4, %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	fprintf
	incq	%r14
	cmpq	%r14, %r15
	jne	.LBB2_8
.LBB2_9:                                # %._crit_edge22
	movq	%rbx, %rdi
	callq	fclose
	movl	$.Lstr, %edi
	callq	puts@PLT
	xorl	%eax, %eax
	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_end2:
	.size	main, .Lfunc_end2-main
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end3:
	.size	__clang_call_terminate, .Lfunc_end3-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt11_Deque_baseIiSaIiEED2Ev,"axG",@progbits,_ZNSt11_Deque_baseIiSaIiEED2Ev,comdat
	.weak	_ZNSt11_Deque_baseIiSaIiEED2Ev  # -- Begin function _ZNSt11_Deque_baseIiSaIiEED2Ev
	.p2align	1, 0x90
	.type	_ZNSt11_Deque_baseIiSaIiEED2Ev,@function
_ZNSt11_Deque_baseIiSaIiEED2Ev:         # @_ZNSt11_Deque_baseIiSaIiEED2Ev
	.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	(%rdi), %rdi
	testq	%rdi, %rdi
	je	.LBB4_6
# %bb.1:
	movq	40(%rbx), %r14
	movq	72(%rbx), %r15
	leaq	8(%r15), %rax
	cmpq	%rax, %r14
	jae	.LBB4_5
# %bb.2:                                # %.lr.ph.i.preheader
	addq	$-8, %r14
.LBB4_3:                                # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	$8, %r14
	callq	_ZdlPv
	cmpq	%r15, %r14
	jb	.LBB4_3
# %bb.4:                                # %_ZNSt11_Deque_baseIiSaIiEE16_M_destroy_nodesEPPiS3_.exit.loopexit
	movq	(%rbx), %rdi
.LBB4_5:                                # %_ZNSt11_Deque_baseIiSaIiEE16_M_destroy_nodesEPPiS3_.exit
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB4_6:
	.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_end4:
	.size	_ZNSt11_Deque_baseIiSaIiEED2Ev, .Lfunc_end4-_ZNSt11_Deque_baseIiSaIiEED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm,"axG",@progbits,_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm,comdat
	.weak	_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm # -- Begin function _ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm
	.p2align	1, 0x90
	.type	_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm,@function
_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm: # @_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm
.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	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %r12
	shrq	$7, %r12
	leaq	1(%r12), %r15
	cmpq	$6, %r12
	movl	$5, %esi
	cmovaeq	%r12, %rsi
	addq	$3, %rsi
	movq	%rsi, 8(%rdi)
	leaq	7(%rsp), %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIPiE8allocateEmPKv
	movq	%rax, (%rbx)
	movq	8(%rbx), %rcx
	subq	%r15, %rcx
	andq	$-2, %rcx
	leaq	(%rax,%rcx,4), %r15
	leaq	(%r15,%r12,8), %rdx
	addq	$8, %rdx
.Ltmp0:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_
.Ltmp1:
# %bb.1:
	movq	%r15, 40(%rbx)
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	movl	$512, %ecx                      # imm = 0x200
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, 32(%rbx)
	leaq	(%r15,%r12,8), %rdx
	movq	%rdx, 72(%rbx)
	movq	(%rdx), %rdx
	movq	%rdx, 56(%rbx)
	addq	%rdx, %rcx
	movq	%rcx, 64(%rbx)
	movq	%rax, 16(%rbx)
	andl	$127, %r14d
	leaq	(%rdx,%r14,4), %rax
	movq	%rax, 48(%rbx)
	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
.LBB5_5:
	.cfi_def_cfa_offset 48
.Ltmp2:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	(%rbx), %rdi
	callq	_ZdlPv
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
.Ltmp3:
	callq	__cxa_rethrow
.Ltmp4:
# %bb.6:
.LBB5_2:
.Ltmp5:
	movq	%rax, %rbx
.Ltmp6:
	callq	__cxa_end_catch
.Ltmp7:
# %bb.3:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB5_4:
.Ltmp8:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end5:
	.size	_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm, .Lfunc_end5-_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm
	.cfi_endproc
	.section	.gcc_except_table._ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm,"aG",@progbits,_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm,comdat
	.p2align	2, 0x0
GCC_except_table5:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp1-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp3-.Ltmp1                  #   Call between .Ltmp1 and .Ltmp3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 5 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin0           #     jumps to .Ltmp8
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp7-.Lfunc_begin0           # >> Call Site 6 <<
	.uleb128 .Lfunc_end5-.Ltmp7             #   Call between .Ltmp7 and .Lfunc_end5
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_,"axG",@progbits,_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_,comdat
	.weak	_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_ # -- Begin function _ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_
	.p2align	1, 0x90
	.type	_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_,@function
_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_: # @_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %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
	cmpq	%rdx, %rsi
	jae	.LBB6_4
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, %r15
.LBB6_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
.Ltmp9:
	movl	$512, %edi                      # imm = 0x200
	callq	_Znwm
.Ltmp10:
# %bb.3:                                # %_ZNSt11_Deque_baseIiSaIiEE16_M_allocate_nodeEv.exit
                                        #   in Loop: Header=BB6_2 Depth=1
	movq	%rax, (%r15)
	addq	$8, %r15
	cmpq	%r14, %r15
	jb	.LBB6_2
.LBB6_4:                                # %._crit_edge
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB6_5:
	.cfi_def_cfa_offset 32
.Ltmp11:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	cmpq	%rbx, %r15
	jbe	.LBB6_7
.LBB6_6:                                # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_ZdlPv
	addq	$8, %rbx
	cmpq	%r15, %rbx
	jb	.LBB6_6
.LBB6_7:                                # %_ZNSt11_Deque_baseIiSaIiEE16_M_destroy_nodesEPPiS3_.exit
.Ltmp12:
	callq	__cxa_rethrow
.Ltmp13:
# %bb.11:
.LBB6_8:
.Ltmp14:
	movq	%rax, %rbx
.Ltmp15:
	callq	__cxa_end_catch
.Ltmp16:
# %bb.9:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB6_10:
.Ltmp17:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end6:
	.size	_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_, .Lfunc_end6-_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_,"aG",@progbits,_ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_,comdat
	.p2align	2, 0x0
GCC_except_table6:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Ltmp9-.Lfunc_begin1           # >> Call Site 1 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin1          #     jumps to .Ltmp11
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp10-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp12-.Ltmp10                #   Call between .Ltmp10 and .Ltmp12
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp12-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Ltmp13-.Ltmp12                #   Call between .Ltmp12 and .Ltmp13
	.uleb128 .Ltmp14-.Lfunc_begin1          #     jumps to .Ltmp14
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp15-.Lfunc_begin1          # >> Call Site 4 <<
	.uleb128 .Ltmp16-.Ltmp15                #   Call between .Ltmp15 and .Ltmp16
	.uleb128 .Ltmp17-.Lfunc_begin1          #     jumps to .Ltmp17
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp16-.Lfunc_begin1          # >> Call Site 5 <<
	.uleb128 .Lfunc_end6-.Ltmp16            #   Call between .Ltmp16 and .Lfunc_end6
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIPiE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIPiE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIPiE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIPiE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIPiE8allocateEmPKv,@function
_ZNSt15__new_allocatorIPiE8allocateEmPKv: # @_ZNSt15__new_allocatorIPiE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB7_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB7_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB7_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB7_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end7:
	.size	_ZNSt15__new_allocatorIPiE8allocateEmPKv, .Lfunc_end7-_ZNSt15__new_allocatorIPiE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_,"axG",@progbits,_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_,comdat
	.weak	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_ # -- Begin function _ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
	.p2align	1, 0x90
	.type	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_,@function
_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_: # @_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
	.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	72(%rdi), %r15
	movq	%r15, %rax
	subq	40(%rdi), %rax
	shrq	$3, %rax
	cmpq	$1, %r15
	adcq	$-1, %rax
	shlq	$7, %rax
	movq	32(%rdi), %rcx
	movq	48(%rdi), %rdx
	subq	56(%rdi), %rdx
	sarq	$2, %rdx
	subq	16(%rdi), %rcx
	sarq	$2, %rcx
	addq	%rdx, %rcx
	addq	%rax, %rcx
	movabsq	$2305843009213693951, %rax      # imm = 0x1FFFFFFFFFFFFFFF
	cmpq	%rax, %rcx
	je	.LBB8_4
# %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%r15, %rax
	subq	(%rdi), %rax
	movq	8(%rdi), %rcx
	sarq	$3, %rax
	subq	%rax, %rcx
	cmpq	$1, %rcx
	ja	.LBB8_3
# %bb.2:
	movl	$1, %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb
	movq	72(%rbx), %r15
.LBB8_3:                                # %_ZNSt5dequeIiSaIiEE22_M_reserve_map_at_backEm.exit
	movl	$512, %edi                      # imm = 0x200
	callq	_Znwm
	movq	%rax, 8(%r15)
	movq	48(%rbx), %rax
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
	movq	72(%rbx), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 72(%rbx)
	movq	8(%rax), %rax
	movq	%rax, 56(%rbx)
	leaq	512(%rax), %rcx
	movq	%rcx, 64(%rbx)
	movq	%rax, 48(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB8_4:
	.cfi_def_cfa_offset 32
	movl	$.L.str.6, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end8:
	.size	_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_, .Lfunc_end8-_ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb,"axG",@progbits,_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb,comdat
	.weak	_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb # -- Begin function _ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb
	.p2align	1, 0x90
	.type	_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb,@function
_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb: # @_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb
	.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
	movl	%edx, %r8d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	72(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	40(%rdi), %rsi
	subq	%rsi, %rax
	movq	%rax, %r13
	sarq	$3, %r13
	leaq	(%r14,%r13), %r12
	incq	%r12
	incq	%r13
	leaq	(%r12,%r12), %rdx
	cmpq	%rdx, %rcx
	jbe	.LBB9_4
# %bb.1:
	subq	%r12, %rcx
	andq	$-2, %rcx
	shlq	$2, %rcx
	addq	(%rbx), %rcx
	xorl	%edx, %edx
	testb	%r8b, %r8b
	cmovneq	%r14, %rdx
	leaq	(%rcx,%rdx,8), %r14
	leaq	8(%rax), %rdx
	cmpq	%rsi, %r14
	jae	.LBB9_7
# %bb.2:
	cmpq	$9, %rdx
	jl	.LBB9_13
# %bb.3:
	movq	%r14, %rdi
	jmp	.LBB9_9
.LBB9_4:
	cmpq	%r14, %rcx
	movq	%r14, %rax
	cmovaq	%rcx, %rax
	leaq	(%rcx,%rax), %rbp
	addq	$2, %rbp
	xorl	%r15d, %r15d
	leaq	11(%rsp), %rdi
	movq	%rbp, %rsi
	xorl	%edx, %edx
	movl	%r8d, 12(%rsp)                  # 4-byte Spill
	callq	_ZNSt15__new_allocatorIPiE8allocateEmPKv
	movq	%rbp, 16(%rsp)                  # 8-byte Spill
	subq	%r12, %rbp
	movq	%rax, %r12
	andq	$-2, %rbp
	leaq	(%rax,%rbp,4), %rax
	cmpb	$0, 12(%rsp)                    # 1-byte Folded Reload
	cmovneq	%r14, %r15
	leaq	(%rax,%r15,8), %r14
	movq	40(%rbx), %rsi
	movq	72(%rbx), %rdx
	subq	%rsi, %rdx
	addq	$8, %rdx
	cmpq	$9, %rdx
	jl	.LBB9_11
# %bb.5:
	movq	%r14, %rdi
	callq	memmove@PLT
.LBB9_6:                                # %_ZSt4copyIPPiS1_ET0_T_S3_S2_.exit24
	movq	(%rbx), %rdi
	callq	_ZdlPv
	movq	%r12, (%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	movq	%rax, 8(%rbx)
	jmp	.LBB9_10
.LBB9_7:
	movq	%rdx, %rcx
	sarq	$3, %rcx
	cmpq	$2, %rcx
	jl	.LBB9_15
# %bb.8:
	leaq	(%r14,%r13,8), %rdi
	shlq	$3, %rcx
	subq	%rcx, %rdi
.LBB9_9:                                # %_ZSt4copyIPPiS1_ET0_T_S3_S2_.exit
	callq	memmove@PLT
.LBB9_10:                               # %_ZSt4copyIPPiS1_ET0_T_S3_S2_.exit
	movq	%r14, 40(%rbx)
	movq	(%r14), %rax
	movq	%rax, 24(%rbx)
	movl	$512, %ecx                      # imm = 0x200
	addq	%rcx, %rax
	movq	%rax, 32(%rbx)
	leaq	(%r14,%r13,8), %rax
	addq	$-8, %rax
	movq	%rax, 72(%rbx)
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	addq	%rcx, %rax
	movq	%rax, 64(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB9_11:
	.cfi_def_cfa_offset 80
	cmpq	$8, %rdx
	jne	.LBB9_6
# %bb.12:
	movq	(%rsi), %rax
	movq	%rax, (%r14)
	jmp	.LBB9_6
.LBB9_13:
	cmpq	$8, %rdx
	jne	.LBB9_10
# %bb.14:
	movq	(%rsi), %rax
	movq	%rax, (%r14)
	jmp	.LBB9_10
.LBB9_15:
	cmpq	$8, %rdx
	jne	.LBB9_10
# %bb.16:
	movq	(%rsi), %rcx
	movq	%rcx, (%r14,%rax)
	jmp	.LBB9_10
.Lfunc_end9:
	.size	_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb, .Lfunc_end9-_ZNSt5dequeIiSaIiEE17_M_reallocate_mapEmb
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt5dequeIiSaIiEE9pop_frontEv,"axG",@progbits,_ZNSt5dequeIiSaIiEE9pop_frontEv,comdat
	.weak	_ZNSt5dequeIiSaIiEE9pop_frontEv # -- Begin function _ZNSt5dequeIiSaIiEE9pop_frontEv
	.p2align	1, 0x90
	.type	_ZNSt5dequeIiSaIiEE9pop_frontEv,@function
_ZNSt5dequeIiSaIiEE9pop_frontEv:        # @_ZNSt5dequeIiSaIiEE9pop_frontEv
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	32(%rdi), %rcx
	addq	$-4, %rcx
	cmpq	%rcx, %rax
	je	.LBB10_2
# %bb.1:
	addq	$4, %rax
	jmp	.LBB10_3
.LBB10_2:
	movq	24(%rbx), %rdi
	callq	_ZdlPv
	movq	40(%rbx), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 40(%rbx)
	movq	8(%rax), %rax
	movq	%rax, 24(%rbx)
	leaq	512(%rax), %rcx
	movq	%rcx, 32(%rbx)
.LBB10_3:
	movq	%rax, 16(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end10:
	.size	_ZNSt5dequeIiSaIiEE9pop_frontEv, .Lfunc_end10-_ZNSt5dequeIiSaIiEE9pop_frontEv
	.cfi_endproc
                                        # -- End function
	.section	.text.startup,"ax",@progbits
	.type	_GLOBAL__sub_I_bfs_cpu_stl.hip,@function # -- Begin function _GLOBAL__sub_I_bfs_cpu_stl.hip
_GLOBAL__sub_I_bfs_cpu_stl.hip:         # @_GLOBAL__sub_I_bfs_cpu_stl.hip
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	xorps	%xmm0, %xmm0
	movups	%xmm0, q+64(%rip)
	movups	%xmm0, q+48(%rip)
	movups	%xmm0, q+32(%rip)
	movups	%xmm0, q+16(%rip)
	movups	%xmm0, q(%rip)
	movl	$q, %edi
	xorl	%esi, %esi
	callq	_ZNSt11_Deque_baseIiSaIiEE17_M_initialize_mapEm
	movl	$_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev, %edi
	movl	$q, %esi
	movl	$__dso_handle, %edx
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	__cxa_atexit                    # TAILCALL
.Lfunc_end11:
	.size	_GLOBAL__sub_I_bfs_cpu_stl.hip, .Lfunc_end11-_GLOBAL__sub_I_bfs_cpu_stl.hip
	.cfi_endproc
                                        # -- End function
	.type	filein,@object                  # @filein
	.data
	.globl	filein
	.p2align	4, 0x0
filein:
	.asciz	"/home/yuede/dataset/kron_10_4.dat"
	.size	filein, 34

	.type	fileout,@object                 # @fileout
	.globl	fileout
	.p2align	4, 0x0
fileout:
	.asciz	"/home/yuede/dataset/kron_10_4.stl"
	.size	fileout, 34

	.type	q,@object                       # @q
	.bss
	.globl	q
	.p2align	3, 0x0
q:
	.zero	80
	.size	q, 80

	.hidden	__dso_handle
	.type	edge,@object                    # @edge
	.globl	edge
	.p2align	4, 0x0
edge:
	.zero	4202500
	.size	edge, 4202500

	.type	visit,@object                   # @visit
	.globl	visit
	.p2align	4, 0x0
visit:
	.zero	4100
	.size	visit, 4100

	.type	dist,@object                    # @dist
	.globl	dist
	.p2align	4, 0x0
dist:
	.zero	4100
	.size	dist, 4100

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

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"%d %d"
	.size	.L.str.1, 6

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"%d"
	.size	.L.str.2, 3

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

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"distance[0][%d] = %d\n"
	.size	.L.str.4, 22

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"cannot create std::deque larger than max_size()"
	.size	.L.str.6, 48

	.section	.init_array,"aw",@init_array
	.p2align	3, 0x0
	.quad	_GLOBAL__sub_I_bfs_cpu_stl.hip
	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.type	.Lstr,@object                   # @str
	.section	.rodata.str1.1,"aMS",@progbits,1
.Lstr:
	.asciz	"Finished!"
	.size	.Lstr, 10

	.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 _GLOBAL__sub_I_bfs_cpu_stl.hip
	.addrsig_sym _Unwind_Resume
	.addrsig_sym filein
	.addrsig_sym fileout
	.addrsig_sym q
	.addrsig_sym __dso_handle
	.addrsig_sym __hip_cuid_

	.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_
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.amdgpu_metadata
---
amdhsa.kernels:  []
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
