	.file	"131305.c"
	.intel_syntax noprefix
	.text
	.globl	BP_ITER
	.data
	.align 4
	.type	BP_ITER, @object
	.size	BP_ITER, 4
BP_ITER:
	.long	15
	.globl	outputfile
	.section	.rodata
.LC0:
	.string	"graph_bp_result.txt"
	.section	.data.rel.local,"aw"
	.align 8
	.type	outputfile, @object
	.size	outputfile, 8
outputfile:
	.quad	.LC0
	.globl	outputdegree
	.section	.rodata
.LC1:
	.string	"graph_degree.txt"
	.section	.data.rel.local
	.align 8
	.type	outputdegree, @object
	.size	outputdegree, 8
outputdegree:
	.quad	.LC1
	.globl	NUM_NODES
	.bss
	.align 4
	.type	NUM_NODES, @object
	.size	NUM_NODES, 4
NUM_NODES:
	.zero	4
	.globl	NUM_STATES
	.align 4
	.type	NUM_STATES, @object
	.size	NUM_STATES, 4
NUM_STATES:
	.zero	4
	.globl	NUM_THREADS
	.align 4
	.type	NUM_THREADS, @object
	.size	NUM_THREADS, 4
NUM_THREADS:
	.zero	4
	.globl	edge_potential
	.align 8
	.type	edge_potential, @object
	.size	edge_potential, 8
edge_potential:
	.zero	8
	.globl	buckets
	.align 8
	.type	buckets, @object
	.size	buckets, 8
buckets:
	.zero	8
	.globl	bucket_mutex
	.align 32
	.type	bucket_mutex, @object
	.size	bucket_mutex, 40
bucket_mutex:
	.zero	40
	.globl	AdjList
	.align 8
	.type	AdjList, @object
	.size	AdjList, 8
AdjList:
	.zero	8
	.globl	label
	.align 8
	.type	label, @object
	.size	label, 8
label:
	.zero	8
	.section	.rodata
.LC2:
	.string	"open %s failed \n"
.LC3:
	.string	"write file failed!"
	.text
	.globl	write_file
	.type	write_file, @function
write_file:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 1090
	mov	ecx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 420
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, -1
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	write_file, .-write_file
	.section	.rodata
.LC4:
	.string	"***[1]Critical Error!***"
	.text
	.globl	edge_p
	.type	edge_p, @function
edge_p:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L6
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -8[rbp], eax
	jge	.L6
	mov	rdx, QWORD PTR edge_potential[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	jmp	.L7
.L6:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	pxor	xmm0, xmm0
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	edge_p, .-edge_p
	.section	.rodata
.LC10:
	.string	"===%d %d %d %d ====fact: %d\n"
.LC11:
	.string	"bp_msg_cnt.txt"
	.text
	.globl	msg
	.type	msg, @function
msg:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1168
	mov	DWORD PTR -1124[rbp], edi
	mov	DWORD PTR -1128[rbp], esi
	mov	DWORD PTR -1132[rbp], edx
	mov	DWORD PTR -1136[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	fldz
	fstp	TBYTE PTR -1072[rbp]
	mov	DWORD PTR -1092[rbp], 0
	mov	QWORD PTR -1088[rbp], 0
	mov	QWORD PTR -1080[rbp], 0
	mov	DWORD PTR -1104[rbp], 0
	mov	DWORD PTR -1108[rbp], 0
	jmp	.L9
.L22:
	fldz
	fstp	TBYTE PTR -1056[rbp]
	mov	DWORD PTR -1100[rbp], 0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1124[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -1088[rbp], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1124[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -1096[rbp], eax
	fld1
	fstp	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR -1056[rbp]
	fldz
	fucomip	st, st(1)
	fstp	st(0)
	jp	.L13
	fld	TBYTE PTR -1056[rbp]
	fldz
	fucomip	st, st(1)
	fstp	st(0)
	je	.L26
	jmp	.L13
.L18:
	mov	rax, QWORD PTR -1088[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -1128[rbp], eax
	je	.L14
	add	DWORD PTR -1100[rbp], 1
	mov	eax, DWORD PTR -1136[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -1056[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -1056[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
.L16:
	fld	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR .LC8[rip]
	fsubp	st(1), st
	fldz
	fcomip	st, st(1)
	fstp	st(0)
	jbe	.L14
	cmp	DWORD PTR -1096[rbp], 0
	jle	.L14
	sub	DWORD PTR -1096[rbp], 1
	fld	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR .LC9[rip]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
	mov	DWORD PTR -1104[rbp], 1
.L14:
	mov	rax, QWORD PTR -1088[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -1088[rbp], rax
.L13:
	cmp	QWORD PTR -1088[rbp], 0
	jne	.L18
	cmp	DWORD PTR -1104[rbp], 1
	jne	.L20
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1124[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	cmp	DWORD PTR -1100[rbp], eax
	je	.L20
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1124[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	lea	r8d, -1[rax]
	mov	edi, DWORD PTR -1100[rbp]
	mov	ecx, DWORD PTR -1128[rbp]
	mov	edx, DWORD PTR -1124[rbp]
	lea	rax, -1040[rbp]
	sub	rsp, 8
	mov	esi, DWORD PTR -1096[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	call	write_file
	jmp	.L20
.L21:
	fld	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR .LC9[rip]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
	sub	DWORD PTR -1096[rbp], 1
.L20:
	cmp	DWORD PTR -1096[rbp], 0
	jg	.L21
	fld	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR .LC12[rip]
	faddp	st(1), st
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1124[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fmulp	st(1), st
	fstp	TBYTE PTR -1152[rbp]
	mov	edx, DWORD PTR -1132[rbp]
	mov	eax, DWORD PTR -1108[rbp]
	mov	esi, edx
	mov	edi, eax
	call	edge_p
	movss	DWORD PTR -1156[rbp], xmm0
	fld	DWORD PTR -1156[rbp]
	fld	TBYTE PTR -1152[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR -1072[rbp]
	fld	TBYTE PTR -1056[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -1072[rbp]
	jmp	.L12
.L26:
	nop
.L12:
	add	DWORD PTR -1108[rbp], 1
.L9:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -1108[rbp], eax
	jl	.L22
	fld	TBYTE PTR -1072[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	fstp	st(0)
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	msg, .-msg
	.section	.rodata
.LC14:
	.string	"Revised number of threads %d\n"
.LC15:
	.string	"bucket %d start %d end %d\n"
	.text
	.globl	create_buckets
	.type	create_buckets, @function
create_buckets:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L28
.L29:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	add	DWORD PTR -20[rbp], eax
	add	DWORD PTR -32[rbp], 1
.L28:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L29
	mov	esi, DWORD PTR NUM_THREADS[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	esi
	mov	DWORD PTR -12[rbp], eax
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L30
.L35:
	mov	eax, DWORD PTR NUM_THREADS[rip]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jne	.L31
	mov	edx, DWORD PTR NUM_NODES[rip]
	mov	rcx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	sub	edx, 1
	mov	DWORD PTR 4[rax], edx
	jmp	.L32
.L31:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	add	DWORD PTR -24[rbp], eax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	add	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L33
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR 4[rdx], eax
	add	DWORD PTR -28[rbp], 1
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	edx, DWORD PTR -32[rbp]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -24[rbp], 0
.L33:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L34
	mov	edx, DWORD PTR NUM_NODES[rip]
	mov	rcx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	sub	edx, 1
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR NUM_THREADS[rip], eax
	mov	eax, DWORD PTR NUM_THREADS[rip]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L32
.L34:
	add	DWORD PTR -32[rbp], 1
.L30:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L35
.L32:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L36
.L37:
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	ecx, DWORD PTR 4[rax]
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
.L36:
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L37
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	create_buckets, .-create_buckets
	.globl	worker_thread2
	.type	worker_thread2, @function
worker_thread2:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	eax, DWORD PTR NUM_STATES[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	movsx	rdx, eax
	mov	rcx, rdx
	mov	ebx, 0
	cdqe
	sal	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L39:
	cmp	rsp, rdx
	je	.L40
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L39
.L40:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L41
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L41:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L42
.L49:
	fldz
	fstp	TBYTE PTR -80[rbp]
	mov	DWORD PTR -132[rbp], 0
	jmp	.L43
.L46:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR -64[rbp]
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -120[rbp], rax
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -64[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -64[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -120[rbp], rax
.L44:
	cmp	QWORD PTR -120[rbp], 0
	jne	.L45
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR -64[rbp]
	fstp	TBYTE PTR [rax]
	fld	TBYTE PTR -80[rbp]
	fld	TBYTE PTR -64[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -80[rbp]
	add	DWORD PTR -132[rbp], 1
.L43:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -132[rbp], eax
	jl	.L46
	fld1
	fld	TBYTE PTR -80[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR -48[rbp]
	mov	DWORD PTR -132[rbp], 0
	jmp	.L47
.L48:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR -48[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR [rax]
	add	DWORD PTR -132[rbp], 1
.L47:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -132[rbp], eax
	jl	.L48
	add	DWORD PTR -128[rbp], 1
.L42:
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -128[rbp], eax
	jle	.L49
	mov	rsp, rsi
	nop
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	worker_thread2, .-worker_thread2
	.section	.rodata
.LC16:
	.string	"===%d: %d %d ====fact: %d\n"
	.text
	.globl	msg_pass
	.type	msg_pass, @function
msg_pass:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1120
	mov	DWORD PTR -1108[rbp], edi
	mov	QWORD PTR -1120[rbp], rsi
	mov	DWORD PTR -1112[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1092[rbp], 0
	mov	QWORD PTR -1080[rbp], 0
	fldz
	fstp	TBYTE PTR -1072[rbp]
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L52
.L62:
	fld1
	fstp	TBYTE PTR -1056[rbp]
	mov	DWORD PTR -1084[rbp], 0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -1080[rbp], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -1088[rbp], eax
	jmp	.L53
.L58:
	mov	eax, DWORD PTR -1112[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L54
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -1056[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
	jmp	.L55
.L54:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -1056[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
.L55:
	fld	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR .LC8[rip]
	fsubp	st(1), st
	fldz
	fcomip	st, st(1)
	fstp	st(0)
	jbe	.L56
	cmp	DWORD PTR -1088[rbp], 0
	jle	.L56
	sub	DWORD PTR -1088[rbp], 1
	fld	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR .LC9[rip]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
	mov	DWORD PTR -1092[rbp], 1
.L56:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -1080[rbp], rax
	add	DWORD PTR -1084[rbp], 1
.L53:
	cmp	QWORD PTR -1080[rbp], 0
	jne	.L58
	cmp	DWORD PTR -1092[rbp], 1
	jne	.L60
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -1084[rbp], eax
	je	.L60
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	esi, DWORD PTR 8[rax]
	mov	edi, DWORD PTR -1088[rbp]
	mov	ecx, DWORD PTR -1084[rbp]
	mov	edx, DWORD PTR -1108[rbp]
	lea	rax, -1040[rbp]
	mov	r9d, edi
	mov	r8d, esi
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	call	write_file
	jmp	.L60
.L61:
	fld	TBYTE PTR -1056[rbp]
	fld	TBYTE PTR .LC9[rip]
	fmulp	st(1), st
	fstp	TBYTE PTR -1056[rbp]
	sub	DWORD PTR -1088[rbp], 1
.L60:
	cmp	DWORD PTR -1088[rbp], 0
	jg	.L61
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, rdx
	fld	TBYTE PTR -1056[rbp]
	fstp	TBYTE PTR [rax]
	fld	TBYTE PTR -1072[rbp]
	fld	TBYTE PTR -1056[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -1072[rbp]
	add	DWORD PTR -1096[rbp], 1
.L52:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -1096[rbp], eax
	jl	.L62
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L63
.L64:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, rdx
	fld	TBYTE PTR -1072[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR [rax]
	add	DWORD PTR -1096[rbp], 1
.L63:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -1096[rbp], eax
	jl	.L64
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	msg_pass, .-msg_pass
	.globl	msg2
	.type	msg2, @function
msg2:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	DWORD PTR -108[rbp], edx
	mov	QWORD PTR -120[rbp], rcx
	mov	QWORD PTR -128[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	QWORD PTR -88[rbp], 0
	mov	eax, DWORD PTR NUM_STATES[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	sal	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L68:
	cmp	rsp, rdx
	je	.L69
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L68
.L69:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L70
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L70:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -72[rbp], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L71
.L78:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -104[rbp], eax
	jne	.L72
	mov	DWORD PTR -92[rbp], 0
	jmp	.L73
.L76:
	mov	eax, DWORD PTR -108[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L74
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fdivp	st(1), st
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fstp	TBYTE PTR [rax]
	jmp	.L75
.L74:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fdivp	st(1), st
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fstp	TBYTE PTR [rax]
.L75:
	add	DWORD PTR -92[rbp], 1
.L73:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L76
	jmp	.L77
.L72:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -88[rbp], rax
.L71:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L78
.L77:
	mov	DWORD PTR -96[rbp], 0
	jmp	.L79
.L85:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	fldz
	fstp	TBYTE PTR [rax]
	mov	DWORD PTR -92[rbp], 0
	jmp	.L80
.L84:
	fldz
	fstp	TBYTE PTR -64[rbp]
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR -160[rbp]
	mov	edx, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, edx
	mov	edi, eax
	call	edge_p
	movss	DWORD PTR -140[rbp], xmm0
	fld	DWORD PTR -140[rbp]
	fld	TBYTE PTR -160[rbp]
	fmulp	st(1), st
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fmulp	st(1), st
	fstp	TBYTE PTR -64[rbp]
	fld	TBYTE PTR -64[rbp]
	fldz
	fucomip	st, st(1)
	fstp	st(0)
	jp	.L81
	fld	TBYTE PTR -64[rbp]
	fldz
	fucomip	st, st(1)
	fstp	st(0)
	je	.L87
.L81:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	fld	TBYTE PTR -64[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR [rax]
	jmp	.L83
.L87:
	nop
.L83:
	add	DWORD PTR -92[rbp], 1
.L80:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L84
	mov	rax, QWORD PTR -136[rbp]
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	faddp	st(1), st
	mov	rax, QWORD PTR -136[rbp]
	fstp	TBYTE PTR [rax]
	add	DWORD PTR -96[rbp], 1
.L79:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -96[rbp], eax
	jl	.L85
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L86
	call	__stack_chk_fail@PLT
.L86:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	msg2, .-msg2
	.globl	worker_thread
	.type	worker_thread, @function
worker_thread:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	mov	eax, DWORD PTR NUM_STATES[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -112[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	sal	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L89:
	cmp	rsp, rdx
	je	.L90
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L89
.L90:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L91
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L91:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR NUM_STATES[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	sal	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L92:
	cmp	rsp, rdx
	je	.L93
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L92
.L93:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L94
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L94:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -144[rbp], eax
	jmp	.L95
.L104:
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rcx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -144[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	msg_pass
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L96
.L103:
	fldz
	fstp	TBYTE PTR -80[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	esi, DWORD PTR 4[rax]
	lea	r8, -80[rbp]
	mov	rdi, QWORD PTR -104[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -144[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	msg2
	mov	DWORD PTR -148[rbp], 0
	jmp	.L97
.L102:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	eax, 1
	jne	.L98
	mov	rdx, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -80[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fdivp	st(1), st
	fstp	TBYTE PTR [rax]
	jmp	.L99
.L98:
	mov	rdx, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -80[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fdivp	st(1), st
	fstp	TBYTE PTR [rax]
.L99:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	jne	.L100
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fsubp	st(1), st
	fstp	QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR -176[rbp]
	movq	xmm0, QWORD PTR .LC17[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC18[rip]
	jbe	.L100
	lea	rdi, bucket_mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 12[rax], 1
	lea	rdi, bucket_mutex[rip]
	call	pthread_mutex_unlock@PLT
.L100:
	add	DWORD PTR -148[rbp], 1
.L97:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L102
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -136[rbp], rax
.L96:
	cmp	QWORD PTR -136[rbp], 0
	jne	.L103
	add	DWORD PTR -144[rbp], 1
.L95:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -144[rbp], eax
	jle	.L104
	mov	rsp, rbx
	nop
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L105
	call	__stack_chk_fail@PLT
.L105:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	worker_thread, .-worker_thread
	.section	.rodata
.LC19:
	.string	"Error creating thread\n"
.LC20:
	.string	"Error joining thread\n"
.LC21:
	.string	"message converge!"
.LC22:
	.string	"updating the node belief ..."
	.text
	.globl	bp_alg_mt
	.type	bp_alg_mt, @function
bp_alg_mt:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	mov	eax, DWORD PTR NUM_STATES[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	movsx	rdx, eax
	mov	rsi, rdx
	mov	edi, 0
	cdqe
	sal	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L108:
	cmp	rsp, rdx
	je	.L109
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L108
.L109:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L110
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L110:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], 0
	mov	DWORD PTR -88[rbp], 1
	jmp	.L111
.L125:
	call	clock@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L112
.L115:
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	DWORD PTR 12[rax], 0
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, worker_thread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L113
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	jmp	.L114
.L113:
	add	DWORD PTR -92[rbp], 1
.L112:
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L115
	mov	DWORD PTR -92[rbp], 0
	jmp	.L116
.L118:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L117
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	jmp	.L114
.L117:
	add	DWORD PTR -92[rbp], 1
.L116:
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L118
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -48[rbp], 0
	call	clock@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L119
.L122:
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L120
	mov	DWORD PTR -84[rbp], 1
	jmp	.L121
.L120:
	add	DWORD PTR -92[rbp], 1
.L119:
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L122
.L121:
	cmp	DWORD PTR -84[rbp], 0
	jne	.L123
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L124
.L123:
	add	DWORD PTR -88[rbp], 1
.L111:
	mov	eax, DWORD PTR BP_ITER[rip]
	cmp	DWORD PTR -88[rbp], eax
	jle	.L125
.L124:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L126
.L128:
	mov	rdx, QWORD PTR buckets[rip]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, worker_thread2[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L127
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	jmp	.L114
.L127:
	add	DWORD PTR -92[rbp], 1
.L126:
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L128
	mov	DWORD PTR -92[rbp], 0
	jmp	.L129
.L131:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L130
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	jmp	.L114
.L130:
	add	DWORD PTR -92[rbp], 1
.L129:
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L131
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR outputfile[rip]
	mov	rdi, rax
	call	print_node_belief_write_file
	mov	rsp, rbx
	jmp	.L107
.L114:
	mov	rsp, rbx
.L107:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L133
	call	__stack_chk_fail@PLT
.L133:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	bp_alg_mt, .-bp_alg_mt
	.section	.rodata
.LC23:
	.string	"updating the message ..."
	.text
	.globl	bp_alg
	.type	bp_alg, @function
bp_alg:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 168
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	eax, DWORD PTR NUM_STATES[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -128[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	movsx	rdx, eax
	mov	rsi, rdx
	mov	edi, 0
	cdqe
	sal	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L135:
	cmp	rsp, rdx
	je	.L136
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L135
.L136:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L137
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L137:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -120[rbp], rax
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	DWORD PTR -156[rbp], 1
	jmp	.L138
.L153:
	call	clock@PLT
	mov	QWORD PTR -112[rbp], rax
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -152[rbp], 0
	jmp	.L139
.L150:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L140
.L149:
	fldz
	fstp	TBYTE PTR -96[rbp]
	mov	DWORD PTR -160[rbp], 0
	jmp	.L141
.L142:
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fldz
	fstp	TBYTE PTR [rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, DWORD PTR 4[rax]
	mov	ecx, DWORD PTR -156[rbp]
	mov	edx, DWORD PTR -160[rbp]
	mov	eax, DWORD PTR -152[rbp]
	mov	edi, eax
	call	msg
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fstp	TBYTE PTR [rax]
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -96[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -96[rbp]
	add	DWORD PTR -160[rbp], 1
.L141:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -160[rbp], eax
	jl	.L142
	mov	DWORD PTR -160[rbp], 0
	jmp	.L143
.L148:
	mov	eax, DWORD PTR -156[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	eax, 1
	jne	.L144
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR -96[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR [rax]
	jmp	.L145
.L144:
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR -96[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR [rax]
.L145:
	cmp	DWORD PTR -148[rbp], 0
	jne	.L146
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fsubp	st(1), st
	fstp	QWORD PTR -168[rbp]
	movsd	xmm1, QWORD PTR -168[rbp]
	movq	xmm0, QWORD PTR .LC17[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC18[rip]
	jbe	.L146
	mov	DWORD PTR -148[rbp], 1
.L146:
	add	DWORD PTR -160[rbp], 1
.L143:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -160[rbp], eax
	jl	.L148
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR -156[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -144[rbp], rax
.L140:
	cmp	QWORD PTR -144[rbp], 0
	jne	.L149
	add	DWORD PTR -152[rbp], 1
.L139:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -152[rbp], eax
	jl	.L150
	call	clock@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	DWORD PTR -148[rbp], 0
	jne	.L151
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L152
.L151:
	add	DWORD PTR -156[rbp], 1
.L138:
	mov	eax, DWORD PTR BP_ITER[rip]
	cmp	DWORD PTR -156[rbp], eax
	jle	.L153
.L152:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	DWORD PTR -152[rbp], 0
	jmp	.L154
.L161:
	fldz
	fstp	TBYTE PTR -80[rbp]
	mov	DWORD PTR -160[rbp], 0
	jmp	.L155
.L158:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR -64[rbp]
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L156
.L157:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -64[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -64[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -144[rbp], rax
.L156:
	cmp	QWORD PTR -144[rbp], 0
	jne	.L157
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR -64[rbp]
	fstp	TBYTE PTR [rax]
	fld	TBYTE PTR -80[rbp]
	fld	TBYTE PTR -64[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -80[rbp]
	add	DWORD PTR -160[rbp], 1
.L155:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -160[rbp], eax
	jl	.L158
	fld1
	fld	TBYTE PTR -80[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR -48[rbp]
	mov	DWORD PTR -160[rbp], 0
	jmp	.L159
.L160:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR -48[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR [rax]
	add	DWORD PTR -160[rbp], 1
.L159:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -160[rbp], eax
	jl	.L160
	add	DWORD PTR -152[rbp], 1
.L154:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -152[rbp], eax
	jl	.L161
	mov	rax, QWORD PTR outputfile[rip]
	mov	rdi, rax
	call	print_node_belief_write_file
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L162
	call	__stack_chk_fail@PLT
.L162:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	bp_alg, .-bp_alg
	.section	.rodata
	.align 8
.LC24:
	.string	"memery allocation err: AdjList[]"
	.align 8
.LC25:
	.string	"memery allocation err: AdjList[%d].belief\n"
.LC26:
	.string	"memery allocation err: label"
	.text
	.globl	init_graph
	.type	init_graph, @function
init_graph:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR AdjList[rip], 0
	mov	eax, DWORD PTR NUM_NODES[rip]
	cdqe
	sal	rax, 5
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR AdjList[rip], rax
	mov	rax, QWORD PTR AdjList[rip]
	test	rax, rax
	jne	.L165
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L166
.L165:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L167
.L171:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cdqe
	sal	rax, 4
	mov	rcx, QWORD PTR AdjList[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	DWORD PTR 8[rax], 0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	DWORD PTR 12[rax], 0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L168
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L166
.L168:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L169
.L170:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fldz
	fstp	TBYTE PTR [rax]
	add	DWORD PTR -20[rbp], 1
.L169:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L170
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	QWORD PTR 16[rax], 0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	QWORD PTR 24[rax], 0
	add	DWORD PTR -24[rbp], 1
.L167:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L171
	mov	QWORD PTR label[rip], 0
	mov	eax, DWORD PTR NUM_NODES[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR label[rip], rax
	mov	rax, QWORD PTR label[rip]
	test	rax, rax
	jne	.L172
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L166
.L172:
	mov	eax, 0
.L166:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	init_graph, .-init_graph
	.section	.rodata
	.align 8
.LC27:
	.string	"memery allocation err: get_edgenode(): edge_node"
	.align 8
.LC28:
	.string	"memery allocation err: edge_node.msg"
	.align 8
.LC29:
	.string	"memery allocation err: edge_node.msg_alter"
	.text
	.globl	get_edgenode
	.type	get_edgenode, @function
get_edgenode:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -8[rbp], 0
	mov	edi, 48
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L174
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L175
.L174:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cdqe
	sal	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L176
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L175
.L176:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cdqe
	sal	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L177
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L175
.L177:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 40[rax], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L178
.L179:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fldz
	fstp	TBYTE PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rcx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR [rdx]
	add	DWORD PTR -12[rbp], 1
.L178:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L179
	mov	rax, QWORD PTR -8[rbp]
.L175:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	get_edgenode, .-get_edgenode
	.globl	destroy_graph
	.type	destroy_graph, @function
destroy_graph:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L181
.L183:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L182
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
.L182:
	add	DWORD PTR -20[rbp], 1
.L181:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L183
	mov	DWORD PTR -20[rbp], 0
	jmp	.L184
.L187:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L185
.L186:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L185:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L186
	add	DWORD PTR -20[rbp], 1
.L184:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L187
	mov	rax, QWORD PTR AdjList[rip]
	test	rax, rax
	je	.L188
	mov	rax, QWORD PTR AdjList[rip]
	mov	rdi, rax
	call	free@PLT
.L188:
	mov	rax, QWORD PTR label[rip]
	test	rax, rax
	je	.L189
	mov	rax, QWORD PTR label[rip]
	mov	rdi, rax
	call	free@PLT
.L189:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L190
.L192:
	mov	rdx, QWORD PTR edge_potential[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L191
	mov	rdx, QWORD PTR edge_potential[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
.L191:
	add	DWORD PTR -20[rbp], 1
.L190:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L192
	mov	rax, QWORD PTR edge_potential[rip]
	test	rax, rax
	je	.L194
	mov	rax, QWORD PTR edge_potential[rip]
	mov	rdi, rax
	call	free@PLT
.L194:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	destroy_graph, .-destroy_graph
	.section	.rodata
.LC30:
	.string	"Graph:"
.LC31:
	.string	"[out]%d: "
.LC32:
	.string	"(%d->%d) "
.LC33:
	.string	"Degree: %d\n"
.LC34:
	.string	"[in ]%d: "
	.text
	.globl	print_graph
	.type	print_graph, @function
print_graph:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], 0
	lea	rdi, .LC30[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L196
.L201:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L197
.L198:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -8[rbp], rax
.L197:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L198
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L199
.L200:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
.L199:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L200
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L196:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L201
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	print_graph, .-print_graph
	.section	.rodata
.LC35:
	.string	"Graph Degree:"
	.align 8
.LC36:
	.string	"--------------\nmax_degree: %d\nmin_degree: %d\navg_degree: %.2f\n--------------\n"
	.text
	.globl	print_degree
	.type	print_degree, @function
print_degree:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L203
.L209:
	mov	DWORD PTR -32[rbp], 0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L204
.L205:
	add	DWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -8[rbp], rax
.L204:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L205
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	imul	rcx, rcx, 2060940259
	shr	rcx, 32
	sar	ecx, 9
	sar	eax, 31
	mov	esi, eax
	mov	eax, ecx
	sub	eax, esi
	mov	DWORD PTR 12[rdx], eax
	mov	eax, DWORD PTR -32[rbp]
	add	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jne	.L206
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -16[rbp], 1
	jmp	.L207
.L206:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L208
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L207
.L208:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L207
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -20[rbp], eax
.L207:
	add	DWORD PTR -36[rbp], 1
.L203:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L209
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR NUM_NODES[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rcx, xmm2
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC36[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	print_degree, .-print_degree
	.section	.rodata
.LC37:
	.string	"%d: %d, %d\n"
.LC38:
	.string	"%s"
	.text
	.globl	print_degree_and_write_file
	.type	print_degree_and_write_file, @function
print_degree_and_write_file:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1104
	mov	QWORD PTR -1096[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1048[rbp], 0
	mov	DWORD PTR -1080[rbp], 0
	mov	DWORD PTR -1076[rbp], 0
	mov	DWORD PTR -1072[rbp], 0
	mov	DWORD PTR -1068[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -1060[rbp], xmm0
	mov	DWORD PTR -1064[rbp], 0
	mov	DWORD PTR -1056[rbp], 578
	mov	ecx, DWORD PTR -1056[rbp]
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, 420
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -1052[rbp], eax
	cmp	DWORD PTR -1052[rbp], 0
	jns	.L211
	mov	rax, QWORD PTR -1096[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L210
.L211:
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	DWORD PTR -1084[rbp], 0
	jmp	.L213
.L220:
	mov	DWORD PTR -1080[rbp], 0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1084[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -1048[rbp], rax
	jmp	.L214
.L215:
	add	DWORD PTR -1080[rbp], 1
	mov	rax, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -1048[rbp], rax
.L214:
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L215
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1084[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	eax, DWORD PTR -1080[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1084[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	eax, DWORD PTR -1080[rbp]
	movsx	rcx, eax
	imul	rcx, rcx, 2060940259
	shr	rcx, 32
	sar	ecx, 9
	sar	eax, 31
	mov	esi, eax
	mov	eax, ecx
	sub	eax, esi
	mov	DWORD PTR 12[rdx], eax
	mov	eax, DWORD PTR -1080[rbp]
	add	DWORD PTR -1076[rbp], eax
	cmp	DWORD PTR -1064[rbp], 0
	jne	.L216
	mov	eax, DWORD PTR -1080[rbp]
	mov	DWORD PTR -1072[rbp], eax
	mov	eax, DWORD PTR -1080[rbp]
	mov	DWORD PTR -1068[rbp], eax
	mov	DWORD PTR -1064[rbp], 1
	jmp	.L217
.L216:
	mov	eax, DWORD PTR -1080[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jle	.L218
	mov	eax, DWORD PTR -1080[rbp]
	mov	DWORD PTR -1072[rbp], eax
	jmp	.L217
.L218:
	mov	eax, DWORD PTR -1080[rbp]
	cmp	eax, DWORD PTR -1068[rbp]
	jge	.L217
	mov	eax, DWORD PTR -1080[rbp]
	mov	DWORD PTR -1068[rbp], eax
.L217:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1084[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	esi, DWORD PTR 12[rax]
	mov	ecx, DWORD PTR -1080[rbp]
	mov	edx, DWORD PTR -1084[rbp]
	lea	rax, -1040[rbp]
	mov	r8d, esi
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -1052[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	test	eax, eax
	jns	.L219
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L210
.L219:
	add	DWORD PTR -1084[rbp], 1
.L213:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -1084[rbp], eax
	jl	.L220
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1076[rbp]
	mov	eax, DWORD PTR NUM_NODES[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -1060[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -1060[rbp]
	movq	rsi, xmm2
	mov	ecx, DWORD PTR -1068[rbp]
	mov	edx, DWORD PTR -1072[rbp]
	lea	rax, -1040[rbp]
	movq	xmm0, rsi
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 1
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1052[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
.L210:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L222
	call	__stack_chk_fail@PLT
.L222:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	print_degree_and_write_file, .-print_degree_and_write_file
	.section	.rodata
.LC39:
	.string	"%d: [%.20Lf"
.LC40:
	.string	", %.20Lf"
.LC41:
	.string	"]"
	.text
	.globl	print_node_belief
	.type	print_node_belief, @function
print_node_belief:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L224
.L227:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	DWORD PTR -4[rbp], 1
	jmp	.L225
.L226:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -4[rbp], 1
.L225:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L226
	lea	rdi, .LC41[rip]
	call	puts@PLT
	add	DWORD PTR -8[rbp], 1
.L224:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L227
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	print_node_belief, .-print_node_belief
	.section	.rodata
	.align 8
.LC42:
	.string	"write the belief value into a file ..."
.LC43:
	.string	"]\n"
.LC44:
	.string	"saved into file: %s\n"
	.text
	.globl	print_node_belief_write_file
	.type	print_node_belief_write_file, @function
print_node_belief_write_file:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2128
	mov	QWORD PTR -10296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC42[rip]
	call	puts@PLT
	mov	DWORD PTR -10264[rbp], 578
	mov	ecx, DWORD PTR -10264[rbp]
	mov	rax, QWORD PTR -10296[rbp]
	mov	edx, 420
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -10260[rbp], eax
	cmp	DWORD PTR -10260[rbp], 0
	jns	.L229
	mov	rax, QWORD PTR -10296[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L228
.L229:
	mov	DWORD PTR -10272[rbp], 0
	mov	DWORD PTR -10268[rbp], 0
	mov	DWORD PTR -10280[rbp], 0
	jmp	.L231
.L237:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -10280[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR -10320[rbp]
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -10256[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -10280[rbp]
	push	QWORD PTR -10312[rbp]
	push	QWORD PTR -10320[rbp]
	mov	edx, eax
	lea	rsi, .LC39[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -10276[rbp], 1
	jmp	.L232
.L233:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -10280[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -10276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR -10320[rbp]
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -10256[rbp]
	add	rax, rdx
	push	QWORD PTR -10312[rbp]
	push	QWORD PTR -10320[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	add	DWORD PTR -10276[rbp], 1
.L232:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -10276[rbp], eax
	jl	.L233
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -10256[rbp]
	add	rax, rdx
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	cmp	DWORD PTR -10272[rbp], 0
	jne	.L234
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -10268[rbp], eax
	mov	DWORD PTR -10272[rbp], 1
.L234:
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, 10240
	sub	eax, DWORD PTR -10268[rbp]
	cmp	edx, eax
	jle	.L235
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -10256[rbp]
	mov	eax, DWORD PTR -10260[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	test	eax, eax
	jns	.L236
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L228
.L236:
	mov	BYTE PTR -10256[rbp], 0
.L235:
	add	DWORD PTR -10280[rbp], 1
.L231:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -10280[rbp], eax
	jl	.L237
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	test	eax, eax
	jle	.L238
	lea	rax, -10256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -10256[rbp]
	mov	eax, DWORD PTR -10260[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	test	eax, eax
	jns	.L238
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L228
.L238:
	mov	eax, DWORD PTR -10260[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	rax, QWORD PTR -10296[rbp]
	mov	rsi, rax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
.L228:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L240
	call	__stack_chk_fail@PLT
.L240:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	print_node_belief_write_file, .-print_node_belief_write_file
	.section	.rodata
.LC45:
	.string	"(iter=%d) m(%d,%d): [%.20Lf"
	.text
	.globl	print_node_message
	.type	print_node_message, @function
print_node_message:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L242
.L247:
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L243
.L246:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	fld	TBYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edx, DWORD PTR -16[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	mov	esi, eax
	lea	rdi, .LC45[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	DWORD PTR -12[rbp], 1
	jmp	.L244
.L245:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -12[rbp], 1
.L244:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L245
	lea	rdi, .LC41[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -8[rbp], rax
.L243:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L246
	add	DWORD PTR -16[rbp], 1
.L242:
	mov	eax, DWORD PTR NUM_NODES[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L247
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	print_node_message, .-print_node_message
	.section	.rodata
.LC46:
	.string	"no data file found!"
.LC47:
	.string	"reading the graph nodes ..."
.LC48:
	.string	"r"
.LC49:
	.string	"read file %s error!\n"
.LC50:
	.string	" "
	.align 8
.LC51:
	.string	"input file %s error!(state format error)\n"
.LC52:
	.string	"reading the graph edges ..."
.LC53:
	.string	"Error in input graph file"
.LC54:
	.string	"read_graph finish"
	.text
	.globl	read_graph
	.type	read_graph, @function
read_graph:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1168
	mov	QWORD PTR -1144[rbp], rdi
	mov	QWORD PTR -1152[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1072[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	DWORD PTR -1096[rbp], 0
	cmp	QWORD PTR -1144[rbp], 0
	je	.L249
	cmp	QWORD PTR -1152[rbp], 0
	jne	.L250
.L249:
	lea	rdi, .LC46[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L275
.L250:
	lea	rdi, .LC47[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1144[rbp]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L252
	mov	rax, QWORD PTR -1144[rbp]
	mov	rsi, rax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L275
.L252:
	mov	DWORD PTR -1104[rbp], 0
	mov	DWORD PTR -1100[rbp], 0
.L261:
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L279
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1088[rbp], rax
	lea	rax, -1088[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -1080[rbp], rax
	mov	DWORD PTR -1124[rbp], 1
	jmp	.L255
.L260:
	cmp	DWORD PTR -1124[rbp], 1
	jne	.L256
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1120[rbp], eax
	mov	eax, DWORD PTR -1120[rbp]
	cmp	eax, DWORD PTR -1104[rbp]
	jle	.L257
	mov	eax, DWORD PTR -1120[rbp]
	mov	DWORD PTR -1104[rbp], eax
	jmp	.L257
.L256:
	cmp	DWORD PTR -1124[rbp], 2
	jne	.L258
	mov	rax, QWORD PTR -1080[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 115
	je	.L259
	mov	rax, QWORD PTR -1144[rbp]
	mov	rsi, rax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L275
.L259:
	add	QWORD PTR -1080[rbp], 1
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1116[rbp], eax
	mov	eax, DWORD PTR -1116[rbp]
	cmp	eax, DWORD PTR -1100[rbp]
	jle	.L257
	mov	eax, DWORD PTR -1116[rbp]
	mov	DWORD PTR -1100[rbp], eax
	jmp	.L257
.L258:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	atof@PLT
	movsd	QWORD PTR -1160[rbp], xmm0
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1120[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1116[rbp]
	cdqe
	sal	rax, 4
	sub	rax, 16
	add	rax, rdx
	fld	QWORD PTR -1160[rbp]
	fstp	TBYTE PTR [rax]
.L257:
	add	DWORD PTR -1124[rbp], 1
	lea	rax, -1088[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -1080[rbp], rax
.L255:
	cmp	QWORD PTR -1080[rbp], 0
	jne	.L260
	jmp	.L261
.L279:
	nop
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC52[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1152[rbp]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L262
	mov	rax, QWORD PTR -1152[rbp]
	mov	rsi, rax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L275
.L262:
	mov	eax, DWORD PTR NUM_STATES[rip]
	mov	DWORD PTR -1160[rbp], eax
	fild	DWORD PTR -1160[rbp]
	fld1
	fdivrp	st(1), st
	fstp	QWORD PTR -1048[rbp]
.L274:
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L280
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1088[rbp], rax
	lea	rax, -1088[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -1080[rbp], rax
	mov	DWORD PTR -1124[rbp], 1
	jmp	.L265
.L273:
	cmp	DWORD PTR -1124[rbp], 1
	jne	.L266
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1112[rbp], eax
	jmp	.L267
.L266:
	cmp	DWORD PTR -1124[rbp], 2
	jne	.L268
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1092[rbp], eax
	mov	edx, DWORD PTR -1092[rbp]
	mov	eax, DWORD PTR -1112[rbp]
	mov	esi, edx
	mov	edi, eax
	call	get_edgenode
	mov	QWORD PTR -1072[rbp], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	DWORD PTR -1108[rbp], 0
	jmp	.L269
.L270:
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	QWORD PTR -1048[rbp]
	fstp	TBYTE PTR [rax]
	mov	rdx, QWORD PTR -1072[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -1108[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rcx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR [rdx]
	add	DWORD PTR -1108[rbp], 1
.L269:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -1108[rbp], eax
	jl	.L270
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1112[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -1064[rbp], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1112[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdx, QWORD PTR -1064[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -1064[rbp], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdx, QWORD PTR -1064[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	edx, DWORD PTR -1112[rbp]
	mov	eax, DWORD PTR -1092[rbp]
	mov	esi, edx
	mov	edi, eax
	call	get_edgenode
	mov	QWORD PTR -1072[rbp], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	DWORD PTR -1108[rbp], 0
	jmp	.L271
.L272:
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	QWORD PTR -1048[rbp]
	fstp	TBYTE PTR [rax]
	mov	rdx, QWORD PTR -1072[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -1108[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rcx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR [rdx]
	add	DWORD PTR -1108[rbp], 1
.L271:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -1108[rbp], eax
	jl	.L272
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -1064[rbp], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdx, QWORD PTR -1064[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1112[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -1064[rbp], rax
	mov	rdx, QWORD PTR AdjList[rip]
	mov	eax, DWORD PTR -1112[rbp]
	cdqe
	sal	rax, 5
	add	rdx, rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdx, QWORD PTR -1064[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L267
.L268:
	lea	rdi, .LC53[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L275
.L267:
	add	DWORD PTR -1124[rbp], 1
	lea	rax, -1088[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -1080[rbp], rax
.L265:
	cmp	QWORD PTR -1080[rbp], 0
	jne	.L273
	jmp	.L274
.L280:
	nop
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC54[rip]
	call	puts@PLT
	mov	eax, 0
.L275:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L276
	call	__stack_chk_fail@PLT
.L276:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	read_graph, .-read_graph
	.section	.rodata
	.align 8
.LC55:
	.string	"memery allocation err: edge_potential"
	.text
	.globl	init_edge_potential
	.type	init_edge_potential, @function
init_edge_potential:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR edge_potential[rip], 0
	mov	eax, DWORD PTR NUM_STATES[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR edge_potential[rip], rax
	mov	rax, QWORD PTR edge_potential[rip]
	test	rax, rax
	jne	.L282
	lea	rdi, .LC55[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L281
.L282:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L284
.L287:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cdqe
	sal	rax, 2
	mov	rcx, QWORD PTR edge_potential[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L285
.L286:
	mov	rdx, QWORD PTR edge_potential[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR .LC56[rip]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -20[rbp], 1
.L285:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L286
	add	DWORD PTR -24[rbp], 1
.L284:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L287
.L281:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	init_edge_potential, .-init_edge_potential
	.section	.rodata
.LC57:
	.string	"%f, "
	.text
	.globl	print_edge_potential
	.type	print_edge_potential, @function
print_edge_potential:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L289
.L292:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L290
.L291:
	mov	rdx, QWORD PTR edge_potential[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC57[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L290:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L291
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L289:
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L292
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	print_edge_potential, .-print_edge_potential
	.section	.rodata
.LC58:
	.string	"no ep_file found!"
.LC59:
	.string	"read ep_file %s error!\n"
.LC60:
	.string	"warning! NUM_STATES is error!"
	.text
	.globl	read_edge_potential
	.type	read_edge_potential, @function
read_edge_potential:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1104
	mov	QWORD PTR -1096[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -1096[rbp], 0
	jne	.L294
	lea	rdi, .LC58[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L309
.L294:
	mov	eax, 0
	call	init_edge_potential
	mov	DWORD PTR -1068[rbp], eax
	cmp	DWORD PTR -1068[rbp], 0
	jns	.L296
	mov	eax, -1
	jmp	.L309
.L296:
	mov	rax, QWORD PTR -1096[rbp]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L297
	mov	rax, QWORD PTR -1096[rbp]
	mov	rsi, rax
	lea	rdi, .LC59[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L309
.L297:
	mov	DWORD PTR -1084[rbp], 0
	mov	DWORD PTR -1072[rbp], 0
.L307:
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L312
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1064[rbp], rax
	lea	rax, -1064[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -1056[rbp], rax
	mov	DWORD PTR -1076[rbp], 0
	jmp	.L300
.L306:
	cmp	DWORD PTR -1076[rbp], 0
	jne	.L301
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 115
	je	.L302
	mov	rax, QWORD PTR -1096[rbp]
	mov	rsi, rax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L309
.L302:
	add	QWORD PTR -1056[rbp], 1
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1084[rbp], eax
	mov	eax, DWORD PTR -1084[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jle	.L303
	mov	eax, DWORD PTR -1084[rbp]
	mov	DWORD PTR -1072[rbp], eax
	jmp	.L303
.L301:
	cmp	DWORD PTR -1076[rbp], 1
	jne	.L304
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 115
	je	.L305
	mov	rax, QWORD PTR -1096[rbp]
	mov	rsi, rax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L309
.L305:
	add	QWORD PTR -1056[rbp], 1
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1080[rbp], eax
	jmp	.L303
.L304:
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	atof@PLT
	mov	rdx, QWORD PTR edge_potential[rip]
	mov	eax, DWORD PTR -1084[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1080[rbp]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
.L303:
	lea	rax, -1064[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -1056[rbp], rax
	add	DWORD PTR -1076[rbp], 1
.L300:
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L306
	jmp	.L307
.L312:
	nop
	mov	eax, DWORD PTR NUM_STATES[rip]
	cmp	DWORD PTR -1072[rbp], eax
	je	.L308
	lea	rdi, .LC60[rip]
	call	puts@PLT
.L308:
	mov	eax, 0
.L309:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L310
	call	__stack_chk_fail@PLT
.L310:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	read_edge_potential, .-read_edge_potential
	.section	.rodata
	.align 8
.LC61:
	.string	"Usage: %s <graph_initial_states_file> <graph_edges_file> <bp_edge_potential_file> <number_of_nodes> <number_of_states>\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC61[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	usage, .-usage
	.section	.rodata
	.align 8
.LC63:
	.string	"Construting the graph, time=%f\n"
.LC64:
	.string	"Count the degree, time=%f\n"
	.align 8
.LC65:
	.string	"running the belief propagation algorithm."
	.align 8
.LC66:
	.string	"running multi-threaded version threads %d\n"
.LC67:
	.string	"BP running time=%f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	cmp	DWORD PTR -52[rbp], 5
	jg	.L315
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	mov	eax, -1
	jmp	.L316
.L315:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR NUM_NODES[rip], eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR NUM_STATES[rip], eax
	mov	DWORD PTR NUM_THREADS[rip], 0
	cmp	DWORD PTR -52[rbp], 6
	jle	.L317
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR outputfile[rip], rax
.L317:
	cmp	DWORD PTR -52[rbp], 7
	jle	.L318
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR BP_ITER[rip], eax
.L318:
	cmp	DWORD PTR -52[rbp], 8
	jle	.L319
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR NUM_THREADS[rip], eax
.L319:
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	init_graph
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jns	.L320
	mov	eax, -1
	jmp	.L316
.L320:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	read_graph
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jns	.L321
	mov	eax, -1
	jmp	.L316
.L321:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	read_edge_potential
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jns	.L322
	mov	eax, -1
	jmp	.L316
.L322:
	call	clock@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC62[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC63[rip]
	mov	eax, 1
	call	printf@PLT
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	print_degree
	call	clock@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC62[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC64[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC65[rip]
	call	puts@PLT
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR NUM_THREADS[rip]
	test	eax, eax
	jle	.L323
	mov	eax, DWORD PTR NUM_THREADS[rip]
	mov	esi, eax
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR NUM_THREADS[rip]
	cdqe
	sal	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR buckets[rip], rax
	mov	eax, 0
	call	create_buckets
	mov	eax, 0
	call	bp_alg_mt
	mov	rax, QWORD PTR buckets[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR buckets[rip], 0
	jmp	.L324
.L323:
	mov	eax, 0
	call	bp_alg
.L324:
	call	clock@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC62[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC67[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	call	destroy_graph
	mov	eax, 0
.L316:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	main, .-main
	.section	.rodata
.LC68:
	.string	"-----Initial information-----"
.LC69:
	.string	"print degree info.:"
.LC70:
	.string	"print initial node belief:"
.LC71:
	.string	"print initial message:"
.LC72:
	.string	"print edge potential:"
.LC73:
	.string	"-----------------------------"
	.text
	.globl	print_initial_value
	.type	print_initial_value, @function
print_initial_value:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC68[rip]
	call	puts@PLT
	mov	eax, 0
	call	print_graph
	lea	rdi, .LC69[rip]
	call	puts@PLT
	mov	eax, 0
	call	print_degree
	lea	rdi, .LC70[rip]
	call	puts@PLT
	mov	eax, 0
	call	print_node_belief
	lea	rdi, .LC71[rip]
	call	puts@PLT
	mov	eax, 0
	call	print_node_message
	lea	rdi, .LC72[rip]
	call	puts@PLT
	mov	eax, 0
	call	print_edge_potential
	lea	rdi, .LC73[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	print_initial_value, .-print_initial_value
	.section	.rodata
	.align 16
.LC8:
	.long	0
	.long	-1610612736
	.long	15313
	.long	0
	.align 16
.LC9:
	.long	61661184
	.long	-1088297920
	.long	17379
	.long	0
	.align 16
.LC12:
	.long	-946157568
	.long	-1418658281
	.long	15386
	.long	0
	.align 16
.LC17:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC18:
	.long	-640172613
	.long	1037794527
	.align 4
.LC56:
	.long	-1082130432
	.align 8
.LC62:
	.long	0
	.long	1093567616
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"131305.c"
	.text
	.global	BP_ITER
	.data
	.align	2
	.type	BP_ITER, %object
	.size	BP_ITER, 4
BP_ITER:
	.word	15
	.global	outputfile
	.section	.rodata
	.align	2
.LC0:
	.ascii	"graph_bp_result.txt\000"
	.data
	.align	2
	.type	outputfile, %object
	.size	outputfile, 4
outputfile:
	.word	.LC0
	.global	outputdegree
	.section	.rodata
	.align	2
.LC1:
	.ascii	"graph_degree.txt\000"
	.data
	.align	2
	.type	outputdegree, %object
	.size	outputdegree, 4
outputdegree:
	.word	.LC1
	.comm	NUM_NODES,4,4
	.comm	NUM_STATES,4,4
	.comm	NUM_THREADS,4,4
	.comm	edge_potential,4,4
	.global	buckets
	.bss
	.align	2
	.type	buckets, %object
	.size	buckets, 4
buckets:
	.space	4
	.comm	bucket_mutex,24,4
	.comm	AdjList,4,4
	.comm	label,4,4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"open %s failed \012\000"
	.align	2
.LC3:
	.ascii	"write file failed!\000"
	.text
	.align	2
	.global	write_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_file, %function
write_file:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L5
	str	r3, [fp, #-12]
	mov	r2, #420
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L2
	ldr	r1, [fp, #-16]
	ldr	r0, .L5+4
	bl	printf
	mvn	r3, #0
	b	.L3
.L2:
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L5+8
	bl	puts
	ldr	r0, [fp, #-8]
	bl	close
	mvn	r3, #0
	b	.L3
.L4:
	ldr	r0, [fp, #-8]
	bl	close
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	1090
	.word	.LC2
	.word	.LC3
	.size	write_file, .-write_file
	.section	.rodata
	.align	2
.LC4:
	.ascii	"***[1]Critical Error!***\000"
	.text
	.align	2
	.global	edge_p
	.syntax unified
	.arm
	.fpu softvfp
	.type	edge_p, %function
edge_p:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L8
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L8
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	b	.L9
.L8:
	ldr	r0, .L10+8
	bl	puts
	mov	r3, #0
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	NUM_STATES
	.word	edge_potential
	.word	.LC4
	.size	edge_p, .-edge_p
	.global	__aeabi_dcmpeq
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC5:
	.ascii	"===%d %d %d %d ====fact: %d\012\000"
	.align	2
.LC6:
	.ascii	"bp_msg_cnt.txt\000"
	.global	__aeabi_dadd
	.global	__aeabi_f2d
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	msg, %function
msg:
	@ args = 0, pretend = 0, frame = 1096
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1104
	sub	sp, sp, #8
	str	r0, [fp, #-1096]
	str	r1, [fp, #-1100]
	str	r2, [fp, #-1104]
	str	r3, [fp, #-1108]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	mov	r3, #0
	str	r3, [fp, #-1068]
	mov	r3, #0
	str	r3, [fp, #-1084]
	mov	r3, #0
	str	r3, [fp, #-1064]
	mov	r3, #0
	str	r3, [fp, #-1080]
	mov	r3, #0
	str	r3, [fp, #-1088]
	b	.L13
.L26:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	mov	r3, #0
	str	r3, [fp, #-1076]
	ldr	r3, .L31+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-1096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-1084]
	ldr	r3, .L31+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-1096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-1072]
	mov	r2, #0
	ldr	r3, .L31+8
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	mov	r2, #0
	mov	r3, #0
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	b	.L17
.L22:
	ldr	r3, [fp, #-1084]
	ldr	r3, [r3]
	ldr	r2, [fp, #-1100]
	cmp	r2, r3
	beq	.L18
	ldr	r3, [fp, #-1076]
	add	r3, r3, #1
	str	r3, [fp, #-1076]
	ldr	r3, [fp, #-1108]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-1084]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-1088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	b	.L20
.L19:
	ldr	r3, [fp, #-1084]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-1088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
.L20:
	mov	r2, #20
	mov	r3, #0
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-1072]
	cmp	r3, #0
	ble	.L18
	ldr	r3, [fp, #-1072]
	sub	r3, r3, #1
	str	r3, [fp, #-1072]
	ldr	r2, .L31+12
	ldr	r3, .L31+16
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	mov	r3, #1
	str	r3, [fp, #-1080]
.L18:
	ldr	r3, [fp, #-1084]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-1084]
.L17:
	ldr	r3, [fp, #-1084]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-1080]
	cmp	r3, #1
	bne	.L24
	ldr	r3, .L31+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-1096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1076]
	cmp	r2, r3
	beq	.L24
	ldr	r3, .L31+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-1096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, [fp, #-1072]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1076]
	str	r3, [sp]
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1096]
	ldr	r1, .L31+20
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L31+24
	bl	write_file
	b	.L24
.L25:
	ldr	r2, .L31+12
	ldr	r3, .L31+16
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1072]
	sub	r3, r3, #1
	str	r3, [fp, #-1072]
.L24:
	ldr	r3, [fp, #-1072]
	cmp	r3, #0
	bgt	.L25
	ldr	r2, .L31+28
	ldr	r3, .L31+32
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L31+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-1096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-1088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r1, [fp, #-1104]
	ldr	r0, [fp, #-1088]
	bl	edge_p
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	ldr	r2, [fp, #-1052]
	ldr	r3, [fp, #-1048]
	ldr	r0, [fp, #-1060]
	ldr	r1, [fp, #-1056]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	b	.L16
.L30:
	nop
.L16:
	ldr	r3, [fp, #-1088]
	add	r3, r3, #1
	str	r3, [fp, #-1088]
.L13:
	ldr	r3, .L31+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-1088]
	cmp	r2, r3
	blt	.L26
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	ldr	r1, .L31
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC7
	.word	AdjList
	.word	1072693248
	.word	-2013235812
	.word	2117592124
	.word	.LC5
	.word	.LC6
	.word	-1023872167
	.word	27618847
	.word	NUM_STATES
	.size	msg, .-msg
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Revised number of threads %d\012\000"
	.align	2
.LC9:
	.ascii	"bucket %d start %d end %d\012\000"
	.text
	.align	2
	.global	create_buckets
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_buckets, %function
create_buckets:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L34
.L35:
	ldr	r3, .L44
	ldr	r1, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L34:
	ldr	r3, .L44+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L35
	ldr	r3, .L44+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, .L44+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L36
.L41:
	ldr	r3, .L44+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L37
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, .L44+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	add	r3, r1, r3
	sub	r2, r2, #1
	str	r2, [r3, #4]
	b	.L38
.L37:
	ldr	r3, .L44
	ldr	r1, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, .L44
	ldr	r1, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L39
	ldr	r3, .L44+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, .L44+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	add	r2, r2, #1
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
.L39:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L40
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, .L44+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	add	r3, r1, r3
	sub	r2, r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, .L44+8
	str	r3, [r2]
	ldr	r3, .L44+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L44+16
	bl	printf
	b	.L38
.L40:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L36:
	ldr	r3, .L44+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L41
.L38:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L42
.L43:
	ldr	r3, .L44+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L44+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r1
	ldr	r1, [fp, #-36]
	ldr	r0, .L44+20
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L42:
	ldr	r3, .L44+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L43
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	AdjList
	.word	NUM_NODES
	.word	NUM_THREADS
	.word	buckets
	.word	.LC8
	.word	.LC9
	.size	create_buckets, .-create_buckets
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	worker_thread2
	.syntax unified
	.arm
	.fpu softvfp
	.type	worker_thread2, %function
worker_thread2:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	str	r0, [fp, #-80]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, .L56+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	b	.L47
.L54:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L48
.L51:
	ldr	r3, .L56+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, .L56+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-76]
	b	.L49
.L50:
	ldr	r3, [fp, #-76]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-76]
.L49:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L56+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L48:
	ldr	r3, .L56+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L51
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L56+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L52
.L53:
	ldr	r3, .L56+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L56+8
	ldr	ip, [r3]
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, ip, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L52:
	ldr	r3, .L56+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L53
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L47:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	ble	.L54
	mov	sp, r5
	nop
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC10
	.word	NUM_STATES
	.word	AdjList
	.word	1072693248
	.size	worker_thread2, .-worker_thread2
	.section	.rodata
	.align	2
.LC11:
	.ascii	"===%d: %d %d ====fact: %d\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	msg_pass
	.syntax unified
	.arm
	.fpu softvfp
	.type	msg_pass, %function
msg_pass:
	@ args = 0, pretend = 0, frame = 1088
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1088
	sub	sp, sp, #12
	str	r0, [fp, #-1088]
	str	r1, [fp, #-1092]
	str	r2, [fp, #-1096]
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1076]
	mov	r3, #0
	str	r3, [fp, #-1072]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	mov	r3, #0
	str	r3, [fp, #-1080]
	b	.L59
.L69:
	mov	r2, #0
	ldr	r3, .L74+4
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	mov	r3, #0
	str	r3, [fp, #-1064]
	ldr	r3, .L74+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-1072]
	ldr	r3, .L74+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-1068]
	b	.L60
.L65:
	ldr	r3, [fp, #-1096]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-1072]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-1080]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	b	.L62
.L61:
	ldr	r3, [fp, #-1072]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-1080]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
.L62:
	mov	r2, #20
	mov	r3, #0
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-1068]
	cmp	r3, #0
	ble	.L63
	ldr	r3, [fp, #-1068]
	sub	r3, r3, #1
	str	r3, [fp, #-1068]
	ldr	r2, .L74+12
	ldr	r3, .L74+16
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	mov	r3, #1
	str	r3, [fp, #-1076]
.L63:
	ldr	r3, [fp, #-1072]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-1072]
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
.L60:
	ldr	r3, [fp, #-1072]
	cmp	r3, #0
	bne	.L65
	ldr	r3, [fp, #-1076]
	cmp	r3, #1
	bne	.L67
	ldr	r3, .L74+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-1064]
	cmp	r2, r3
	beq	.L67
	ldr	r3, .L74+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, [fp, #-1068]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-1064]
	ldr	r2, [fp, #-1088]
	ldr	r1, .L74+20
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L74+24
	bl	write_file
	b	.L67
.L68:
	ldr	r2, .L74+12
	ldr	r3, .L74+16
	ldr	r0, [fp, #-1052]
	ldr	r1, [fp, #-1048]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1068]
	sub	r3, r3, #1
	str	r3, [fp, #-1068]
.L67:
	ldr	r3, [fp, #-1068]
	cmp	r3, #0
	bgt	.L68
	ldr	r3, [fp, #-1080]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1092]
	add	r1, r2, r3
	ldr	r2, [fp, #-1052]
	ldr	r3, [fp, #-1048]
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-1052]
	ldr	r3, [fp, #-1048]
	ldr	r0, [fp, #-1060]
	ldr	r1, [fp, #-1056]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	ldr	r3, [fp, #-1080]
	add	r3, r3, #1
	str	r3, [fp, #-1080]
.L59:
	ldr	r3, .L74+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-1080]
	cmp	r2, r3
	blt	.L69
	mov	r3, #0
	str	r3, [fp, #-1080]
	b	.L70
.L71:
	ldr	r3, [fp, #-1080]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1092]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-1080]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1092]
	add	r4, r2, r3
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-1080]
	add	r3, r3, #1
	str	r3, [fp, #-1080]
.L70:
	ldr	r3, .L74+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-1080]
	cmp	r2, r3
	blt	.L71
	nop
	ldr	r3, .L74
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC12
	.word	1072693248
	.word	AdjList
	.word	-2013235812
	.word	2117592124
	.word	.LC11
	.word	.LC6
	.word	NUM_STATES
	.size	msg_pass, .-msg_pass
	.section	.rodata
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	msg2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msg2, %function
msg2:
	@ args = 8, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-84]
	ldr	r3, .L94
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, .L94+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-40]
	ldr	r3, .L94+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-56]
	b	.L77
.L84:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bne	.L78
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L79
.L82:
	ldr	r3, [fp, #-72]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-40]
	ldr	r1, [fp, #-48]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	b	.L81
.L80:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-40]
	ldr	r1, [fp, #-48]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
.L81:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L79:
	ldr	r3, .L94+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L82
	b	.L83
.L78:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-56]
.L77:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L84
.L83:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L85
.L91:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L86
.L90:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, .L94+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	edge_p
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L93
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r4, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	b	.L89
.L93:
	nop
.L89:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L86:
	ldr	r3, .L94+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L90
	ldr	r3, [fp, #-84]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-84]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L85:
	ldr	r3, .L94+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L91
	mov	sp, r6
	nop
	ldr	r3, .L94
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L92
	bl	__stack_chk_fail
.L92:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC13
	.word	NUM_STATES
	.word	AdjList
	.size	msg2, .-msg2
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	worker_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	worker_thread, %function
worker_thread:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #72
	str	r0, [fp, #-80]
	ldr	r3, .L109
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r7, r3
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, .L109+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-48]
	ldr	r3, .L109+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	b	.L97
.L106:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-68]
	bl	msg_pass
	ldr	r3, .L109+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-76]
	b	.L98
.L105:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-76]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-64]
	ldr	r2, [r3, #8]
	sub	r3, fp, #36
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	ldr	r0, [fp, #-68]
	bl	msg2
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L99
.L104:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L100
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-76]
	ldr	lr, [ip, #16]
	ldr	ip, [fp, #-72]
	lsl	ip, ip, #3
	add	r6, lr, ip
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	b	.L101
.L100:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-76]
	ldr	lr, [ip, #12]
	ldr	ip, [fp, #-72]
	lsl	ip, ip, #3
	add	r6, lr, ip
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
.L101:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L102
	ldr	r3, [fp, #-76]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-76]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r2, .L109+12
	ldr	r3, .L109+16
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L102
	ldr	r0, .L109+20
	bl	pthread_mutex_lock
	ldr	r3, [fp, #-64]
	mov	r2, #1
	str	r2, [r3, #12]
	ldr	r0, .L109+20
	bl	pthread_mutex_unlock
.L102:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L99:
	ldr	r3, .L109+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L104
	ldr	r3, [fp, #-64]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-76]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-76]
.L98:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L105
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L97:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	ble	.L106
	mov	sp, r7
	nop
	ldr	r2, .L109
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L107
	bl	__stack_chk_fail
.L107:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC14
	.word	NUM_STATES
	.word	AdjList
	.word	-640172613
	.word	1037794527
	.word	bucket_mutex
	.size	worker_thread, .-worker_thread
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Error creating thread\012\000"
	.align	2
.LC16:
	.ascii	"Error joining thread\012\000"
	.align	2
.LC17:
	.ascii	"message converge!\000"
	.align	2
.LC18:
	.ascii	"updating the node belief ...\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bp_alg_mt
	.syntax unified
	.arm
	.fpu softvfp
	.type	bp_alg_mt, %function
bp_alg_mt:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L135
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L135+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L112
.L126:
	bl	clock
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L135+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L113
.L116:
	ldr	r3, .L135+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	str	r2, [r3, #8]
	ldr	r3, .L135+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r0, r2, r3
	ldr	r3, .L135+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, .L135+16
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L114
	ldr	r3, .L135+20
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L135+24
	bl	fwrite
	b	.L115
.L114:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L113:
	ldr	r3, .L135+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L116
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L117
.L119:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L118
	ldr	r3, .L135+20
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L135+28
	bl	fwrite
	b	.L115
.L118:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L117:
	ldr	r3, .L135+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L119
	ldr	r0, [fp, #-28]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-28]
	bl	clock
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L120
.L123:
	ldr	r3, .L135+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L121
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L122
.L121:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L120:
	ldr	r3, .L135+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L123
.L122:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L124
	ldr	r0, .L135+32
	bl	puts
	b	.L125
.L124:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L112:
	ldr	r3, .L135+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	ble	.L126
.L125:
	ldr	r0, .L135+40
	bl	puts
	ldr	r3, .L135+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L127
.L129:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r0, r2, r3
	ldr	r3, .L135+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, .L135+44
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L128
	ldr	r3, .L135+20
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L135+24
	bl	fwrite
	b	.L115
.L128:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L127:
	ldr	r3, .L135+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L129
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L130
.L132:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L131
	ldr	r3, .L135+20
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L135+28
	bl	fwrite
	b	.L115
.L131:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L130:
	ldr	r3, .L135+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L132
	ldr	r0, [fp, #-28]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, .L135+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_node_belief_write_file
	mov	sp, r4
	b	.L111
.L115:
	mov	sp, r4
.L111:
	ldr	r3, .L135
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L134
	bl	__stack_chk_fail
.L134:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L136:
	.align	2
.L135:
	.word	.LC19
	.word	NUM_STATES
	.word	NUM_THREADS
	.word	buckets
	.word	worker_thread
	.word	stderr
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	BP_ITER
	.word	.LC18
	.word	worker_thread2
	.word	outputfile
	.size	bp_alg_mt, .-bp_alg_mt
	.section	.rodata
	.align	2
.LC20:
	.ascii	"updating the message ...\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bp_alg
	.syntax unified
	.arm
	.fpu softvfp
	.type	bp_alg, %function
bp_alg:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #80
	ldr	r3, .L164
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r7, r3
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r3, .L164+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-76]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-72]
	ldr	r0, .L164+8
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-96]
	b	.L138
.L153:
	bl	clock
	str	r0, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L139
.L150:
	ldr	r3, .L164+12
	ldr	r1, [r3]
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-88]
	b	.L140
.L149:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L141
.L142:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-88]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-100]
	ldr	r0, [fp, #-92]
	bl	msg
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-72]
	ldr	r1, [fp, #-100]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L141:
	ldr	r3, .L164+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L142
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L143
.L148:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L144
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r6, r2, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	b	.L145
.L144:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r6, r2, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
.L145:
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L146
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r2, .L164+16
	ldr	r3, .L164+20
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L146
	mov	r3, #1
	str	r3, [fp, #-84]
.L146:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L143:
	ldr	r3, .L164+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L148
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-96]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-88]
.L140:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L149
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L139:
	ldr	r3, .L164+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L150
	bl	clock
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L151
	ldr	r0, .L164+28
	bl	puts
	b	.L152
.L151:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L138:
	ldr	r3, .L164+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	ble	.L153
.L152:
	ldr	r0, .L164+36
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L154
.L161:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L155
.L158:
	ldr	r3, .L164+12
	ldr	r1, [r3]
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L164+12
	ldr	r1, [r3]
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-88]
	b	.L156
.L157:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-88]
.L156:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L157
	ldr	r3, .L164+12
	ldr	r1, [r3]
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L155:
	ldr	r3, .L164+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L158
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L164+40
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L159
.L160:
	ldr	r3, .L164+12
	ldr	r1, [r3]
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L164+12
	ldr	ip, [r3]
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, ip, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r4, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L159:
	ldr	r3, .L164+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L160
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L154:
	ldr	r3, .L164+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L161
	ldr	r3, .L164+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_node_belief_write_file
	mov	sp, r7
	nop
	ldr	r3, .L164
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L162
	bl	__stack_chk_fail
.L162:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L165:
	.align	2
.L164:
	.word	.LC21
	.word	NUM_STATES
	.word	.LC20
	.word	AdjList
	.word	-640172613
	.word	1037794527
	.word	NUM_NODES
	.word	.LC17
	.word	BP_ITER
	.word	.LC18
	.word	1072693248
	.word	outputfile
	.size	bp_alg, .-bp_alg
	.section	.rodata
	.align	2
.LC22:
	.ascii	"memery allocation err: AdjList[]\000"
	.align	2
.LC23:
	.ascii	"memery allocation err: AdjList[%d].belief\012\000"
	.align	2
.LC24:
	.ascii	"memery allocation err: label\000"
	.text
	.align	2
	.global	init_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_graph, %function
init_graph:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L175
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L175+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L175
	str	r2, [r3]
	ldr	r3, .L175
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L167
	ldr	r0, .L175+8
	bl	puts
	mvn	r3, #0
	b	.L168
.L167:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L169
.L173:
	ldr	r3, .L175+12
	ldr	r3, [r3]
	lsl	r0, r3, #3
	ldr	r3, .L175
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L175
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L175
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L175
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L170
	ldr	r1, [fp, #-20]
	ldr	r0, .L175+16
	bl	printf
	mvn	r3, #0
	b	.L168
.L170:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L171
.L172:
	ldr	r3, .L175
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L171:
	ldr	r3, .L175+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L172
	ldr	r3, .L175
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L175
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L169:
	ldr	r3, .L175+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L173
	ldr	r3, .L175+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L175+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L175+20
	str	r2, [r3]
	ldr	r3, .L175+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L174
	ldr	r0, .L175+24
	bl	puts
	mvn	r3, #0
	b	.L168
.L174:
	mov	r3, #0
.L168:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L176:
	.align	2
.L175:
	.word	AdjList
	.word	NUM_NODES
	.word	.LC22
	.word	NUM_STATES
	.word	.LC23
	.word	label
	.word	.LC24
	.size	init_graph, .-init_graph
	.section	.rodata
	.align	2
.LC25:
	.ascii	"memery allocation err: get_edgenode(): edge_node\000"
	.align	2
.LC26:
	.ascii	"memery allocation err: edge_node.msg\000"
	.align	2
.LC27:
	.ascii	"memery allocation err: edge_node.msg_alter\000"
	.text
	.align	2
	.global	get_edgenode
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_edgenode, %function
get_edgenode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r0, #28
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L178
	ldr	r0, .L184
	bl	puts
	mov	r3, #0
	b	.L179
.L178:
	ldr	r3, .L184+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L180
	ldr	r0, .L184+8
	bl	puts
	mov	r3, #0
	b	.L179
.L180:
	ldr	r3, .L184+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L181
	ldr	r0, .L184+12
	bl	puts
	mov	r3, #0
	b	.L179
.L181:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #24]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L182
.L183:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, #0
	mov	r1, #0
	stm	r3, {r0-r1}
	ldr	r2, [fp, #-8]
	ldr	r1, [r2, #12]
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #3
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L182:
	ldr	r3, .L184+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L183
	ldr	r3, [fp, #-8]
.L179:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L185:
	.align	2
.L184:
	.word	.LC25
	.word	NUM_STATES
	.word	.LC26
	.word	.LC27
	.size	get_edgenode, .-get_edgenode
	.align	2
	.global	destroy_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy_graph, %function
destroy_graph:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L187
.L189:
	ldr	r3, .L201
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L188
	ldr	r3, .L201
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L188:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L187:
	ldr	r3, .L201+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L189
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L190
.L193:
	ldr	r3, .L201
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L191
.L192:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	free
.L191:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L192
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L190:
	ldr	r3, .L201+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L193
	ldr	r3, .L201
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L194
	ldr	r3, .L201
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L194:
	ldr	r3, .L201+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L195
	ldr	r3, .L201+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L195:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L196
.L198:
	ldr	r3, .L201+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L197
	ldr	r3, .L201+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L197:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L196:
	ldr	r3, .L201+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L198
	ldr	r3, .L201+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L200
	ldr	r3, .L201+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L200:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L202:
	.align	2
.L201:
	.word	AdjList
	.word	NUM_NODES
	.word	label
	.word	edge_potential
	.word	NUM_STATES
	.size	destroy_graph, .-destroy_graph
	.section	.rodata
	.align	2
.LC28:
	.ascii	"Graph:\000"
	.align	2
.LC29:
	.ascii	"[out]%d: \000"
	.align	2
.LC30:
	.ascii	"(%d->%d) \000"
	.align	2
.LC31:
	.ascii	"Degree: %d\012\000"
	.align	2
.LC32:
	.ascii	"[in ]%d: \000"
	.text
	.align	2
	.global	print_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_graph, %function
print_graph:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L210
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L204
.L209:
	ldr	r1, [fp, #-12]
	ldr	r0, .L210+4
	bl	printf
	ldr	r3, .L210+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	b	.L205
.L206:
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L210+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-8]
.L205:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L206
	ldr	r3, .L210+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L210+16
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r0, .L210+20
	bl	printf
	ldr	r3, .L210+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
	b	.L207
.L208:
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L210+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
.L207:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L208
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L204:
	ldr	r3, .L210+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L209
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L211:
	.align	2
.L210:
	.word	.LC28
	.word	.LC29
	.word	AdjList
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	NUM_NODES
	.size	print_graph, .-print_graph
	.section	.rodata
	.align	2
.LC33:
	.ascii	"Graph Degree:\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
.LC34:
	.ascii	"--------------\012max_degree: %d\012min_degree: %d\012"
	.ascii	"avg_degree: %.2f\012--------------\012\000"
	.text
	.align	2
	.global	print_degree
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_degree, %function
print_degree:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L220
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L213
.L219:
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L220+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-40]
	b	.L214
.L215:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-40]
.L214:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L215
	ldr	r3, .L220+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-36]
	str	r2, [r3, #4]
	ldr	r3, .L220+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-36]
	ldr	r1, .L220+8
	smull	r0, r1, r3, r1
	asr	r1, r1, #9
	asr	r3, r3, #31
	sub	r3, r1, r3
	str	r3, [r2, #8]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L216
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L217
.L216:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L218
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	b	.L217
.L218:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L217
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-24]
.L217:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L213:
	ldr	r3, .L220+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L219
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L220+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, .L220+16
	bl	printf
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L221:
	.align	2
.L220:
	.word	.LC33
	.word	AdjList
	.word	2060940259
	.word	NUM_NODES
	.word	.LC34
	.size	print_degree, .-print_degree
	.section	.rodata
	.align	2
.LC35:
	.ascii	"%d: %d, %d\012\000"
	.align	2
.LC36:
	.ascii	"%s\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_degree_and_write_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_degree_and_write_file, %function
print_degree_and_write_file:
	@ args = 0, pretend = 0, frame = 1080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1088
	sub	sp, sp, #4
	str	r0, [fp, #-1088]
	ldr	r3, .L235
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1076]
	mov	r3, #0
	str	r3, [fp, #-1072]
	mov	r3, #0
	str	r3, [fp, #-1068]
	mov	r3, #0
	str	r3, [fp, #-1064]
	mov	r3, #0
	str	r3, [fp, #-1060]
	mov	r3, #0
	str	r3, [fp, #-1052]	@ float
	mov	r3, #0
	str	r3, [fp, #-1056]
	ldr	r3, .L235+4
	str	r3, [fp, #-1048]
	mov	r2, #420
	ldr	r1, [fp, #-1048]
	ldr	r0, [fp, #-1088]
	bl	open
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bge	.L223
	ldr	r1, [fp, #-1088]
	ldr	r0, .L235+8
	bl	printf
	b	.L222
.L223:
	ldr	r0, .L235+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1080]
	b	.L225
.L232:
	mov	r3, #0
	str	r3, [fp, #-1072]
	ldr	r3, .L235+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-1080]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-1076]
	b	.L226
.L227:
	ldr	r3, [fp, #-1072]
	add	r3, r3, #1
	str	r3, [fp, #-1072]
	ldr	r3, [fp, #-1076]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-1076]
.L226:
	ldr	r3, [fp, #-1076]
	cmp	r3, #0
	bne	.L227
	ldr	r3, .L235+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-1080]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-1072]
	str	r2, [r3, #4]
	ldr	r3, .L235+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-1080]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-1072]
	ldr	r1, .L235+20
	smull	r0, r1, r3, r1
	asr	r1, r1, #9
	asr	r3, r3, #31
	sub	r3, r1, r3
	str	r3, [r2, #8]
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1072]
	add	r3, r2, r3
	str	r3, [fp, #-1068]
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	bne	.L228
	ldr	r3, [fp, #-1072]
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1072]
	str	r3, [fp, #-1060]
	mov	r3, #1
	str	r3, [fp, #-1056]
	b	.L229
.L228:
	ldr	r2, [fp, #-1072]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	ble	.L230
	ldr	r3, [fp, #-1072]
	str	r3, [fp, #-1064]
	b	.L229
.L230:
	ldr	r2, [fp, #-1072]
	ldr	r3, [fp, #-1060]
	cmp	r2, r3
	bge	.L229
	ldr	r3, [fp, #-1072]
	str	r3, [fp, #-1060]
.L229:
	ldr	r3, .L235+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-1080]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	str	r3, [sp]
	ldr	r3, [fp, #-1072]
	ldr	r2, [fp, #-1080]
	ldr	r1, .L235+24
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1044]
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L231
	ldr	r0, .L235+28
	bl	puts
	b	.L222
.L231:
	ldr	r3, [fp, #-1080]
	add	r3, r3, #1
	str	r3, [fp, #-1080]
.L225:
	ldr	r3, .L235+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-1080]
	cmp	r2, r3
	blt	.L232
	ldr	r0, [fp, #-1068]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L235+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1052]	@ float
	ldr	r0, [fp, #-1052]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	stm	sp, {r2-r3}
	ldr	r3, [fp, #-1060]
	ldr	r2, [fp, #-1064]
	ldr	r1, .L235+36
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L235+40
	bl	printf
	ldr	r0, [fp, #-1044]
	bl	close
.L222:
	ldr	r3, .L235
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L234
	bl	__stack_chk_fail
.L234:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L236:
	.align	2
.L235:
	.word	.LC37
	.word	578
	.word	.LC2
	.word	.LC33
	.word	AdjList
	.word	2060940259
	.word	.LC35
	.word	.LC3
	.word	NUM_NODES
	.word	.LC34
	.word	.LC36
	.size	print_degree_and_write_file, .-print_degree_and_write_file
	.section	.rodata
	.align	2
.LC38:
	.ascii	"%d: [%.20Lf\000"
	.align	2
.LC39:
	.ascii	", %.20Lf\000"
	.align	2
.LC40:
	.ascii	"]\000"
	.text
	.align	2
	.global	print_node_belief
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_node_belief, %function
print_node_belief:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L238
.L241:
	ldr	r3, .L242
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-12]
	ldr	r0, .L242+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L239
.L240:
	ldr	r3, .L242
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L242+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L239:
	ldr	r3, .L242+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L240
	ldr	r0, .L242+16
	bl	puts
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L238:
	ldr	r3, .L242+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L241
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L243:
	.align	2
.L242:
	.word	AdjList
	.word	.LC38
	.word	.LC39
	.word	NUM_STATES
	.word	.LC40
	.word	NUM_NODES
	.size	print_node_belief, .-print_node_belief
	.section	.rodata
	.align	2
.LC41:
	.ascii	"write the belief value into a file ...\000"
	.align	2
.LC42:
	.ascii	"]\012\000"
	.align	2
.LC43:
	.ascii	"saved into file: %s\012\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_node_belief_write_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_node_belief_write_file, %function
print_node_belief_write_file:
	@ args = 0, pretend = 0, frame = 10280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #10240
	sub	sp, sp, #52
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-2084]
	ldr	r3, .L257
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L257+4
	bl	puts
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L257+8
	str	r3, [r2, #-2060]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #420
	ldr	r1, [r1, #-2060]
	ldr	r0, [r3, #-2084]
	bl	open
	str	r0, [r4, #-2056]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2056]
	cmp	r3, #0
	bge	.L245
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-2084]
	ldr	r0, .L257+12
	bl	printf
	b	.L244
.L245:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2068]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2064]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2076]
	b	.L247
.L253:
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r0, r3, r2
	ldr	r3, .L257+16
	ldr	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-2076]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #12
	stm	sp, {r2-r3}
	ldr	r2, [r1, #-2076]
	ldr	r1, .L257+20
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2072]
	b	.L248
.L249:
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r0, r3, r2
	ldr	r3, .L257+16
	ldr	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-2076]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2072]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L257+24
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2072]
	add	r3, r3, #1
	str	r3, [r2, #-2072]
.L248:
	ldr	r3, .L257+28
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-2072]
	cmp	r2, r3
	blt	.L249
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r1, .L257+32
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2068]
	cmp	r3, #0
	bne	.L250
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-2064]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2068]
.L250:
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2064]
	rsb	r3, r3, #10240
	cmp	r2, r3
	ble	.L251
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-2056]
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L252
	ldr	r0, .L257+36
	bl	puts
	b	.L244
.L252:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-2052]
.L251:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2076]
	add	r3, r3, #1
	str	r3, [r2, #-2076]
.L247:
	ldr	r3, .L257+40
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-2076]
	cmp	r2, r3
	blt	.L253
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #0
	ble	.L254
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-2056]
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L254
	ldr	r0, .L257+36
	bl	puts
	b	.L244
.L254:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-2056]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-2084]
	ldr	r0, .L257+44
	bl	printf
.L244:
	ldr	r3, .L257
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L256
	bl	__stack_chk_fail
.L256:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L258:
	.align	2
.L257:
	.word	.LC44
	.word	.LC41
	.word	578
	.word	.LC2
	.word	AdjList
	.word	.LC38
	.word	.LC39
	.word	NUM_STATES
	.word	.LC42
	.word	.LC3
	.word	NUM_NODES
	.word	.LC43
	.size	print_node_belief_write_file, .-print_node_belief_write_file
	.section	.rodata
	.align	2
.LC45:
	.ascii	"(iter=%d) m(%d,%d): [%.20Lf\000"
	.text
	.align	2
	.global	print_node_message
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_node_message, %function
print_node_message:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L260
.L265:
	ldr	r3, .L266
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	b	.L261
.L264:
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, r0
	ldr	r2, [fp, #-16]
	ldr	r0, .L266+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L262
.L263:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L266+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L262:
	ldr	r3, .L266+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L263
	ldr	r0, .L266+16
	bl	puts
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-8]
.L261:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L264
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L260:
	ldr	r3, .L266+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L265
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L267:
	.align	2
.L266:
	.word	AdjList
	.word	.LC45
	.word	.LC39
	.word	NUM_STATES
	.word	.LC40
	.word	NUM_NODES
	.size	print_node_message, .-print_node_message
	.section	.rodata
	.align	2
.LC46:
	.ascii	"no data file found!\000"
	.align	2
.LC47:
	.ascii	"reading the graph nodes ...\000"
	.align	2
.LC48:
	.ascii	"r\000"
	.align	2
.LC49:
	.ascii	"read file %s error!\012\000"
	.align	2
.LC50:
	.ascii	" \000"
	.align	2
.LC51:
	.ascii	"input file %s error!(state format error)\012\000"
	.align	2
.LC52:
	.ascii	"reading the graph edges ...\000"
	.global	__aeabi_i2d
	.align	2
.LC53:
	.ascii	"Error in input graph file\000"
	.align	2
.LC54:
	.ascii	"read_graph finish\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_graph, %function
read_graph:
	@ args = 0, pretend = 0, frame = 1104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1104
	sub	sp, sp, #4
	str	r0, [fp, #-1112]
	str	r1, [fp, #-1116]
	ldr	r3, .L301
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1072]
	mov	r3, #0
	str	r3, [fp, #-1068]
	mov	r3, #0
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1112]
	cmp	r3, #0
	beq	.L269
	ldr	r3, [fp, #-1116]
	cmp	r3, #0
	bne	.L270
.L269:
	ldr	r0, .L301+4
	bl	puts
	mvn	r3, #0
	b	.L295
.L270:
	ldr	r0, .L301+8
	bl	puts
	ldr	r1, .L301+12
	ldr	r0, [fp, #-1112]
	bl	fopen
	str	r0, [fp, #-1060]
	ldr	r3, [fp, #-1060]
	cmp	r3, #0
	bne	.L272
	ldr	r1, [fp, #-1112]
	ldr	r0, .L301+16
	bl	printf
	mvn	r3, #0
	b	.L295
.L272:
	mov	r3, #0
	str	r3, [fp, #-1080]
	mov	r3, #0
	str	r3, [fp, #-1076]
.L281:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-1060]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L299
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-1108]
	sub	r3, fp, #1088
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L301+20
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-1104]
	mov	r3, #1
	str	r3, [fp, #-1100]
	b	.L275
.L280:
	ldr	r3, [fp, #-1100]
	cmp	r3, #1
	bne	.L276
	ldr	r0, [fp, #-1104]
	bl	atoi
	str	r0, [fp, #-1096]
	ldr	r2, [fp, #-1096]
	ldr	r3, [fp, #-1080]
	cmp	r2, r3
	ble	.L277
	ldr	r3, [fp, #-1096]
	str	r3, [fp, #-1080]
	b	.L277
.L276:
	ldr	r3, [fp, #-1100]
	cmp	r3, #2
	bne	.L278
	ldr	r3, [fp, #-1104]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L279
	ldr	r1, [fp, #-1112]
	ldr	r0, .L301+24
	bl	printf
	mvn	r3, #0
	b	.L295
.L279:
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
	ldr	r0, [fp, #-1104]
	bl	atoi
	str	r0, [fp, #-1092]
	ldr	r2, [fp, #-1092]
	ldr	r3, [fp, #-1076]
	cmp	r2, r3
	ble	.L277
	ldr	r3, [fp, #-1092]
	str	r3, [fp, #-1076]
	b	.L277
.L278:
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-1092]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	add	r4, r2, r3
	ldr	r0, [fp, #-1104]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
.L277:
	ldr	r3, [fp, #-1100]
	add	r3, r3, #1
	str	r3, [fp, #-1100]
	sub	r3, fp, #1088
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L301+20
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-1104]
.L275:
	ldr	r3, [fp, #-1104]
	cmp	r3, #0
	bne	.L280
	b	.L281
.L299:
	nop
	ldr	r0, [fp, #-1060]
	bl	fclose
	ldr	r0, .L301+32
	bl	puts
	ldr	r1, .L301+12
	ldr	r0, [fp, #-1116]
	bl	fopen
	str	r0, [fp, #-1060]
	ldr	r3, [fp, #-1060]
	cmp	r3, #0
	bne	.L282
	ldr	r1, [fp, #-1116]
	ldr	r0, .L301+16
	bl	printf
	mvn	r3, #0
	b	.L295
.L282:
	ldr	r3, .L301+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L301+40
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1052]
	str	r3, [fp, #-1048]
.L294:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-1060]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L300
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-1108]
	sub	r3, fp, #1088
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L301+20
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-1104]
	mov	r3, #1
	str	r3, [fp, #-1100]
	b	.L285
.L293:
	ldr	r3, [fp, #-1100]
	cmp	r3, #1
	bne	.L286
	ldr	r0, [fp, #-1104]
	bl	atoi
	str	r0, [fp, #-1088]
	b	.L287
.L286:
	ldr	r3, [fp, #-1100]
	cmp	r3, #2
	bne	.L288
	ldr	r0, [fp, #-1104]
	bl	atoi
	str	r0, [fp, #-1056]
	ldr	r1, [fp, #-1056]
	ldr	r0, [fp, #-1088]
	bl	get_edgenode
	str	r0, [fp, #-1072]
	ldr	r3, [fp, #-1072]
	mov	r2, #0
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-1084]
	b	.L289
.L290:
	ldr	r3, [fp, #-1072]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-1084]
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, [fp, #-1052]
	ldr	r3, [fp, #-1048]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-1072]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-1084]
	lsl	r3, r3, #3
	add	r0, r2, r3
	ldmia	r1, {r2-r3}
	stm	r0, {r2-r3}
	ldr	r3, [fp, #-1084]
	add	r3, r3, #1
	str	r3, [fp, #-1084]
.L289:
	ldr	r3, .L301+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-1084]
	cmp	r2, r3
	blt	.L290
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-1068]
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-1072]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-1072]
	ldr	r2, [fp, #-1068]
	str	r2, [r3, #24]
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-1068]
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-1072]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-1072]
	ldr	r2, [fp, #-1068]
	str	r2, [r3, #20]
	ldr	r1, [fp, #-1088]
	ldr	r0, [fp, #-1056]
	bl	get_edgenode
	str	r0, [fp, #-1072]
	ldr	r3, [fp, #-1072]
	mov	r2, #0
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-1084]
	b	.L291
.L292:
	ldr	r3, [fp, #-1072]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-1084]
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, [fp, #-1052]
	ldr	r3, [fp, #-1048]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-1072]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-1084]
	lsl	r3, r3, #3
	add	r0, r2, r3
	ldmia	r1, {r2-r3}
	stm	r0, {r2-r3}
	ldr	r3, [fp, #-1084]
	add	r3, r3, #1
	str	r3, [fp, #-1084]
.L291:
	ldr	r3, .L301+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-1084]
	cmp	r2, r3
	blt	.L292
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-1068]
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-1072]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-1072]
	ldr	r2, [fp, #-1068]
	str	r2, [r3, #24]
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-1068]
	ldr	r3, .L301+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-1088]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-1072]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-1072]
	ldr	r2, [fp, #-1068]
	str	r2, [r3, #20]
	b	.L287
.L288:
	ldr	r0, .L301+44
	bl	puts
	mvn	r3, #0
	b	.L295
.L287:
	ldr	r3, [fp, #-1100]
	add	r3, r3, #1
	str	r3, [fp, #-1100]
	sub	r3, fp, #1088
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L301+20
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-1104]
.L285:
	ldr	r3, [fp, #-1104]
	cmp	r3, #0
	bne	.L293
	b	.L294
.L300:
	nop
	ldr	r0, [fp, #-1060]
	bl	fclose
	ldr	r0, .L301+48
	bl	puts
	mov	r3, #0
.L295:
	ldr	r2, .L301
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L296
	bl	__stack_chk_fail
.L296:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L302:
	.align	2
.L301:
	.word	.LC55
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	AdjList
	.word	.LC52
	.word	NUM_STATES
	.word	1072693248
	.word	.LC53
	.word	.LC54
	.size	read_graph, .-read_graph
	.section	.rodata
	.align	2
.LC56:
	.ascii	"memery allocation err: edge_potential\000"
	.text
	.align	2
	.global	init_edge_potential
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_edge_potential, %function
init_edge_potential:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L310
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L310+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L310
	str	r2, [r3]
	ldr	r3, .L310
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L304
	ldr	r0, .L310+8
	bl	puts
	mvn	r3, #0
	b	.L303
.L304:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L306
.L309:
	ldr	r3, .L310+4
	ldr	r3, [r3]
	lsl	r1, r3, #2
	ldr	r3, .L310
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L307
.L308:
	ldr	r3, .L310
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L310+12
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L307:
	ldr	r3, .L310+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L308
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L306:
	ldr	r3, .L310+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L309
.L303:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L311:
	.align	2
.L310:
	.word	edge_potential
	.word	NUM_STATES
	.word	.LC56
	.word	-1082130432
	.size	init_edge_potential, .-init_edge_potential
	.section	.rodata
	.align	2
.LC57:
	.ascii	"%f, \000"
	.text
	.align	2
	.global	print_edge_potential
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_edge_potential, %function
print_edge_potential:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L313
.L316:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L314
.L315:
	ldr	r3, .L317
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L317+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L314:
	ldr	r3, .L317+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L315
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L313:
	ldr	r3, .L317+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L316
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L318:
	.align	2
.L317:
	.word	edge_potential
	.word	.LC57
	.word	NUM_STATES
	.size	print_edge_potential, .-print_edge_potential
	.section	.rodata
	.align	2
.LC58:
	.ascii	"no ep_file found!\000"
	.align	2
.LC59:
	.ascii	"read ep_file %s error!\012\000"
	.global	__aeabi_d2f
	.align	2
.LC60:
	.ascii	"warning! NUM_STATES is error!\000"
	.align	2
.LC61:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_edge_potential
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_edge_potential, %function
read_edge_potential:
	@ args = 0, pretend = 0, frame = 1072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1072
	sub	sp, sp, #4
	str	r0, [fp, #-1080]
	ldr	r3, .L339
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	bne	.L320
	ldr	r0, .L339+4
	bl	puts
	mvn	r3, #0
	b	.L335
.L320:
	bl	init_edge_potential
	str	r0, [fp, #-1048]
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	bge	.L322
	mvn	r3, #0
	b	.L335
.L322:
	ldr	r1, .L339+8
	ldr	r0, [fp, #-1080]
	bl	fopen
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bne	.L323
	ldr	r1, [fp, #-1080]
	ldr	r0, .L339+12
	bl	printf
	mvn	r3, #0
	b	.L335
.L323:
	mov	r3, #0
	str	r3, [fp, #-1064]
	mov	r3, #0
	str	r3, [fp, #-1052]
.L333:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1044]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-1044]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L338
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-1072]
	sub	r3, fp, #1056
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L339+16
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-1068]
	mov	r3, #0
	str	r3, [fp, #-1056]
	b	.L326
.L332:
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	bne	.L327
	ldr	r3, [fp, #-1068]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L328
	ldr	r1, [fp, #-1080]
	ldr	r0, .L339+20
	bl	printf
	mvn	r3, #0
	b	.L335
.L328:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #1
	str	r3, [fp, #-1068]
	ldr	r0, [fp, #-1068]
	bl	atoi
	str	r0, [fp, #-1064]
	ldr	r2, [fp, #-1064]
	ldr	r3, [fp, #-1052]
	cmp	r2, r3
	ble	.L329
	ldr	r3, [fp, #-1064]
	str	r3, [fp, #-1052]
	b	.L329
.L327:
	ldr	r3, [fp, #-1056]
	cmp	r3, #1
	bne	.L330
	ldr	r3, [fp, #-1068]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L331
	ldr	r1, [fp, #-1080]
	ldr	r0, .L339+20
	bl	printf
	mvn	r3, #0
	b	.L335
.L331:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #1
	str	r3, [fp, #-1068]
	ldr	r0, [fp, #-1068]
	bl	atoi
	str	r0, [fp, #-1060]
	b	.L329
.L330:
	ldr	r0, [fp, #-1068]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L339+24
	ldr	r0, [r1]
	ldr	r1, [fp, #-1064]
	sub	r1, r1, #-1073741823
	lsl	r1, r1, #2
	add	r1, r0, r1
	ldr	r0, [r1]
	ldr	r1, [fp, #-1060]
	sub	r1, r1, #-1073741823
	lsl	r1, r1, #2
	add	r4, r0, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
.L329:
	sub	r3, fp, #1056
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L339+16
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-1068]
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L326:
	ldr	r3, [fp, #-1068]
	cmp	r3, #0
	bne	.L332
	b	.L333
.L338:
	nop
	ldr	r3, .L339+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-1052]
	cmp	r2, r3
	beq	.L334
	ldr	r0, .L339+32
	bl	puts
.L334:
	mov	r3, #0
.L335:
	ldr	r2, .L339
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L336
	bl	__stack_chk_fail
.L336:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L340:
	.align	2
.L339:
	.word	.LC61
	.word	.LC58
	.word	.LC48
	.word	.LC59
	.word	.LC50
	.word	.LC51
	.word	edge_potential
	.word	NUM_STATES
	.word	.LC60
	.size	read_edge_potential, .-read_edge_potential
	.section	.rodata
	.align	2
.LC62:
	.ascii	"Usage: %s <graph_initial_states_file> <graph_edges_"
	.ascii	"file> <bp_edge_potential_file> <number_of_nodes> <n"
	.ascii	"umber_of_states>\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L342
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L343:
	.align	2
.L342:
	.word	.LC62
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC63:
	.ascii	"Construting the graph, time=%f\012\000"
	.align	2
.LC64:
	.ascii	"Count the degree, time=%f\012\000"
	.align	2
.LC65:
	.ascii	"running the belief propagation algorithm.\000"
	.align	2
.LC66:
	.ascii	"running multi-threaded version threads %d\012\000"
	.align	2
.LC67:
	.ascii	"BP running time=%f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	bgt	.L345
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mvn	r3, #0
	b	.L346
.L345:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L355
	str	r3, [r2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L355+4
	str	r3, [r2]
	ldr	r3, .L355+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	cmp	r3, #6
	ble	.L347
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #24]
	ldr	r2, .L355+12
	str	r3, [r2]
.L347:
	ldr	r3, [fp, #-32]
	cmp	r3, #7
	ble	.L348
	ldr	r3, [fp, #-36]
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L355+16
	str	r3, [r2]
.L348:
	ldr	r3, [fp, #-32]
	cmp	r3, #8
	ble	.L349
	ldr	r3, [fp, #-36]
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L355+8
	str	r3, [r2]
.L349:
	bl	clock
	str	r0, [fp, #-16]
	bl	init_graph
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L350
	mvn	r3, #0
	b	.L346
.L350:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	read_graph
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L351
	mvn	r3, #0
	b	.L346
.L351:
	ldr	r0, [fp, #-20]
	bl	read_edge_potential
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L352
	mvn	r3, #0
	b	.L346
.L352:
	bl	clock
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L355+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L355+24
	bl	printf
	bl	clock
	str	r0, [fp, #-16]
	bl	print_degree
	bl	clock
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L355+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L355+28
	bl	printf
	ldr	r0, .L355+32
	bl	puts
	bl	clock
	str	r0, [fp, #-16]
	ldr	r3, .L355+8
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L353
	ldr	r3, .L355+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L355+36
	bl	printf
	ldr	r3, .L355+8
	ldr	r3, [r3]
	lsl	r3, r3, #4
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L355+40
	str	r2, [r3]
	bl	create_buckets
	bl	bp_alg_mt
	ldr	r3, .L355+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L355+40
	mov	r2, #0
	str	r2, [r3]
	b	.L354
.L353:
	bl	bp_alg
.L354:
	bl	clock
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L355+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L355+44
	bl	printf
	bl	destroy_graph
	mov	r3, #0
.L346:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L356:
	.align	2
.L355:
	.word	NUM_NODES
	.word	NUM_STATES
	.word	NUM_THREADS
	.word	outputfile
	.word	BP_ITER
	.word	1093567616
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	buckets
	.word	.LC67
	.size	main, .-main
	.section	.rodata
	.align	2
.LC68:
	.ascii	"-----Initial information-----\000"
	.align	2
.LC69:
	.ascii	"print degree info.:\000"
	.align	2
.LC70:
	.ascii	"print initial node belief:\000"
	.align	2
.LC71:
	.ascii	"print initial message:\000"
	.align	2
.LC72:
	.ascii	"print edge potential:\000"
	.align	2
.LC73:
	.ascii	"-----------------------------\000"
	.text
	.align	2
	.global	print_initial_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_initial_value, %function
print_initial_value:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L358
	bl	puts
	bl	print_graph
	ldr	r0, .L358+4
	bl	puts
	bl	print_degree
	ldr	r0, .L358+8
	bl	puts
	bl	print_node_belief
	ldr	r0, .L358+12
	bl	puts
	bl	print_node_message
	ldr	r0, .L358+16
	bl	puts
	bl	print_edge_potential
	ldr	r0, .L358+20
	bl	puts
	nop
	pop	{fp, pc}
.L359:
	.align	2
.L358:
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.size	print_initial_value, .-print_initial_value
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
