	.file	"185433.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	" 0. Exit Program "
.LC1:
	.string	" 1. Random Graph "
.LC2:
	.string	" 2. Random Digraph "
.LC3:
	.string	" 3. Random Connected Graph "
	.align 8
.LC4:
	.string	" 4. Random DAG (Directed Acyclic Graph) "
	.align 8
.LC5:
	.string	" 5. Random Complete Weighted Graph "
	.align 8
.LC6:
	.string	" 6. Random Isomorphic Graph Pair "
	.align 8
.LC7:
	.string	" 7. Random Hamiltonian Cycle Graph "
.LC8:
	.string	" 8. Random Network "
	.section	.data.rel.local,"aw"
	.align 32
	.type	toplevel_prompts, @object
	.size	toplevel_prompts, 72
toplevel_prompts:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.section	.rodata
.LC9:
	.string	" 1. Simple "
.LC10:
	.string	" 2. Not Simple "
	.section	.data.rel.local
	.align 16
	.type	simple_or_not_prompts, @object
	.size	simple_or_not_prompts, 16
simple_or_not_prompts:
	.quad	.LC9
	.quad	.LC10
	.section	.rodata
.LC11:
	.string	" 1. Unweighted Edges "
.LC12:
	.string	" 2. Weighted Edges "
	.section	.data.rel.local
	.align 16
	.type	weighted_or_not_prompts, @object
	.size	weighted_or_not_prompts, 16
weighted_or_not_prompts:
	.quad	.LC11
	.quad	.LC12
	.section	.rodata
.LC13:
	.string	" Number of Edges:    "
.LC14:
	.string	" Number of Vertices: "
	.section	.data.rel.local
	.align 16
	.type	dimension_prompts, @object
	.size	dimension_prompts, 16
dimension_prompts:
	.quad	.LC13
	.quad	.LC14
	.section	.rodata
.LC15:
	.string	" 1. Directed Graph "
.LC16:
	.string	" 2. Undirected Graph "
	.section	.data.rel.local
	.align 16
	.type	directed_prompts, @object
	.size	directed_prompts, 16
directed_prompts:
	.quad	.LC15
	.quad	.LC16
	.section	.rodata
.LC17:
	.string	" Degree Per Edge:  "
	.section	.data.rel.local
	.align 8
	.type	degree_prompt, @object
	.size	degree_prompt, 8
degree_prompt:
	.quad	.LC17
	.section	.rodata
.LC18:
	.string	" 1. Connected Graph "
.LC19:
	.string	" 2. Unconnected Graph "
	.section	.data.rel.local
	.align 16
	.type	connected_prompts, @object
	.size	connected_prompts, 16
connected_prompts:
	.quad	.LC18
	.quad	.LC19
	.section	.rodata
.LC20:
	.string	" File for graph:  "
	.section	.data.rel.local
	.align 8
	.type	main_file_prompt, @object
	.size	main_file_prompt, 8
main_file_prompt:
	.quad	.LC20
	.section	.rodata
.LC21:
	.string	" File for topological sort:  "
.LC22:
	.string	" File for isomorphic graph:  "
.LC23:
	.string	" File for isomorphism:  "
	.align 8
.LC24:
	.string	" File for Hamiltonian cycle:  "
	.section	.data.rel.local
	.align 32
	.type	file_prompts, @object
	.size	file_prompts, 32
file_prompts:
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.local	menu_structure
	.comm	menu_structure,428,32
	.align 8
	.type	menu, @object
	.size	menu, 8
menu:
	.quad	menu_structure
	.local	build_more_graphs
	.comm	build_more_graphs,4,4
	.local	menu_choice
	.comm	menu_choice,4,4
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR build_more_graphs[rip], 1
	call	build_graphs
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	build_graphs
	.type	build_graphs, @function
build_graphs:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L4
.L5:
	call	build_next_graph
.L4:
	mov	eax, DWORD PTR build_more_graphs[rip]
	test	eax, eax
	jne	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	build_graphs, .-build_graphs
	.globl	build_next_graph
	.type	build_next_graph, @function
build_next_graph:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	display_main_menu
	call	process_choice
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	build_next_graph, .-build_next_graph
	.section	.rodata
.LC25:
	.string	"\n"
.LC26:
	.string	"\n\t%s"
.LC27:
	.string	"\n\t"
.LC28:
	.string	" Choice? "
	.text
	.globl	display_main_menu
	.type	display_main_menu, @function
display_main_menu:
.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, 16
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, toplevel_prompts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	cmp	DWORD PTR -4[rbp], 8
	jle	.L9
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC27[rip]
	call	get_int
	mov	DWORD PTR menu_choice[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display_main_menu, .-display_main_menu
	.globl	process_choice
	.type	process_choice, @function
process_choice:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	seed_ran
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 20[rax], 0
	mov	rdx, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR 8[rdx], eax
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 8[rdx]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR menu[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 16[rdx], eax
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 16[rdx]
	mov	DWORD PTR 12[rax], edx
	mov	rdx, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR 4[rdx], eax
	mov	eax, DWORD PTR menu_choice[rip]
	cmp	eax, 8
	ja	.L10
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L13[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L13[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L13:
	.long	.L21-.L13
	.long	.L20-.L13
	.long	.L19-.L13
	.long	.L18-.L13
	.long	.L17-.L13
	.long	.L16-.L13
	.long	.L15-.L13
	.long	.L14-.L13
	.long	.L12-.L13
	.text
.L21:
	mov	DWORD PTR build_more_graphs[rip], 0
	jmp	.L10
.L20:
	mov	edi, -222
	call	display_dimensions_menu
	call	display_simple_or_not_menu
	call	display_weighted_menu
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L22
	call	display_max_weight_menu
.L22:
	mov	edx, -999
	mov	esi, -999
	mov	edi, 1
	call	display_outfile_menu
	mov	edi, 1
	call	illegal_parms
	test	eax, eax
	jne	.L33
	mov	rax, QWORD PTR menu[rip]
	lea	r8, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edi, DWORD PTR [rax]
	mov	rax, QWORD PTR menu[rip]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	r9, r8
	mov	r8d, edi
	mov	edi, eax
	call	random_graph
	jmp	.L10
.L19:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 8[rax], 1
	mov	edi, -222
	call	display_dimensions_menu
	call	display_simple_or_not_menu
	call	display_weighted_menu
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L24
	call	display_max_weight_menu
.L24:
	mov	edx, -999
	mov	esi, -999
	mov	edi, 1
	call	display_outfile_menu
	mov	edi, 1
	call	illegal_parms
	test	eax, eax
	jne	.L34
	mov	rax, QWORD PTR menu[rip]
	lea	r8, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edi, DWORD PTR [rax]
	mov	rax, QWORD PTR menu[rip]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	r9, r8
	mov	r8d, edi
	mov	edi, eax
	call	random_digraph
	jmp	.L10
.L18:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR [rax], 1
	mov	edi, -222
	call	display_dimensions_menu
	call	display_weighted_menu
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L26
	call	display_max_weight_menu
.L26:
	mov	edx, -999
	mov	esi, -999
	mov	edi, 1
	call	display_outfile_menu
	mov	edi, 1
	call	illegal_parms
	test	eax, eax
	jne	.L35
	mov	rax, QWORD PTR menu[rip]
	lea	rdi, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	r8, rdi
	mov	edi, eax
	call	random_connected_graph
	jmp	.L10
.L17:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 12[rax], 1
	mov	edi, -222
	call	display_dimensions_menu
	call	display_weighted_menu
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L28
	call	display_max_weight_menu
.L28:
	mov	edx, -999
	mov	esi, 0
	mov	edi, 2
	call	display_outfile_menu
	mov	edi, 2
	call	illegal_parms
	test	eax, eax
	jne	.L36
	mov	rax, QWORD PTR menu[rip]
	lea	r8, 169[rax]
	mov	rax, QWORD PTR menu[rip]
	lea	rdi, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	directed_acyclic_graph
	jmp	.L10
.L16:
	mov	edi, -111
	call	display_dimensions_menu
	call	display_max_weight_menu
	call	display_directed_menu
	mov	edx, -999
	mov	esi, -999
	mov	edi, 1
	call	display_outfile_menu
	mov	rax, QWORD PTR menu[rip]
	lea	rcx, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 32[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	edi, eax
	call	complete_graph
	jmp	.L10
.L15:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 16[rax], 1
	mov	edi, -111
	call	display_dimensions_menu
	call	display_max_degree_menu
	mov	edx, 2
	mov	esi, 1
	mov	edi, 3
	call	display_outfile_menu
	mov	edi, 3
	call	illegal_parms
	test	eax, eax
	jne	.L37
	mov	rax, QWORD PTR menu[rip]
	lea	rdi, 298[rax]
	mov	rax, QWORD PTR menu[rip]
	lea	rcx, 169[rax]
	mov	rax, QWORD PTR menu[rip]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 36[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	r8, rdi
	mov	edi, eax
	call	isomorphic_graph_pair
	jmp	.L10
.L14:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR [rax], 1
	mov	edi, -222
	call	display_dimensions_menu
	call	display_directed_menu
	mov	edx, -999
	mov	esi, 3
	mov	edi, 2
	call	display_outfile_menu
	mov	edi, 2
	call	illegal_parms
	test	eax, eax
	jne	.L38
	mov	rax, QWORD PTR menu[rip]
	lea	rdi, 169[rax]
	mov	rax, QWORD PTR menu[rip]
	lea	rcx, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	r8, rdi
	mov	edi, eax
	call	hamiltonian_cycle_graph
	jmp	.L10
.L12:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 20[rax], 1
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 8[rax], 1
	mov	edi, -222
	call	display_dimensions_menu
	call	display_max_weight_menu
	mov	edx, -999
	mov	esi, -999
	mov	edi, 1
	call	display_outfile_menu
	mov	edi, 1
	call	illegal_parms
	test	eax, eax
	jne	.L39
	mov	rax, QWORD PTR menu[rip]
	lea	rcx, 40[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	esi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	edi, eax
	call	network_flow_graph
	jmp	.L10
.L33:
	nop
	jmp	.L10
.L34:
	nop
	jmp	.L10
.L35:
	nop
	jmp	.L10
.L36:
	nop
	jmp	.L10
.L37:
	nop
	jmp	.L10
.L38:
	nop
	jmp	.L10
.L39:
	nop
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	process_choice, .-process_choice
	.section	.rodata
.LC29:
	.string	"\n\t\t%s"
.LC30:
	.string	"\n\t\t"
	.text
	.globl	display_simple_or_not_menu
	.type	display_simple_or_not_menu, @function
display_simple_or_not_menu:
.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, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, simple_or_not_prompts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L41:
	cmp	DWORD PTR -4[rbp], 1
	jle	.L42
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC30[rip]
	call	get_int
	cmp	eax, 1
	jne	.L43
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR [rax], 1
	jmp	.L45
.L43:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR [rax], 0
.L45:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	display_simple_or_not_menu, .-display_simple_or_not_menu
	.globl	display_directed_menu
	.type	display_directed_menu, @function
display_directed_menu:
.LFB12:
	.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], 0
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, directed_prompts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L47:
	cmp	DWORD PTR -4[rbp], 1
	jle	.L48
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC30[rip]
	call	get_int
	cmp	eax, 1
	jne	.L49
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 8[rax], 1
	jmp	.L51
.L49:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 8[rax], 0
.L51:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	display_directed_menu, .-display_directed_menu
	.section	.rodata
.LC31:
	.string	"\t\t%s"
	.text
	.globl	display_dimensions_menu
	.type	display_dimensions_menu, @function
display_dimensions_menu:
.LFB13:
	.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	DWORD PTR -20[rbp], edi
	mov	rax, QWORD PTR dimension_prompts[rip+8]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rbx, QWORD PTR menu[rip]
	lea	rdi, .LC30[rip]
	call	get_int
	mov	DWORD PTR 28[rbx], eax
	cmp	DWORD PTR -20[rbp], -222
	jne	.L54
	mov	rax, QWORD PTR dimension_prompts[rip]
	mov	rsi, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rbx, QWORD PTR menu[rip]
	lea	rdi, .LC30[rip]
	call	get_int
	mov	DWORD PTR 24[rbx], eax
.L54:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	display_dimensions_menu, .-display_dimensions_menu
	.globl	display_max_degree_menu
	.type	display_max_degree_menu, @function
display_max_degree_menu:
.LFB14:
	.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	rax, QWORD PTR degree_prompt[rip]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC30[rip]
	call	get_int
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 36[rax], edx
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 24[rax], 1
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	display_max_degree_menu, .-display_max_degree_menu
	.globl	display_weighted_menu
	.type	display_weighted_menu, @function
display_weighted_menu:
.LFB15:
	.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], 0
	jmp	.L57
.L58:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, weighted_or_not_prompts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L57:
	cmp	DWORD PTR -4[rbp], 1
	jle	.L58
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC30[rip]
	call	get_int
	cmp	eax, 2
	jne	.L59
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 4[rax], 1
	jmp	.L61
.L59:
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR menu[rip]
	mov	DWORD PTR 32[rax], 1
.L61:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	display_weighted_menu, .-display_weighted_menu
	.section	.rodata
.LC32:
	.string	"\n\t\t\tMaximum Edge Weight:  "
.LC33:
	.string	"\n\t\t\t"
	.text
	.globl	display_max_weight_menu
	.type	display_max_weight_menu, @function
display_max_weight_menu:
.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, 8
	.cfi_offset 3, -24
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rbx, QWORD PTR menu[rip]
	lea	rdi, .LC33[rip]
	call	get_int
	mov	DWORD PTR 32[rbx], eax
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	display_max_weight_menu, .-display_max_weight_menu
	.section	.rodata
.LC34:
	.string	"%s"
	.text
	.globl	display_outfile_menu
	.type	display_outfile_menu, @function
display_outfile_menu:
.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	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L64
.L68:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L65
	mov	rax, QWORD PTR main_file_prompt[rip]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR menu[rip]
	add	rax, 40
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L66
.L65:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L67
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, file_prompts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR menu[rip]
	add	rax, 169
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L66
.L67:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, file_prompts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR menu[rip]
	add	rax, 298
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L66:
	add	DWORD PTR -4[rbp], 1
.L64:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L68
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	display_outfile_menu, .-display_outfile_menu
	.globl	zero_vertex_or_edge_count
	.type	zero_vertex_or_edge_count, @function
zero_vertex_or_edge_count:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	test	eax, eax
	je	.L70
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	jne	.L71
.L70:
	mov	eax, 1
	jmp	.L73
.L71:
	mov	eax, 0
.L73:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	zero_vertex_or_edge_count, .-zero_vertex_or_edge_count
	.globl	bogus_file_name
	.type	bogus_file_name, @function
bogus_file_name:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 1
	jne	.L75
	mov	rax, QWORD PTR menu[rip]
	add	rax, 40
	movzx	eax, BYTE PTR [rax]
	test	al, al
	sete	al
	movzx	eax, al
	jmp	.L76
.L75:
	mov	rax, QWORD PTR menu[rip]
	add	rax, 40
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L77
	mov	rax, QWORD PTR menu[rip]
	add	rax, 169
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L77
	mov	eax, 1
	jmp	.L76
.L77:
	mov	eax, 0
.L76:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	bogus_file_name, .-bogus_file_name
	.globl	fix_imbalanced_graph
	.type	fix_imbalanced_graph, @function
fix_imbalanced_graph:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L80
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	sub	eax, 1
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L81
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
.L81:
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L86
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 24[rax], edx
	jmp	.L86
.L80:
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L83
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	sub	eax, 1
	imul	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L86
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 24[rax], edx
	jmp	.L86
.L83:
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	je	.L84
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 36[rax]
	and	eax, 1
	test	eax, eax
	je	.L85
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	and	eax, 1
	test	eax, eax
	je	.L85
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 28[rax]
	add	edx, 1
	mov	DWORD PTR 28[rax], edx
.L85:
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 36[rax]
	cmp	edx, eax
	jg	.L86
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 36[rax]
	mov	rax, QWORD PTR menu[rip]
	add	edx, 1
	mov	DWORD PTR 28[rax], edx
	jmp	.L86
.L84:
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 20[rax]
	test	eax, eax
	je	.L86
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	imul	edx, eax
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 28[rax]
	mov	esi, eax
	lea	ecx, 0[0+rax*4]
	mov	eax, esi
	sub	eax, ecx
	add	eax, edx
	add	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR menu[rip]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -4[rbp], eax
	jg	.L86
	mov	rax, QWORD PTR menu[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 24[rax], edx
.L86:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	fix_imbalanced_graph, .-fix_imbalanced_graph
	.section	.rodata
	.align 8
.LC35:
	.string	"\n\n\tNeither edge nor vertex count may be zero.\n\n"
	.align 8
.LC36:
	.string	"\n\n\tOutput file has illegal name.\n\n"
	.text
	.globl	illegal_parms
	.type	illegal_parms, @function
illegal_parms:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	call	zero_vertex_or_edge_count
	test	eax, eax
	je	.L88
	lea	rdi, .LC35[rip]
	call	warning
	mov	eax, 1
	jmp	.L89
.L88:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	bogus_file_name
	test	eax, eax
	je	.L90
	lea	rdi, .LC36[rip]
	call	warning
	mov	eax, 1
	jmp	.L89
.L90:
	call	fix_imbalanced_graph
	mov	eax, 0
.L89:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	illegal_parms, .-illegal_parms
	.globl	warning
	.type	warning, @function
warning:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	warning, .-warning
	.section	.rodata
	.align 8
.LC37:
	.string	"\n\n\tThere is not enough space for this size graph.\n\n"
.LC38:
	.string	"w"
.LC39:
	.string	"\n\t\tCould not open file %s.\n\n"
.LC40:
	.string	"%5d  %5d\n"
.LC41:
	.string	"r"
.LC42:
	.string	"\n\t\tCould not open file %s.\n"
.LC43:
	.string	"%5d   %5d\n"
.LC44:
	.string	"%s\n"
	.text
	.globl	isomorphic_graph_pair
	.type	isomorphic_graph_pair, @function
isomorphic_graph_pair:
.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, 160
	mov	DWORD PTR -132[rbp], edi
	mov	DWORD PTR -136[rbp], esi
	mov	QWORD PTR -144[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -160[rbp], r8
	mov	eax, DWORD PTR -132[rbp]
	imul	eax, eax
	mov	DWORD PTR -92[rbp], eax
	mov	DWORD PTR -112[rbp], 0
	mov	eax, DWORD PTR -132[rbp]
	imul	eax, DWORD PTR -136[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L93
	lea	rdi, .LC37[rip]
	call	warning
	jmp	.L92
.L93:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L95
	lea	rdi, .LC37[rip]
	call	warning
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L92
.L95:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L96
	lea	rdi, .LC37[rip]
	call	warning
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L92
.L96:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L97
	lea	rdi, .LC37[rip]
	call	warning
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L92
.L97:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	esi, 24
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L98
	lea	rdi, .LC37[rip]
	call	warning
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L92
.L98:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	init_array
	jmp	.L99
.L121:
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	permute
	mov	DWORD PTR -100[rbp], -1
	mov	DWORD PTR -120[rbp], 0
	jmp	.L100
.L107:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -136[rbp], eax
	jle	.L101
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -116[rbp], eax
	jmp	.L102
.L106:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -136[rbp], eax
	jle	.L103
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -100[rbp], eax
	cmovle	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -100[rbp], eax
	cmovge	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L104
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	jmp	.L105
.L104:
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -96[rbp], eax
.L103:
	add	DWORD PTR -116[rbp], 1
.L102:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L106
.L101:
	add	DWORD PTR -120[rbp], 1
.L100:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L107
	cmp	DWORD PTR -100[rbp], -1
	jne	.L108
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L109
.L114:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	je	.L110
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -84[rbp], eax
	cmovle	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -84[rbp], eax
	cmovge	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L110
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -116[rbp], eax
	jmp	.L111
.L113:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	je	.L112
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovle	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovge	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovle	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovge	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L112
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L112
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	edx, DWORD PTR -72[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	jmp	.L105
.L112:
	add	DWORD PTR -116[rbp], 1
.L111:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L113
.L110:
	add	DWORD PTR -120[rbp], 1
.L109:
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 1
	cmp	DWORD PTR -120[rbp], eax
	jl	.L114
	jmp	.L105
.L108:
	mov	DWORD PTR -120[rbp], 0
	jmp	.L115
.L120:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	je	.L116
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	je	.L116
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -84[rbp], eax
	cmovle	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -84[rbp], eax
	cmovge	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L116
	mov	DWORD PTR -116[rbp], 0
	jmp	.L117
.L119:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	je	.L118
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	je	.L118
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovle	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovge	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovle	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	cmp	DWORD PTR -68[rbp], eax
	cmovge	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L118
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L118
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	edx, DWORD PTR -72[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	jmp	.L105
.L118:
	add	DWORD PTR -116[rbp], 1
.L117:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L119
.L116:
	add	DWORD PTR -120[rbp], 1
.L115:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L120
	nop
.L105:
	add	DWORD PTR -112[rbp], 1
.L99:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L121
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	esi, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	r8d, 0
	mov	edi, eax
	call	print_graph
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	rename_vertices
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L122
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L92
.L122:
	mov	DWORD PTR -120[rbp], 0
	jmp	.L123
.L124:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -120[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -120[rbp], 1
.L123:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L124
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -144[rbp]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L125
	mov	rax, QWORD PTR -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L92
.L125:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, 24
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L126
.L127:
	add	QWORD PTR -56[rbp], 24
.L126:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, 24
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L127
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rename_edges
	mov	eax, DWORD PTR -88[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, compare_strings[rip]
	mov	edx, 24
	mov	rdi, rax
	call	qsort@PLT
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L128
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L92
.L128:
	mov	ecx, DWORD PTR -88[rbp]
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L129
.L130:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -56[rbp], 24
	add	DWORD PTR -120[rbp], 1
.L129:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L130
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	isomorphic_graph_pair, .-isomorphic_graph_pair
	.globl	compare_strings
	.type	compare_strings, @function
compare_strings:
.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], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	compare_strings, .-compare_strings
	.globl	rename_vertices
	.type	rename_vertices, @function
rename_vertices:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	init_array
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	permute
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	rename_vertices, .-rename_vertices
	.section	.rodata
.LC45:
	.string	"%5d  %5d"
.LC46:
	.string	"%5d   %5d   %5d"
	.text
	.globl	rename_edges
	.type	rename_edges, @function
rename_edges:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L135
.L138:
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, -48[rbp]
	lea	rdx, -52[rbp]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jge	.L136
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	r8d, 1
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L137
.L136:
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -36[rbp]
	lea	rax, -32[rbp]
	mov	r8d, 1
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L137:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	QWORD PTR -72[rbp], 24
	add	DWORD PTR -44[rbp], 1
.L135:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L138
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L139
	call	__stack_chk_fail@PLT
.L139:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	rename_edges, .-rename_edges
	.section	.rodata
	.align 8
.LC47:
	.string	"Not enough room for this size graph"
	.align 8
.LC48:
	.string	"\n\tBeginning construction of graph."
	.text
	.globl	random_connected_graph
	.type	random_connected_graph, @function
random_connected_graph:
.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, 80
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -60[rbp], edx
	mov	DWORD PTR -64[rbp], ecx
	mov	QWORD PTR -72[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, eax
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L141
	lea	rdi, .LC47[rip]
	call	puts@PLT
	jmp	.L140
.L141:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L143
	lea	rdi, .LC47[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L140
.L143:
	lea	rdi, .LC48[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	init_array
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	permute
	mov	DWORD PTR -40[rbp], 1
	jmp	.L144
.L147:
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -64[rbp], 0
	je	.L145
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	ran
	lea	edx, 1[rax]
	jmp	.L146
.L145:
	mov	edx, 1
.L146:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -52[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	add	eax, ecx
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR [rdx]
	mov	ecx, edx
	imul	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rsi
	mov	edx, DWORD PTR [rdx]
	add	edx, ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
.L144:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jg	.L147
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L148
.L153:
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -36[rbp], eax
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jne	.L149
	jmp	.L148
.L149:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jle	.L150
	lea	rdx, -36[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
.L150:
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L148
	cmp	DWORD PTR -64[rbp], 0
	je	.L151
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	ran
	add	eax, 1
	jmp	.L152
.L151:
	mov	eax, 1
.L152:
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -32[rbp], 1
.L148:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L153
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	esi, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, 0
	mov	edi, eax
	call	print_graph
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L140:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L155
	call	__stack_chk_fail@PLT
.L155:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	random_connected_graph, .-random_connected_graph
	.globl	random_graph
	.type	random_graph, @function
random_graph:
.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, 64
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	DWORD PTR -48[rbp], ecx
	mov	DWORD PTR -52[rbp], r8d
	mov	QWORD PTR -64[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 0
	jne	.L157
	mov	rdi, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	r_graph
	jmp	.L156
.L157:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L159
	lea	rdi, .LC47[rip]
	call	puts@PLT
	jmp	.L156
.L159:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L160
.L165:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L161
	jmp	.L160
.L161:
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jle	.L162
	lea	rdx, -28[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
.L162:
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L160
	cmp	DWORD PTR -48[rbp], 0
	je	.L163
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	ran
	add	eax, 1
	jmp	.L164
.L163:
	mov	eax, 1
.L164:
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -24[rbp], 1
.L160:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L165
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8d, 0
	mov	edi, eax
	call	print_graph
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L156:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L167
	call	__stack_chk_fail@PLT
.L167:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	random_graph, .-random_graph
	.section	.rodata
	.align 8
.LC49:
	.string	"Unable to open file %s for writing\n"
.LC50:
	.string	"\n\tWriting graph to file %s.\n"
.LC51:
	.string	"%5d   %5d   %5d\n"
	.align 8
.LC52:
	.string	"\tGraph is written to file %s.\n"
	.text
	.globl	r_graph
	.type	r_graph, @function
r_graph:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 48
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	DWORD PTR -48[rbp], ecx
	mov	QWORD PTR -56[rbp], r8
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L169
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L168
.L169:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L171
.L174:
	cmp	DWORD PTR -48[rbp], 0
	je	.L172
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	ran
	lea	r12d, 1[rax]
	jmp	.L173
.L172:
	mov	r12d, 1
.L173:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	ran
	lea	ebx, 1[rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	ran
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, r12d
	mov	ecx, ebx
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -28[rbp], 1
.L171:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L174
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L168:
	add	rsp, 48
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	r_graph, .-r_graph
	.globl	random_digraph
	.type	random_digraph, @function
random_digraph:
.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 -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	DWORD PTR -48[rbp], ecx
	mov	DWORD PTR -52[rbp], r8d
	mov	QWORD PTR -64[rbp], r9
	cmp	DWORD PTR -52[rbp], 0
	jne	.L176
	mov	rdi, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	r_graph
	jmp	.L175
.L176:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L178
	lea	rdi, .LC47[rip]
	call	puts@PLT
	jmp	.L175
.L178:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L179
.L183:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jne	.L180
	jmp	.L179
.L180:
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L179
	cmp	DWORD PTR -48[rbp], 0
	je	.L181
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	ran
	add	eax, 1
	jmp	.L182
.L181:
	mov	eax, 1
.L182:
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -24[rbp], 1
.L179:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L183
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8d, 1
	mov	edi, eax
	call	print_graph
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L175:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	random_digraph, .-random_digraph
	.section	.rodata
.LC53:
	.string	"\n\t\t Could not open file %s.\n"
.LC54:
	.string	"%5d\n"
	.text
	.globl	directed_acyclic_graph
	.type	directed_acyclic_graph, @function
directed_acyclic_graph:
.LFB31:
	.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	DWORD PTR -68[rbp], edi
	mov	DWORD PTR -72[rbp], esi
	mov	DWORD PTR -76[rbp], edx
	mov	DWORD PTR -80[rbp], ecx
	mov	QWORD PTR -88[rbp], r8
	mov	QWORD PTR -96[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -68[rbp]
	imul	eax, eax
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L185
	lea	rdi, .LC47[rip]
	call	puts@PLT
	jmp	.L184
.L185:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L187
	lea	rdi, .LC47[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L184
.L187:
	lea	rdi, .LC48[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	init_array
	mov	edx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	permute
	mov	DWORD PTR -56[rbp], 0
	jmp	.L188
.L193:
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -64[rbp], eax
	mov	ebx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	cmp	ebx, eax
	jne	.L189
	jmp	.L188
.L189:
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cmp	edx, eax
	jle	.L190
	lea	rdx, -60[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
.L190:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	imul	eax, DWORD PTR -68[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L188
	cmp	DWORD PTR -80[rbp], 0
	je	.L191
	mov	eax, DWORD PTR -76[rbp]
	mov	edi, eax
	call	ran
	add	eax, 1
	jmp	.L192
.L191:
	mov	eax, 1
.L192:
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -56[rbp], 1
.L188:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L193
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	esi, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	r8d, 1
	mov	edi, eax
	call	print_graph
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L194
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC53[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L195
.L194:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L196
.L197:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -64[rbp], eax
.L196:
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -68[rbp], eax
	jg	.L197
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L195:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
.L184:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L199
	call	__stack_chk_fail@PLT
.L199:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	directed_acyclic_graph, .-directed_acyclic_graph
	.section	.rodata
	.align 8
.LC55:
	.string	"Unable to open file %s for writing.\n"
	.text
	.globl	complete_graph
	.type	complete_graph, @function
complete_graph:
.LFB32:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L201
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L200
.L201:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -28[rbp], 0
	je	.L203
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -20[rbp]
	jmp	.L204
.L203:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
.L204:
	mov	edx, DWORD PTR -20[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	mov	ecx, eax
	lea	rsi, .LC43[rip]
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -16[rbp], 1
	jmp	.L205
.L209:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L206
.L208:
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	ran
	lea	esi, 1[rax]
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, esi
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -28[rbp], 0
	je	.L207
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	ran
	lea	esi, 1[rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, esi
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L207:
	add	DWORD PTR -12[rbp], 1
.L206:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L208
	add	DWORD PTR -16[rbp], 1
.L205:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L209
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
.L200:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	complete_graph, .-complete_graph
	.globl	hamiltonian_cycle_graph
	.type	hamiltonian_cycle_graph, @function
hamiltonian_cycle_graph:
.LFB33:
	.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, 104
	.cfi_offset 3, -24
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	DWORD PTR -92[rbp], edx
	mov	QWORD PTR -104[rbp], rcx
	mov	QWORD PTR -112[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -84[rbp]
	imul	eax, eax
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L211
	lea	rdi, .LC47[rip]
	call	puts@PLT
	jmp	.L210
.L211:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L213
	lea	rdi, .LC47[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L210
.L213:
	lea	rdi, .LC48[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -84[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	init_array
	mov	edx, DWORD PTR -84[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	permute
	mov	rax, QWORD PTR -112[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L214
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC53[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L210
.L214:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L215
.L217:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -84[rbp]
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -60[rbp], eax
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cmp	edx, eax
	jle	.L216
	cmp	DWORD PTR -92[rbp], 0
	jne	.L216
	lea	rdx, -60[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
.L216:
	mov	eax, DWORD PTR -64[rbp]
	imul	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	eax, DWORD PTR -72[rbp]
	add	eax, 1
	mov	DWORD PTR -72[rbp], eax
.L215:
	mov	eax, DWORD PTR -72[rbp]
	cmp	DWORD PTR -84[rbp], eax
	jg	.L217
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -56[rbp], eax
	jmp	.L218
.L221:
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -72[rbp], eax
	mov	ebx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cmp	ebx, eax
	jne	.L219
	jmp	.L218
.L219:
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -68[rbp]
	cmp	edx, eax
	jle	.L220
	cmp	DWORD PTR -92[rbp], 0
	jne	.L220
	lea	rdx, -68[rbp]
	lea	rax, -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
.L220:
	mov	eax, DWORD PTR -72[rbp]
	imul	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, edx
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L218
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	add	DWORD PTR -56[rbp], 1
.L218:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L221
	mov	edi, DWORD PTR -92[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	esi, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	print_graph
.L210:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L223
	call	__stack_chk_fail@PLT
.L223:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	hamiltonian_cycle_graph, .-hamiltonian_cycle_graph
	.section	.rodata
	.align 8
.LC56:
	.string	"\n\n\tA single vertex network is not allowed.\n\n"
	.text
	.globl	network_flow_graph
	.type	network_flow_graph, @function
network_flow_graph:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -60[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	cmp	DWORD PTR -52[rbp], 1
	jne	.L225
	lea	rdi, .LC56[rip]
	call	warning
	jmp	.L224
.L225:
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, eax
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L227
	lea	rdi, .LC37[rip]
	call	warning
	jmp	.L224
.L227:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L228
	lea	rdi, .LC37[rip]
	call	warning
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L224
.L228:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
.L232:
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	pick_to
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	ran
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	add	eax, 1
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -36[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	je	.L229
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	jmp	.L230
.L231:
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	ran
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, edx
	imul	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -20[rbp]
	add	edx, ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	add	eax, 1
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -36[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -32[rbp], eax
.L230:
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	pick_to
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L231
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	ran
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, edx
	imul	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -24[rbp]
	add	edx, ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	add	eax, 1
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -36[rbp], 1
.L229:
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	unpicked_vertices_p
	test	eax, eax
	jne	.L232
	jmp	.L233
.L234:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	mov	edi, eax
	call	ran
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	mov	edi, 0
	call	pick_to
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L233
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	je	.L233
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	ran
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, edx
	imul	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -20[rbp]
	add	edx, ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	add	eax, 1
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -36[rbp], 1
.L233:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L234
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, 1
	mov	edi, eax
	call	print_graph
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L224:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	network_flow_graph, .-network_flow_graph
	.globl	pick_to
	.type	pick_to, @function
pick_to:
.LFB35:
	.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	DWORD PTR -28[rbp], esi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L236
.L237:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L237
	jmp	.L238
.L236:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ran
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L236
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
.L238:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	pick_to, .-pick_to
	.globl	unpicked_vertices_p
	.type	unpicked_vertices_p, @function
unpicked_vertices_p:
.LFB36:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 1
	jmp	.L241
.L244:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L242
	mov	eax, 1
	jmp	.L243
.L242:
	add	DWORD PTR -4[rbp], 1
.L241:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L244
	mov	eax, 0
.L243:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	unpicked_vertices_p, .-unpicked_vertices_p
	.globl	seed_ran
	.type	seed_ran, @function
seed_ran:
.LFB37:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 0
	call	time@PLT
	movzx	eax, ax
	mov	edi, eax
	call	srand@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	seed_ran, .-seed_ran
	.globl	ran
	.type	ran, @function
ran:
.LFB38:
	.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
	call	rand@PLT
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	ran, .-ran
	.section	.rodata
.LC57:
	.string	"%d %d\n"
	.text
	.globl	print_graph
	.type	print_graph, @function
print_graph:
.LFB39:
	.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 -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	mov	DWORD PTR -60[rbp], r8d
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L249
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L248
.L249:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -60[rbp], 0
	jne	.L251
	mov	DWORD PTR -20[rbp], 1
	jmp	.L252
.L256:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L253
.L255:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L254
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L254:
	add	DWORD PTR -16[rbp], 1
.L253:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L255
	add	DWORD PTR -20[rbp], 1
.L252:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L256
	jmp	.L257
.L251:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L258
.L262:
	mov	DWORD PTR -16[rbp], 1
	jmp	.L259
.L261:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L260
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L260:
	add	DWORD PTR -16[rbp], 1
.L259:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L261
	add	DWORD PTR -20[rbp], 1
.L258:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L262
.L257:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
.L248:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	print_graph, .-print_graph
	.globl	permute
	.type	permute, @function
permute:
.LFB40:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 32
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L264
.L265:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	r12, eax
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	ran
	cdqe
	add	rax, r12
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rsi, rbx
	mov	rdi, rax
	call	swap
	add	DWORD PTR -20[rbp], 1
.L264:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L265
	nop
	nop
	add	rsp, 32
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	permute, .-permute
	.globl	swap
	.type	swap, @function
swap:
.LFB41:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE41:
	.size	swap, .-swap
	.globl	init_array
	.type	init_array, @function
init_array:
.LFB42:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L268
.L269:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -4[rbp], 1
.L268:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L269
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE42:
	.size	init_array, .-init_array
	.section	.rodata
.LC58:
	.string	"%d"
	.align 8
.LC59:
	.string	"***** Illegal input.  Reenter value: "
.LC60:
	.string	"%s%s"
	.text
	.globl	get_int
	.type	get_int, @function
get_int:
.LFB43:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L274:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -52[rbp]
	lea	rax, -48[rbp]
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L271
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, .LC59[rip]
	mov	rsi, rax
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L274
.L271:
	mov	eax, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L275
	call	__stack_chk_fail@PLT
.L275:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE43:
	.size	get_int, .-get_int
	.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	"185433.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	" 0. Exit Program \000"
	.align	2
.LC1:
	.ascii	" 1. Random Graph \000"
	.align	2
.LC2:
	.ascii	" 2. Random Digraph \000"
	.align	2
.LC3:
	.ascii	" 3. Random Connected Graph \000"
	.align	2
.LC4:
	.ascii	" 4. Random DAG (Directed Acyclic Graph) \000"
	.align	2
.LC5:
	.ascii	" 5. Random Complete Weighted Graph \000"
	.align	2
.LC6:
	.ascii	" 6. Random Isomorphic Graph Pair \000"
	.align	2
.LC7:
	.ascii	" 7. Random Hamiltonian Cycle Graph \000"
	.align	2
.LC8:
	.ascii	" 8. Random Network \000"
	.data
	.align	2
	.type	toplevel_prompts, %object
	.size	toplevel_prompts, 36
toplevel_prompts:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.section	.rodata
	.align	2
.LC9:
	.ascii	" 1. Simple \000"
	.align	2
.LC10:
	.ascii	" 2. Not Simple \000"
	.data
	.align	2
	.type	simple_or_not_prompts, %object
	.size	simple_or_not_prompts, 8
simple_or_not_prompts:
	.word	.LC9
	.word	.LC10
	.section	.rodata
	.align	2
.LC11:
	.ascii	" 1. Unweighted Edges \000"
	.align	2
.LC12:
	.ascii	" 2. Weighted Edges \000"
	.data
	.align	2
	.type	weighted_or_not_prompts, %object
	.size	weighted_or_not_prompts, 8
weighted_or_not_prompts:
	.word	.LC11
	.word	.LC12
	.section	.rodata
	.align	2
.LC13:
	.ascii	" Number of Edges:    \000"
	.align	2
.LC14:
	.ascii	" Number of Vertices: \000"
	.data
	.align	2
	.type	dimension_prompts, %object
	.size	dimension_prompts, 8
dimension_prompts:
	.word	.LC13
	.word	.LC14
	.section	.rodata
	.align	2
.LC15:
	.ascii	" 1. Directed Graph \000"
	.align	2
.LC16:
	.ascii	" 2. Undirected Graph \000"
	.data
	.align	2
	.type	directed_prompts, %object
	.size	directed_prompts, 8
directed_prompts:
	.word	.LC15
	.word	.LC16
	.section	.rodata
	.align	2
.LC17:
	.ascii	" Degree Per Edge:  \000"
	.data
	.align	2
	.type	degree_prompt, %object
	.size	degree_prompt, 4
degree_prompt:
	.word	.LC17
	.section	.rodata
	.align	2
.LC18:
	.ascii	" 1. Connected Graph \000"
	.align	2
.LC19:
	.ascii	" 2. Unconnected Graph \000"
	.data
	.align	2
	.type	connected_prompts, %object
	.size	connected_prompts, 8
connected_prompts:
	.word	.LC18
	.word	.LC19
	.section	.rodata
	.align	2
.LC20:
	.ascii	" File for graph:  \000"
	.data
	.align	2
	.type	main_file_prompt, %object
	.size	main_file_prompt, 4
main_file_prompt:
	.word	.LC20
	.section	.rodata
	.align	2
.LC21:
	.ascii	" File for topological sort:  \000"
	.align	2
.LC22:
	.ascii	" File for isomorphic graph:  \000"
	.align	2
.LC23:
	.ascii	" File for isomorphism:  \000"
	.align	2
.LC24:
	.ascii	" File for Hamiltonian cycle:  \000"
	.data
	.align	2
	.type	file_prompts, %object
	.size	file_prompts, 16
file_prompts:
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.local	menu_structure
	.comm	menu_structure,428,4
	.align	2
	.type	menu, %object
	.size	menu, 4
menu:
	.word	menu_structure
	.local	build_more_graphs
	.comm	build_more_graphs,4,4
	.local	menu_choice
	.comm	menu_choice,4,4
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L3
	mov	r2, #1
	str	r2, [r3]
	bl	build_graphs
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	build_more_graphs
	.size	main, .-main
	.align	2
	.global	build_graphs
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_graphs, %function
build_graphs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L6
.L7:
	bl	build_next_graph
.L6:
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	nop
	nop
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	build_more_graphs
	.size	build_graphs, .-build_graphs
	.align	2
	.global	build_next_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_next_graph, %function
build_next_graph:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	display_main_menu
	bl	process_choice
	nop
	pop	{fp, pc}
	.size	build_next_graph, .-build_next_graph
	.section	.rodata
	.align	2
.LC25:
	.ascii	"\012\000"
	.align	2
.LC26:
	.ascii	"\012\011%s\000"
	.align	2
.LC27:
	.ascii	"\012\011\000"
	.align	2
.LC28:
	.ascii	" Choice? \000"
	.text
	.align	2
	.global	display_main_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_main_menu, %function
display_main_menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L14
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	ldr	r2, .L14+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L14+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	ble	.L13
	ldr	r0, .L14+12
	bl	printf
	ldr	r0, .L14+16
	bl	printf
	ldr	r0, .L14+12
	bl	get_int
	mov	r3, r0
	ldr	r2, .L14+20
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC25
	.word	toplevel_prompts
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	menu_choice
	.size	display_main_menu, .-display_main_menu
	.align	2
	.global	process_choice
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_choice, %function
process_choice:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	seed_ran
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r2, .L46
	ldr	r2, [r2]
	ldr	r3, [r3, #20]
	str	r3, [r2, #8]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, [r2, #8]
	str	r2, [r3]
	ldr	r2, .L46
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r3, [r2, #16]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, [r2, #16]
	str	r2, [r3, #12]
	ldr	r2, .L46
	ldr	r2, [r2]
	ldr	r3, [r3, #12]
	str	r3, [r2, #4]
	ldr	r3, .L46+4
	ldr	r3, [r3]
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L16
.L19:
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L18
.L27:
	ldr	r3, .L46+8
	mov	r2, #0
	str	r2, [r3]
	b	.L16
.L26:
	mvn	r0, #221
	bl	display_dimensions_menu
	bl	display_simple_or_not_menu
	bl	display_weighted_menu
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L28
	bl	display_max_weight_menu
.L28:
	ldr	r2, .L46+12
	ldr	r1, .L46+12
	mov	r0, #1
	bl	display_outfile_menu
	mov	r0, #1
	bl	illegal_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #24]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	ip, [r3, #32]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	lr, [r3, #4]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L46
	ldr	r2, [r2]
	add	r2, r2, #40
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	random_graph
	b	.L16
.L25:
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #8]
	mvn	r0, #221
	bl	display_dimensions_menu
	bl	display_simple_or_not_menu
	bl	display_weighted_menu
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L30
	bl	display_max_weight_menu
.L30:
	ldr	r2, .L46+12
	ldr	r1, .L46+12
	mov	r0, #1
	bl	display_outfile_menu
	mov	r0, #1
	bl	illegal_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #24]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	ip, [r3, #32]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	lr, [r3, #4]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L46
	ldr	r2, [r2]
	add	r2, r2, #40
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	random_digraph
	b	.L16
.L24:
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3]
	mvn	r0, #221
	bl	display_dimensions_menu
	bl	display_weighted_menu
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L32
	bl	display_max_weight_menu
.L32:
	ldr	r2, .L46+12
	ldr	r1, .L46+12
	mov	r0, #1
	bl	display_outfile_menu
	mov	r0, #1
	bl	illegal_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #24]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, [r3, #32]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	ip, [r3, #4]
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r3, #40
	str	r3, [sp]
	mov	r3, ip
	bl	random_connected_graph
	b	.L16
.L23:
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #12]
	mvn	r0, #221
	bl	display_dimensions_menu
	bl	display_weighted_menu
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L34
	bl	display_max_weight_menu
.L34:
	ldr	r2, .L46+12
	mov	r1, #0
	mov	r0, #2
	bl	display_outfile_menu
	mov	r0, #2
	bl	illegal_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #24]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	ip, [r3, #32]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	lr, [r3, #4]
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r3, #40
	ldr	r2, .L46
	ldr	r2, [r2]
	add	r2, r2, #169
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	directed_acyclic_graph
	b	.L16
.L22:
	mvn	r0, #110
	bl	display_dimensions_menu
	bl	display_max_weight_menu
	bl	display_directed_menu
	ldr	r2, .L46+12
	ldr	r1, .L46+12
	mov	r0, #1
	bl	display_outfile_menu
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #32]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r3, #40
	bl	complete_graph
	b	.L16
.L21:
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #16]
	mvn	r0, #110
	bl	display_dimensions_menu
	bl	display_max_degree_menu
	mov	r2, #2
	mov	r1, #1
	mov	r0, #3
	bl	display_outfile_menu
	mov	r0, #3
	bl	illegal_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #36]
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r2, r3, #40
	ldr	r3, .L46
	ldr	r3, [r3]
	add	ip, r3, #169
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r3, #296
	add	r3, r3, #2
	str	r3, [sp]
	mov	r3, ip
	bl	isomorphic_graph_pair
	b	.L16
.L20:
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3]
	mvn	r0, #221
	bl	display_dimensions_menu
	bl	display_directed_menu
	ldr	r2, .L46+12
	mov	r1, #3
	mov	r0, #2
	bl	display_outfile_menu
	mov	r0, #2
	bl	illegal_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #24]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L46
	ldr	r3, [r3]
	add	ip, r3, #40
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r3, #169
	str	r3, [sp]
	mov	r3, ip
	bl	hamiltonian_cycle_graph
	b	.L16
.L18:
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #20]
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #8]
	mvn	r0, #221
	bl	display_dimensions_menu
	bl	display_max_weight_menu
	ldr	r2, .L46+12
	ldr	r1, .L46+12
	mov	r0, #1
	bl	display_outfile_menu
	mov	r0, #1
	bl	illegal_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r0, [r3, #28]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r1, [r3, #24]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, [r3, #32]
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r3, #40
	bl	network_flow_graph
	b	.L16
.L39:
	nop
	b	.L16
.L40:
	nop
	b	.L16
.L41:
	nop
	b	.L16
.L42:
	nop
	b	.L16
.L43:
	nop
	b	.L16
.L44:
	nop
	b	.L16
.L45:
	nop
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	menu
	.word	menu_choice
	.word	build_more_graphs
	.word	-999
	.size	process_choice, .-process_choice
	.section	.rodata
	.align	2
.LC29:
	.ascii	"\012\011\011%s\000"
	.align	2
.LC30:
	.ascii	"\012\011\011\000"
	.text
	.align	2
	.global	display_simple_or_not_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_simple_or_not_menu, %function
display_simple_or_not_menu:
	@ 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]
	b	.L49
.L50:
	ldr	r2, .L54
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L54+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L49:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L50
	ldr	r0, .L54+8
	bl	printf
	ldr	r0, .L54+12
	bl	printf
	ldr	r0, .L54+8
	bl	get_int
	mov	r3, r0
	cmp	r3, #1
	bne	.L51
	ldr	r3, .L54+16
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3]
	b	.L53
.L51:
	ldr	r3, .L54+16
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
.L53:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	simple_or_not_prompts
	.word	.LC29
	.word	.LC30
	.word	.LC28
	.word	menu
	.size	display_simple_or_not_menu, .-display_simple_or_not_menu
	.align	2
	.global	display_directed_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_directed_menu, %function
display_directed_menu:
	@ 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]
	b	.L57
.L58:
	ldr	r2, .L62
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L62+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L57:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L58
	ldr	r0, .L62+8
	bl	printf
	ldr	r0, .L62+12
	bl	printf
	ldr	r0, .L62+8
	bl	get_int
	mov	r3, r0
	cmp	r3, #1
	bne	.L59
	ldr	r3, .L62+16
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #8]
	b	.L61
.L59:
	ldr	r3, .L62+16
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
.L61:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	directed_prompts
	.word	.LC29
	.word	.LC30
	.word	.LC28
	.word	menu
	.size	display_directed_menu, .-display_directed_menu
	.section	.rodata
	.align	2
.LC31:
	.ascii	"\011\011%s\000"
	.text
	.align	2
	.global	display_dimensions_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_dimensions_menu, %function
display_dimensions_menu:
	@ 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
	str	r0, [fp, #-16]
	ldr	r3, .L67
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L67+4
	bl	printf
	ldr	r3, .L67+8
	ldr	r4, [r3]
	ldr	r0, .L67+12
	bl	get_int
	mov	r3, r0
	str	r3, [r4, #28]
	ldr	r3, [fp, #-16]
	cmn	r3, #222
	bne	.L66
	ldr	r3, .L67
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L67+16
	bl	printf
	ldr	r3, .L67+8
	ldr	r4, [r3]
	ldr	r0, .L67+12
	bl	get_int
	mov	r3, r0
	str	r3, [r4, #24]
.L66:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L68:
	.align	2
.L67:
	.word	dimension_prompts
	.word	.LC29
	.word	menu
	.word	.LC30
	.word	.LC31
	.size	display_dimensions_menu, .-display_dimensions_menu
	.align	2
	.global	display_max_degree_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_max_degree_menu, %function
display_max_degree_menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L70
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L70+4
	bl	printf
	ldr	r0, .L70+8
	bl	get_int
	str	r0, [fp, #-8]
	ldr	r3, .L70+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #36]
	ldr	r3, .L70+12
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #24]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	degree_prompt
	.word	.LC29
	.word	.LC30
	.word	menu
	.size	display_max_degree_menu, .-display_max_degree_menu
	.align	2
	.global	display_weighted_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_weighted_menu, %function
display_weighted_menu:
	@ 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]
	b	.L73
.L74:
	ldr	r2, .L78
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L78+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L73:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L74
	ldr	r0, .L78+8
	bl	printf
	ldr	r0, .L78+12
	bl	printf
	ldr	r0, .L78+8
	bl	get_int
	mov	r3, r0
	cmp	r3, #2
	bne	.L75
	ldr	r3, .L78+16
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #4]
	b	.L77
.L75:
	ldr	r3, .L78+16
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L78+16
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #32]
.L77:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	weighted_or_not_prompts
	.word	.LC29
	.word	.LC30
	.word	.LC28
	.word	menu
	.size	display_weighted_menu, .-display_weighted_menu
	.section	.rodata
	.align	2
.LC32:
	.ascii	"\012\011\011\011Maximum Edge Weight:  \000"
	.align	2
.LC33:
	.ascii	"\012\011\011\011\000"
	.text
	.align	2
	.global	display_max_weight_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_max_weight_menu, %function
display_max_weight_menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r0, .L81
	bl	printf
	ldr	r3, .L81+4
	ldr	r4, [r3]
	ldr	r0, .L81+8
	bl	get_int
	mov	r3, r0
	str	r3, [r4, #32]
	nop
	pop	{r4, r5, fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC32
	.word	menu
	.word	.LC33
	.size	display_max_weight_menu, .-display_max_weight_menu
	.section	.rodata
	.align	2
.LC34:
	.ascii	"%s\000"
	.text
	.align	2
	.global	display_outfile_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_outfile_menu, %function
display_outfile_menu:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L84
.L88:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L85
	ldr	r3, .L89
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L89+4
	bl	printf
	ldr	r3, .L89+8
	ldr	r3, [r3]
	add	r3, r3, #40
	mov	r1, r3
	ldr	r0, .L89+12
	bl	__isoc99_scanf
	b	.L86
.L85:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L87
	ldr	r2, .L89+16
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L89+4
	bl	printf
	ldr	r3, .L89+8
	ldr	r3, [r3]
	add	r3, r3, #169
	mov	r1, r3
	ldr	r0, .L89+12
	bl	__isoc99_scanf
	b	.L86
.L87:
	ldr	r2, .L89+16
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L89+4
	bl	printf
	ldr	r3, .L89+8
	ldr	r3, [r3]
	add	r3, r3, #296
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L89+12
	bl	__isoc99_scanf
.L86:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L84:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L88
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	main_file_prompt
	.word	.LC29
	.word	menu
	.word	.LC34
	.word	file_prompts
	.size	display_outfile_menu, .-display_outfile_menu
	.align	2
	.global	zero_vertex_or_edge_count
	.syntax unified
	.arm
	.fpu softvfp
	.type	zero_vertex_or_edge_count, %function
zero_vertex_or_edge_count:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L96
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L92
	ldr	r3, .L96
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L93
.L92:
	mov	r3, #1
	b	.L95
.L93:
	mov	r3, #0
.L95:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L97:
	.align	2
.L96:
	.word	menu
	.size	zero_vertex_or_edge_count, .-zero_vertex_or_edge_count
	.align	2
	.global	bogus_file_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	bogus_file_name, %function
bogus_file_name:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L99
	ldr	r3, .L103
	ldr	r3, [r3]
	add	r3, r3, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	b	.L100
.L99:
	ldr	r3, .L103
	ldr	r3, [r3]
	add	r3, r3, #40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L101
	ldr	r3, .L103
	ldr	r3, [r3]
	add	r3, r3, #169
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L101
	mov	r3, #1
	b	.L100
.L101:
	mov	r3, #0
.L100:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L104:
	.align	2
.L103:
	.word	menu
	.size	bogus_file_name, .-bogus_file_name
	.align	2
	.global	fix_imbalanced_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	fix_imbalanced_graph, %function
fix_imbalanced_graph:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L106
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	ldr	r2, .L113
	ldr	r2, [r2]
	ldr	r2, [r2, #28]
	sub	r2, r2, #1
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L107
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
.L107:
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L112
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #24]
	b	.L112
.L106:
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L109
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	ldr	r2, .L113
	ldr	r2, [r2]
	ldr	r2, [r2, #28]
	sub	r2, r2, #1
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L112
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #24]
	b	.L112
.L109:
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L110
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #36]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L111
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L111
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r2, [r3, #28]
	add	r2, r2, #1
	str	r2, [r3, #28]
.L111:
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r2, [r3, #28]
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #36]
	cmp	r2, r3
	bgt	.L112
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r2, [r3, #36]
	ldr	r3, .L113
	ldr	r3, [r3]
	add	r2, r2, #1
	str	r2, [r3, #28]
	b	.L112
.L110:
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L112
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	ldr	r2, .L113
	ldr	r2, [r2]
	ldr	r2, [r2, #28]
	mul	r2, r3, r2
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	mov	r1, r3
	lsl	r3, r3, #2
	sub	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bgt	.L112
	ldr	r3, .L113
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #24]
.L112:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L114:
	.align	2
.L113:
	.word	menu
	.size	fix_imbalanced_graph, .-fix_imbalanced_graph
	.section	.rodata
	.align	2
.LC35:
	.ascii	"\012\012\011Neither edge nor vertex count may be ze"
	.ascii	"ro.\012\012\000"
	.align	2
.LC36:
	.ascii	"\012\012\011Output file has illegal name.\012\012\000"
	.text
	.align	2
	.global	illegal_parms
	.syntax unified
	.arm
	.fpu softvfp
	.type	illegal_parms, %function
illegal_parms:
	@ 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]
	bl	zero_vertex_or_edge_count
	mov	r3, r0
	cmp	r3, #0
	beq	.L116
	ldr	r0, .L119
	bl	warning
	mov	r3, #1
	b	.L117
.L116:
	ldr	r0, [fp, #-8]
	bl	bogus_file_name
	mov	r3, r0
	cmp	r3, #0
	beq	.L118
	ldr	r0, .L119+4
	bl	warning
	mov	r3, #1
	b	.L117
.L118:
	bl	fix_imbalanced_graph
	mov	r3, #0
.L117:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L120:
	.align	2
.L119:
	.word	.LC35
	.word	.LC36
	.size	illegal_parms, .-illegal_parms
	.align	2
	.global	warning
	.syntax unified
	.arm
	.fpu softvfp
	.type	warning, %function
warning:
	@ 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	r0, [fp, #-8]
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	warning, .-warning
	.section	.rodata
	.align	2
.LC37:
	.ascii	"\012\012\011There is not enough space for this size"
	.ascii	" graph.\012\012\000"
	.align	2
.LC38:
	.ascii	"w\000"
	.align	2
.LC39:
	.ascii	"\012\011\011Could not open file %s.\012\012\000"
	.align	2
.LC40:
	.ascii	"%5d  %5d\012\000"
	.align	2
.LC41:
	.ascii	"r\000"
	.align	2
.LC42:
	.ascii	"\012\011\011Could not open file %s.\012\000"
	.align	2
.LC43:
	.ascii	"%5d   %5d\012\000"
	.align	2
.LC44:
	.ascii	"%s\012\000"
	.text
	.align	2
	.global	isomorphic_graph_pair
	.syntax unified
	.arm
	.fpu softvfp
	.type	isomorphic_graph_pair, %function
isomorphic_graph_pair:
	@ args = 4, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-104]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-108]
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-64]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L123
	ldr	r0, .L161
	bl	warning
	b	.L122
.L123:
	ldr	r3, [fp, #-104]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L125
	ldr	r0, .L161
	bl	warning
	ldr	r0, [fp, #-56]
	bl	free
	b	.L122
.L125:
	ldr	r3, [fp, #-104]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L126
	ldr	r0, .L161
	bl	warning
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	b	.L122
.L126:
	ldr	r3, [fp, #-104]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L127
	ldr	r0, .L161
	bl	warning
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	b	.L122
.L127:
	ldr	r3, [fp, #-60]
	mov	r1, #24
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L128
	ldr	r0, .L161
	bl	warning
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	b	.L122
.L128:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-96]
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-48]
	bl	init_array
	b	.L129
.L151:
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-48]
	bl	permute
	mvn	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L130
.L137:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	ble	.L131
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-88]
	b	.L132
.L136:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	ble	.L133
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L134
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	b	.L135
.L134:
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-68]
.L133:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L132:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L136
.L131:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L130:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L137
	ldr	r3, [fp, #-72]
	cmn	r3, #1
	bne	.L138
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L139
.L144:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	beq	.L140
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L140
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-88]
	b	.L141
.L143:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	beq	.L142
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L142
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L142
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-56]
	add	r2, r1, r2
	ldr	r3, [r3]
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	b	.L135
.L142:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L141:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L143
.L140:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L139:
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L144
	b	.L135
.L138:
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L145
.L150:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	beq	.L146
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	beq	.L146
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L146
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L147
.L149:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	beq	.L148
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	beq	.L148
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L148
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L148
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-56]
	add	r2, r1, r2
	ldr	r3, [r3]
	str	r3, [r2]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	b	.L135
.L148:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L147:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L149
.L146:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L145:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L150
	nop
.L135:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L129:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L151
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-112]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-104]
	bl	print_graph
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-44]
	bl	rename_vertices
	ldr	r1, .L161+4
	ldr	r0, [fp, #4]
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L152
	ldr	r1, [fp, #4]
	ldr	r0, .L161+8
	bl	printf
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	ldr	r0, [fp, #-40]
	bl	free
	b	.L122
.L152:
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L153
.L154:
	ldr	r3, [fp, #-92]
	add	r1, r3, #1
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, r1
	ldr	r1, .L161+12
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L153:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L154
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r1, .L161+16
	ldr	r0, [fp, #-112]
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L155
	ldr	r1, [fp, #-112]
	ldr	r0, .L161+8
	bl	printf
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	ldr	r0, [fp, #-40]
	bl	free
	b	.L122
.L155:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-36]
	mov	r1, #24
	mov	r0, r3
	bl	fgets
	b	.L156
.L157:
	ldr	r3, [fp, #-96]
	add	r3, r3, #24
	str	r3, [fp, #-96]
.L156:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-36]
	mov	r1, #24
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L157
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r2, [fp, #-60]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	rename_edges
	ldr	r1, [fp, #-60]
	ldr	r3, .L161+20
	mov	r2, #24
	ldr	r0, [fp, #-40]
	bl	qsort
	ldr	r1, .L161+4
	ldr	r0, [fp, #-116]
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L158
	ldr	r1, [fp, #-116]
	ldr	r0, .L161+24
	bl	printf
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	ldr	r0, [fp, #-40]
	bl	free
	b	.L122
.L158:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-104]
	ldr	r1, .L161+28
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L159
.L160:
	ldr	r3, [fp, #-96]
	mov	r2, r3
	ldr	r1, .L161+32
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r3, [fp, #-96]
	add	r3, r3, #24
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L159:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L160
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	ldr	r0, [fp, #-40]
	bl	free
.L122:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L162:
	.align	2
.L161:
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	compare_strings
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.size	isomorphic_graph_pair, .-isomorphic_graph_pair
	.align	2
	.global	compare_strings
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_strings, %function
compare_strings:
	@ 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	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare_strings, .-compare_strings
	.align	2
	.global	rename_vertices
	.syntax unified
	.arm
	.fpu softvfp
	.type	rename_vertices, %function
rename_vertices:
	@ 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	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	init_array
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	permute
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	rename_vertices, .-rename_vertices
	.section	.rodata
	.align	2
.LC45:
	.ascii	"%5d  %5d\000"
	.align	2
.LC46:
	.ascii	"%5d   %5d   %5d\000"
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rename_edges
	.syntax unified
	.arm
	.fpu softvfp
	.type	rename_edges, %function
rename_edges:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L172
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L167
.L170:
	ldr	r0, [fp, #-56]
	sub	r3, fp, #48
	sub	r2, fp, #52
	ldr	r1, .L172+4
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-52]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bge	.L168
	sub	r0, fp, #32
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r1, .L172+8
	bl	sprintf
	b	.L169
.L168:
	sub	r0, fp, #32
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	ldr	r1, .L172+8
	bl	sprintf
.L169:
	ldr	r3, [fp, #-56]
	sub	r2, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-56]
	add	r3, r3, #24
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L167:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L170
	nop
	ldr	r3, .L172
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L171
	bl	__stack_chk_fail
.L171:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L173:
	.align	2
.L172:
	.word	.LC47
	.word	.LC45
	.word	.LC46
	.size	rename_edges, .-rename_edges
	.section	.rodata
	.align	2
.LC48:
	.ascii	"Not enough room for this size graph\000"
	.align	2
.LC49:
	.ascii	"\012\011Beginning construction of graph.\000"
	.align	2
.LC50:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	random_connected_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	random_connected_graph, %function
random_connected_graph:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-56]
	ldr	r3, .L190
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L175
	ldr	r0, .L190+4
	bl	puts
	b	.L174
.L175:
	ldr	r3, [fp, #-40]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L177
	ldr	r0, .L190+4
	bl	puts
	ldr	r0, [fp, #-20]
	bl	free
	b	.L174
.L177:
	ldr	r0, .L190+8
	bl	puts
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-16]
	bl	init_array
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-16]
	bl	permute
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L178
.L181:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L179
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r3, r0
	add	r2, r3, #1
	b	.L180
.L179:
	mov	r2, #1
.L180:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-40]
	mul	r1, r3, r1
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-16]
	add	r3, r0, r3
	ldr	r3, [r3]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	str	r2, [r3]
	ldr	r2, [fp, #-32]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-16]
	add	r2, r1, r2
	ldr	r2, [r2]
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	ldr	r2, [fp, #-28]
	lsl	r2, r2, #2
	ldr	r0, [fp, #-16]
	add	r2, r0, r2
	ldr	r2, [r2]
	add	r2, r1, r2
	lsl	r2, r2, #2
	ldr	r1, [fp, #-20]
	add	r2, r1, r2
	ldr	r3, [r3]
	str	r3, [r2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L178:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bgt	.L181
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L182
.L187:
	ldr	r0, [fp, #-40]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L183
	b	.L182
.L183:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L184
	sub	r2, fp, #28
	sub	r3, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	swap
.L184:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L182
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L185
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r3, r0
	add	r3, r3, #1
	b	.L186
.L185:
	mov	r3, #1
.L186:
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-20]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L182:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L187
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	print_graph
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r0, [fp, #-20]
	bl	free
.L174:
	ldr	r3, .L190
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L189
	bl	__stack_chk_fail
.L189:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L191:
	.align	2
.L190:
	.word	.LC50
	.word	.LC48
	.word	.LC49
	.size	random_connected_graph, .-random_connected_graph
	.section	.rodata
	.align	2
.LC51:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	random_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	random_graph, %function
random_graph:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-48]
	ldr	r3, .L204
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L193
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	r_graph
	b	.L192
.L193:
	ldr	r3, [fp, #-32]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L195
	ldr	r0, .L204+4
	bl	puts
	b	.L192
.L195:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L196
.L201:
	ldr	r0, [fp, #-32]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L197
	b	.L196
.L197:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L198
	sub	r2, fp, #24
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	swap
.L198:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L196
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L199
	ldr	r0, [fp, #-40]
	bl	ran
	mov	r3, r0
	add	r3, r3, #1
	b	.L200
.L199:
	mov	r3, #1
.L200:
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-16]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L196:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L201
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	print_graph
	ldr	r0, [fp, #-16]
	bl	free
.L192:
	ldr	r3, .L204
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L203
	bl	__stack_chk_fail
.L203:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L205:
	.align	2
.L204:
	.word	.LC51
	.word	.LC48
	.size	random_graph, .-random_graph
	.section	.rodata
	.align	2
.LC52:
	.ascii	"Unable to open file %s for writing\012\000"
	.align	2
.LC53:
	.ascii	"\012\011Writing graph to file %s.\012\000"
	.align	2
.LC54:
	.ascii	"%5d   %5d   %5d\012\000"
	.align	2
.LC55:
	.ascii	"\011Graph is written to file %s.\012\000"
	.text
	.align	2
	.global	r_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	r_graph, %function
r_graph:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r1, .L213
	ldr	r0, [fp, #4]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L207
	ldr	r1, [fp, #4]
	ldr	r0, .L213+4
	bl	printf
	b	.L206
.L207:
	ldr	r1, [fp, #4]
	ldr	r0, .L213+8
	bl	printf
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, .L213+12
	ldr	r0, [fp, #-16]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L209
.L212:
	ldr	r0, [fp, #-24]
	bl	ran
	mov	r3, r0
	add	r4, r3, #1
	ldr	r0, [fp, #-24]
	bl	ran
	mov	r3, r0
	add	r5, r3, #1
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L210
	ldr	r0, [fp, #-32]
	bl	ran
	mov	r3, r0
	add	r3, r3, #1
	b	.L211
.L210:
	mov	r3, #1
.L211:
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L213+16
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L209:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L212
	ldr	r1, [fp, #4]
	ldr	r0, .L213+20
	bl	printf
	ldr	r0, [fp, #-16]
	bl	fclose
.L206:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L214:
	.align	2
.L213:
	.word	.LC38
	.word	.LC52
	.word	.LC53
	.word	.LC43
	.word	.LC54
	.word	.LC55
	.size	r_graph, .-r_graph
	.align	2
	.global	random_digraph
	.syntax unified
	.arm
	.fpu softvfp
	.type	random_digraph, %function
random_digraph:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L216
	ldr	r3, [fp, #8]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	r_graph
	b	.L215
.L216:
	ldr	r3, [fp, #-32]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L218
	ldr	r0, .L224
	bl	puts
	b	.L215
.L218:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L219
.L223:
	ldr	r0, [fp, #-32]
	bl	ran
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	ran
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L220
	b	.L219
.L220:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L219
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L221
	ldr	r0, [fp, #-40]
	bl	ran
	mov	r3, r0
	add	r3, r3, #1
	b	.L222
.L221:
	mov	r3, #1
.L222:
	ldr	r2, [fp, #-8]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-20]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L219:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L223
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #8]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	print_graph
	ldr	r0, [fp, #-20]
	bl	free
.L215:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L225:
	.align	2
.L224:
	.word	.LC48
	.size	random_digraph, .-random_digraph
	.section	.rodata
	.align	2
.LC56:
	.ascii	"\012\011\011 Could not open file %s.\012\000"
	.align	2
.LC57:
	.ascii	"%5d\012\000"
	.align	2
.LC58:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	directed_acyclic_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	directed_acyclic_graph, %function
directed_acyclic_graph:
	@ args = 8, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-68]
	ldr	r3, .L242
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L227
	ldr	r0, .L242+4
	bl	puts
	b	.L226
.L227:
	ldr	r3, [fp, #-48]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L229
	ldr	r0, .L242+4
	bl	puts
	ldr	r0, [fp, #-32]
	bl	free
	b	.L226
.L229:
	ldr	r0, .L242+8
	bl	puts
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-28]
	bl	init_array
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-28]
	bl	permute
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L230
.L235:
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r4, [fp, #-44]
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r4, r3
	bne	.L231
	b	.L230
.L231:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L232
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	swap
.L232:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L230
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L233
	ldr	r0, [fp, #-56]
	bl	ran
	mov	r3, r0
	add	r3, r3, #1
	b	.L234
.L233:
	mov	r3, #1
.L234:
	ldr	r2, [fp, #-20]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-32]
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L230:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L235
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	print_graph
	ldr	r1, .L242+12
	ldr	r0, [fp, #-68]
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L236
	ldr	r1, [fp, #-68]
	ldr	r0, .L242+16
	bl	printf
	b	.L237
.L236:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L238
.L239:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L242+20
	ldr	r0, [fp, #-24]
	bl	fprintf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L238:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L239
	ldr	r0, [fp, #-24]
	bl	fclose
.L237:
	ldr	r0, [fp, #-32]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
.L226:
	ldr	r3, .L242
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L241
	bl	__stack_chk_fail
.L241:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L243:
	.align	2
.L242:
	.word	.LC58
	.word	.LC48
	.word	.LC49
	.word	.LC38
	.word	.LC56
	.word	.LC57
	.size	directed_acyclic_graph, .-directed_acyclic_graph
	.section	.rodata
	.align	2
.LC59:
	.ascii	"Unable to open file %s for writing.\012\000"
	.text
	.align	2
	.global	complete_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	complete_graph, %function
complete_graph:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r1, .L254
	ldr	r0, [fp, #-36]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L245
	ldr	r1, [fp, #-36]
	ldr	r0, .L254+4
	bl	printf
	b	.L244
.L245:
	ldr	r1, [fp, #-36]
	ldr	r0, .L254+8
	bl	printf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L247
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	b	.L248
.L247:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
.L248:
	ldr	r2, [fp, #-24]
	ldr	r1, .L254+12
	ldr	r0, [fp, #-8]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L249
.L253:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L250
.L252:
	ldr	r0, [fp, #-28]
	bl	ran
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, .L254+16
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L251
	ldr	r0, [fp, #-28]
	bl	ran
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, .L254+16
	ldr	r0, [fp, #-8]
	bl	fprintf
.L251:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L250:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L252
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L249:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L253
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r1, [fp, #-36]
	ldr	r0, .L254+20
	bl	printf
.L244:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L255:
	.align	2
.L254:
	.word	.LC38
	.word	.LC59
	.word	.LC53
	.word	.LC43
	.word	.LC54
	.word	.LC55
	.size	complete_graph, .-complete_graph
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC60:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hamiltonian_cycle_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	hamiltonian_cycle_graph, %function
hamiltonian_cycle_graph:
	@ args = 4, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, .L270
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L257
	ldr	r0, .L270+4
	bl	puts
	b	.L256
.L257:
	ldr	r3, [fp, #-56]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L259
	ldr	r0, .L270+4
	bl	puts
	ldr	r0, [fp, #-32]
	bl	free
	b	.L256
.L259:
	ldr	r0, .L270+8
	bl	puts
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-28]
	bl	init_array
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-28]
	bl	permute
	ldr	r1, .L270+12
	ldr	r0, [fp, #-72]
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L260
	ldr	r1, [fp, #-72]
	ldr	r0, .L270+16
	bl	printf
	ldr	r0, [fp, #-32]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
	b	.L256
.L260:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L261
.L263:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L270+20
	ldr	r0, [fp, #-24]
	bl	fprintf
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L262
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L262
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	swap
.L262:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L261:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bgt	.L263
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L270+20
	ldr	r0, [fp, #-24]
	bl	fprintf
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-36]
	b	.L264
.L267:
	ldr	r0, [fp, #-56]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r4, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	ran
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r4, r3
	bne	.L265
	b	.L264
.L265:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	ble	.L266
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L266
	sub	r2, fp, #48
	sub	r3, fp, #52
	mov	r1, r2
	mov	r0, r3
	bl	swap
.L266:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L264
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L264:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L267
	ldr	r3, [fp, #-64]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-56]
	bl	print_graph
.L256:
	ldr	r3, .L270
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L269
	bl	__stack_chk_fail
.L269:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L271:
	.align	2
.L270:
	.word	.LC60
	.word	.LC48
	.word	.LC49
	.word	.LC38
	.word	.LC56
	.word	.LC57
	.size	hamiltonian_cycle_graph, .-hamiltonian_cycle_graph
	.section	.rodata
	.align	2
.LC61:
	.ascii	"\012\012\011A single vertex network is not allowed."
	.ascii	"\012\012\000"
	.text
	.align	2
	.global	network_flow_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	network_flow_graph, %function
network_flow_graph:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L273
	ldr	r0, .L283
	bl	warning
	b	.L272
.L273:
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L275
	ldr	r0, .L283+4
	bl	warning
	b	.L272
.L275:
	ldr	r3, [fp, #-40]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L276
	ldr	r0, .L283+4
	bl	warning
	ldr	r0, [fp, #-16]
	bl	free
	b	.L272
.L276:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
.L280:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-12]
	bl	pick_to
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r1, r0
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r2, r1, #1
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L277
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	b	.L278
.L279:
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r1, r0
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r2, r1, #1
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-28]
.L278:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-12]
	bl	pick_to
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L279
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r1, r0
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r2, r1, #1
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L277:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-12]
	bl	unpicked_vertices_p
	mov	r3, r0
	cmp	r3, #0
	bne	.L280
	b	.L281
.L282:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	mov	r0, r3
	bl	ran
	str	r0, [fp, #-28]
	ldr	r1, [fp, #-40]
	mov	r0, #0
	bl	pick_to
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L281
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	beq	.L281
	ldr	r0, [fp, #-48]
	bl	ran
	mov	r1, r0
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r2, r1, #1
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L281:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L282
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	print_graph
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r0, [fp, #-12]
	bl	free
.L272:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L284:
	.align	2
.L283:
	.word	.LC61
	.word	.LC37
	.size	network_flow_graph, .-network_flow_graph
	.align	2
	.global	pick_to
	.syntax unified
	.arm
	.fpu softvfp
	.type	pick_to, %function
pick_to:
	@ 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, [fp, #-16]
	cmp	r3, #0
	bne	.L286
.L287:
	ldr	r0, [fp, #-20]
	bl	ran
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L287
	b	.L288
.L286:
	ldr	r0, [fp, #-20]
	bl	ran
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L286
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
.L288:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pick_to, .-pick_to
	.align	2
	.global	unpicked_vertices_p
	.syntax unified
	.arm
	.fpu softvfp
	.type	unpicked_vertices_p, %function
unpicked_vertices_p:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L291
.L294:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L292
	mov	r3, #1
	b	.L293
.L292:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L291:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L294
	mov	r3, #0
.L293:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	unpicked_vertices_p, .-unpicked_vertices_p
	.align	2
	.global	seed_ran
	.syntax unified
	.arm
	.fpu softvfp
	.type	seed_ran, %function
seed_ran:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #0
	bl	time
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	srand
	nop
	pop	{fp, pc}
	.size	seed_ran, .-seed_ran
	.align	2
	.global	ran
	.syntax unified
	.arm
	.fpu softvfp
	.type	ran, %function
ran:
	@ 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]
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ran, .-ran
	.section	.rodata
	.align	2
.LC62:
	.ascii	"%d %d\012\000"
	.text
	.align	2
	.global	print_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_graph, %function
print_graph:
	@ args = 4, 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r1, .L313
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L299
	ldr	r1, [fp, #-32]
	ldr	r0, .L313+4
	bl	printf
	b	.L298
.L299:
	ldr	r1, [fp, #-32]
	ldr	r0, .L313+8
	bl	printf
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, .L313+12
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L301
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L302
.L306:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L303
.L305:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L304
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r1, .L313+12
	ldr	r0, [fp, #-12]
	bl	fprintf
.L304:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L303:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L305
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L302:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L306
	b	.L307
.L301:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L308
.L312:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L309
.L311:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L310
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r1, .L313+12
	ldr	r0, [fp, #-12]
	bl	fprintf
.L310:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L309:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L311
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L308:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L312
.L307:
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r1, [fp, #-32]
	ldr	r0, .L313+16
	bl	printf
.L298:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L314:
	.align	2
.L313:
	.word	.LC38
	.word	.LC59
	.word	.LC53
	.word	.LC62
	.word	.LC55
	.size	print_graph, .-print_graph
	.align	2
	.global	permute
	.syntax unified
	.arm
	.fpu softvfp
	.type	permute, %function
permute:
	@ 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]
	b	.L316
.L317:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	mov	r0, r3
	bl	ran
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r0, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	bl	swap
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L316:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L317
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	permute, .-permute
	.align	2
	.global	swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap, %function
swap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	swap, .-swap
	.align	2
	.global	init_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_array, %function
init_array:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L320
.L321:
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L320:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L321
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	init_array, .-init_array
	.section	.rodata
	.align	2
.LC63:
	.ascii	"%d\000"
	.align	2
.LC64:
	.ascii	"***** Illegal input.  Reenter value: \000"
	.align	2
.LC65:
	.ascii	"%s%s\000"
	.align	2
.LC66:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_int, %function
get_int:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L330
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L326:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L330+4
	bl	__isoc99_scanf
	sub	r2, fp, #44
	sub	r3, fp, #40
	ldr	r1, .L330+8
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L323
	ldr	r2, .L330+12
	ldr	r1, [fp, #-48]
	ldr	r0, .L330+16
	bl	printf
	b	.L326
.L323:
	ldr	r3, [fp, #-44]
	ldr	r2, .L330
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L327
	bl	__stack_chk_fail
.L327:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L331:
	.align	2
.L330:
	.word	.LC66
	.word	.LC34
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.size	get_int, .-get_int
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
