Program: graph-tests

x86 assembly:
	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_createNode                     ## -- Begin function createNode
	.p2align	4, 0x90
_createNode:                            ## @createNode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	$16, %edi
	callq	_libmin_malloc
	movq	%rax, -16(%rbp)
	movl	-4(%rbp), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, (%rax)
	movq	-16(%rbp), %rax
	movq	$0, 8(%rax)
	movq	-16(%rbp), %rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_createGraph                    ## -- Begin function createGraph
	.p2align	4, 0x90
_createGraph:                           ## @createGraph
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	$24, %edi
	callq	_libmin_malloc
	movq	%rax, -16(%rbp)
	movl	-4(%rbp), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, (%rax)
	movslq	-4(%rbp), %rdi
	shlq	$3, %rdi
	callq	_libmin_malloc
	movq	%rax, %rcx
	movq	-16(%rbp), %rax
	movq	%rcx, 8(%rax)
	movslq	-4(%rbp), %rdi
	shlq	$2, %rdi
	callq	_libmin_malloc
	movq	%rax, %rcx
	movq	-16(%rbp), %rax
	movq	%rcx, 16(%rax)
	movl	$0, -8(%rbp)
LBB1_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-8(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jge	LBB1_4
## %bb.2:                               ##   in Loop: Header=BB1_1 Depth=1
	movq	-16(%rbp), %rax
	movq	8(%rax), %rax
	movslq	-8(%rbp), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	-16(%rbp), %rax
	movq	16(%rax), %rax
	movslq	-8(%rbp), %rcx
	movl	$0, (%rax,%rcx,4)
## %bb.3:                               ##   in Loop: Header=BB1_1 Depth=1
	movl	-8(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	LBB1_1
LBB1_4:
	movq	-16(%rbp), %rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_addEdge                        ## -- Begin function addEdge
	.p2align	4, 0x90
_addEdge:                               ## @addEdge
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movl	%edx, -16(%rbp)
	movl	-16(%rbp), %edi
	callq	_createNode
	movq	%rax, -24(%rbp)
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movslq	-12(%rbp), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	-24(%rbp), %rax
	movq	%rcx, 8(%rax)
	movq	-24(%rbp), %rdx
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movslq	-12(%rbp), %rcx
	movq	%rdx, (%rax,%rcx,8)
	movl	-12(%rbp), %edi
	callq	_createNode
	movq	%rax, -24(%rbp)
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movslq	-16(%rbp), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	-24(%rbp), %rax
	movq	%rcx, 8(%rax)
	movq	-24(%rbp), %rdx
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movslq	-16(%rbp), %rcx
	movq	%rdx, (%rax,%rcx,8)
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_createQueue                    ## -- Begin function createQueue
	.p2align	4, 0x90
_createQueue:                           ## @createQueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$168, %edi
	callq	_libmin_malloc
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	$-1, 160(%rax)
	movq	-8(%rbp), %rax
	movl	$-1, 164(%rax)
	movq	-8(%rbp), %rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_isEmpty                        ## -- Begin function isEmpty
	.p2align	4, 0x90
_isEmpty:                               ## @isEmpty
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, -16(%rbp)
	movq	-16(%rbp), %rax
	cmpl	$-1, 164(%rax)
	jne	LBB4_2
## %bb.1:
	movl	$1, -4(%rbp)
	jmp	LBB4_3
LBB4_2:
	movl	$0, -4(%rbp)
LBB4_3:
	movl	-4(%rbp), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_enqueue                        ## -- Begin function enqueue
	.p2align	4, 0x90
_enqueue:                               ## @enqueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movq	-8(%rbp), %rax
	cmpl	$39, 164(%rax)
	jne	LBB5_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	jmp	LBB5_5
LBB5_2:
	movq	-8(%rbp), %rax
	cmpl	$-1, 160(%rax)
	jne	LBB5_4
## %bb.3:
	movq	-8(%rbp), %rax
	movl	$0, 160(%rax)
LBB5_4:
	movq	-8(%rbp), %rax
	movl	164(%rax), %ecx
	addl	$1, %ecx
	movl	%ecx, 164(%rax)
	movl	-12(%rbp), %edx
	movq	-8(%rbp), %rax
	movq	-8(%rbp), %rcx
	movslq	164(%rcx), %rcx
	movl	%edx, (%rax,%rcx,4)
LBB5_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_dequeue                        ## -- Begin function dequeue
	.p2align	4, 0x90
_dequeue:                               ## @dequeue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rdi
	callq	_isEmpty
	cmpl	$0, %eax
	je	LBB6_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	movl	$-1, -12(%rbp)
	jmp	LBB6_5
LBB6_2:
	movq	-8(%rbp), %rax
	movq	-8(%rbp), %rcx
	movslq	160(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -12(%rbp)
	movq	-8(%rbp), %rax
	movl	160(%rax), %ecx
	addl	$1, %ecx
	movl	%ecx, 160(%rax)
	movq	-8(%rbp), %rax
	movl	160(%rax), %eax
	movq	-8(%rbp), %rcx
	cmpl	164(%rcx), %eax
	jle	LBB6_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	movq	-8(%rbp), %rax
	movl	$-1, 164(%rax)
	movq	-8(%rbp), %rax
	movl	$-1, 160(%rax)
LBB6_4:
	jmp	LBB6_5
LBB6_5:
	movl	-12(%rbp), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_printQueue                     ## -- Begin function printQueue
	.p2align	4, 0x90
_printQueue:                            ## @printQueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	160(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	-8(%rbp), %rdi
	callq	_isEmpty
	cmpl	$0, %eax
	je	LBB7_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	jmp	LBB7_7
LBB7_2:
	leaq	L_.str.3(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	movq	-8(%rbp), %rax
	movl	160(%rax), %eax
	movl	%eax, -12(%rbp)
LBB7_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-12(%rbp), %eax
	movq	-8(%rbp), %rcx
	movl	164(%rcx), %ecx
	addl	$1, %ecx
	cmpl	%ecx, %eax
	jge	LBB7_6
## %bb.4:                               ##   in Loop: Header=BB7_3 Depth=1
	movq	-8(%rbp), %rax
	movslq	-12(%rbp), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.4(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
## %bb.5:                               ##   in Loop: Header=BB7_3 Depth=1
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -12(%rbp)
	jmp	LBB7_3
LBB7_6:
	leaq	L_.str.5(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
LBB7_7:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_bfs                            ## -- Begin function bfs
	.p2align	4, 0x90
_bfs:                                   ## @bfs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	callq	_createQueue
	movq	%rax, -24(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movslq	-12(%rbp), %rcx
	movl	$1, (%rax,%rcx,4)
	movq	-24(%rbp), %rdi
	movl	-12(%rbp), %esi
	callq	_enqueue
LBB8_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB8_3 Depth 2
	movq	-24(%rbp), %rdi
	callq	_isEmpty
	cmpl	$0, %eax
	setne	%al
	xorb	$-1, %al
	testb	$1, %al
	jne	LBB8_2
	jmp	LBB8_8
LBB8_2:                                 ##   in Loop: Header=BB8_1 Depth=1
	movq	-24(%rbp), %rdi
	callq	_printQueue
	movq	-24(%rbp), %rdi
	callq	_dequeue
	movl	%eax, -28(%rbp)
	movl	-28(%rbp), %esi
	leaq	L_.str.6(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movslq	-28(%rbp), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -40(%rbp)
LBB8_3:                                 ##   Parent Loop BB8_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, -40(%rbp)
	je	LBB8_7
## %bb.4:                               ##   in Loop: Header=BB8_3 Depth=2
	movq	-40(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movslq	-44(%rbp), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB8_6
## %bb.5:                               ##   in Loop: Header=BB8_3 Depth=2
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movslq	-44(%rbp), %rcx
	movl	$1, (%rax,%rcx,4)
	movq	-24(%rbp), %rdi
	movl	-44(%rbp), %esi
	callq	_enqueue
LBB8_6:                                 ##   in Loop: Header=BB8_3 Depth=2
	movq	-40(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -40(%rbp)
	jmp	LBB8_3
LBB8_7:                                 ##   in Loop: Header=BB8_1 Depth=1
	jmp	LBB8_1
LBB8_8:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_bfs_test                       ## -- Begin function bfs_test
	.p2align	4, 0x90
_bfs_test:                              ## @bfs_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$6, %edi
	callq	_createGraph
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_addEdge
	movq	-8(%rbp), %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_addEdge
	movq	-8(%rbp), %rdi
	movl	$1, %esi
	movl	$2, %edx
	callq	_addEdge
	movq	-8(%rbp), %rdi
	movl	$1, %esi
	movl	$4, %edx
	callq	_addEdge
	movq	-8(%rbp), %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_addEdge
	movq	-8(%rbp), %rdi
	movl	$2, %esi
	movl	$4, %edx
	callq	_addEdge
	movq	-8(%rbp), %rdi
	movl	$3, %esi
	movl	$4, %edx
	callq	_addEdge
	movq	-8(%rbp), %rdi
	xorl	%esi, %esi
	callq	_bfs
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_insertAtTheBegin               ## -- Begin function insertAtTheBegin
	.p2align	4, 0x90
_insertAtTheBegin:                      ## @insertAtTheBegin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movl	$16, %edi
	callq	_libmin_malloc
	movq	%rax, -24(%rbp)
	movl	-12(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, (%rax)
	movq	-8(%rbp), %rax
	movq	(%rax), %rcx
	movq	-24(%rbp), %rax
	movq	%rcx, 8(%rax)
	movq	-24(%rbp), %rcx
	movq	-8(%rbp), %rax
	movq	%rcx, (%rax)
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_swap                           ## -- Begin function swap
	.p2align	4, 0x90
_swap:                                  ## @swap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movq	-8(%rbp), %rax
	movl	%ecx, (%rax)
	movl	-20(%rbp), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_bubbleSort                     ## -- Begin function bubbleSort
	.p2align	4, 0x90
_bubbleSort:                            ## @bubbleSort
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	%rdi, -8(%rbp)
	movq	$0, -32(%rbp)
	cmpq	$0, -8(%rbp)
	jne	LBB12_2
## %bb.1:
	jmp	LBB12_10
LBB12_2:
	jmp	LBB12_3
LBB12_3:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB12_4 Depth 2
	movl	$0, -12(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, -24(%rbp)
LBB12_4:                                ##   Parent Loop BB12_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-24(%rbp), %rax
	movq	8(%rax), %rax
	cmpq	-32(%rbp), %rax
	je	LBB12_8
## %bb.5:                               ##   in Loop: Header=BB12_4 Depth=2
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movq	-24(%rbp), %rcx
	movq	8(%rcx), %rcx
	cmpl	(%rcx), %eax
	jle	LBB12_7
## %bb.6:                               ##   in Loop: Header=BB12_4 Depth=2
	movq	-24(%rbp), %rdi
	movq	-24(%rbp), %rax
	movq	8(%rax), %rsi
	callq	_swap
	movl	$1, -12(%rbp)
LBB12_7:                                ##   in Loop: Header=BB12_4 Depth=2
	movq	-24(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -24(%rbp)
	jmp	LBB12_4
LBB12_8:                                ##   in Loop: Header=BB12_3 Depth=1
	movq	-24(%rbp), %rax
	movq	%rax, -32(%rbp)
## %bb.9:                               ##   in Loop: Header=BB12_3 Depth=1
	cmpl	$0, -12(%rbp)
	jne	LBB12_3
LBB12_10:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_link_list                      ## -- Begin function link_list
	.p2align	4, 0x90
_link_list:                             ## @link_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	l___const.link_list.arr(%rip), %rax
	movq	%rax, -32(%rbp)
	movq	l___const.link_list.arr+8(%rip), %rax
	movq	%rax, -24(%rbp)
	movq	l___const.link_list.arr+16(%rip), %rax
	movq	%rax, -16(%rbp)
	movq	$0, -48(%rbp)
	movl	$0, -36(%rbp)
LBB13_1:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$6, -36(%rbp)
	jge	LBB13_4
## %bb.2:                               ##   in Loop: Header=BB13_1 Depth=1
	movslq	-36(%rbp), %rax
	movl	-32(%rbp,%rax,4), %esi
	leaq	-48(%rbp), %rdi
	callq	_insertAtTheBegin
## %bb.3:                               ##   in Loop: Header=BB13_1 Depth=1
	movl	-36(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -36(%rbp)
	jmp	LBB13_1
LBB13_4:
	movq	-48(%rbp), %rdi
	callq	_bubbleSort
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-8(%rbp), %rcx
	cmpq	%rcx, %rax
	jne	LBB13_6
## %bb.5:
	addq	$48, %rsp
	popq	%rbp
	retq
LBB13_6:
	callq	___stack_chk_fail
	ud2
	.cfi_endproc
                                        ## -- End function
	.globl	_push                           ## -- Begin function push
	.p2align	4, 0x90
_push:                                  ## @push
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, -4(%rbp)
	movl	-4(%rbp), %edx
	movl	_top(%rip), %eax
	addl	$1, %eax
	movl	%eax, _top(%rip)
	movslq	%eax, %rcx
	movq	_stack@GOTPCREL(%rip), %rax
	movl	%edx, (%rax,%rcx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_pop                            ## -- Begin function pop
	.p2align	4, 0x90
_pop:                                   ## @pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	_top(%rip), %eax
	movl	%eax, %ecx
	addl	$-1, %ecx
	movl	%ecx, _top(%rip)
	movslq	%eax, %rcx
	movq	_stack@GOTPCREL(%rip), %rax
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_peek                           ## -- Begin function peek
	.p2align	4, 0x90
_peek:                                  ## @peek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	_top(%rip), %rcx
	movq	_stack@GOTPCREL(%rip), %rax
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_isStackEmpty                   ## -- Begin function isStackEmpty
	.p2align	4, 0x90
_isStackEmpty:                          ## @isStackEmpty
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$-1, _top(%rip)
	sete	%al
	andb	$1, %al
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_addVertex                      ## -- Begin function addVertex
	.p2align	4, 0x90
_addVertex:                             ## @addVertex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$4, %edi
	callq	_libmin_malloc
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	$0, (%rax)
	movq	-8(%rbp), %rdx
	movl	_vertexCount(%rip), %eax
	movl	%eax, %ecx
	addl	$1, %ecx
	movl	%ecx, _vertexCount(%rip)
	movslq	%eax, %rcx
	movq	_lstVertices@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax,%rcx,8)
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_addEdge_DFS                    ## -- Begin function addEdge_DFS
	.p2align	4, 0x90
_addEdge_DFS:                           ## @addEdge_DFS
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movslq	-4(%rbp), %rcx
	movq	_adjMatrix@GOTPCREL(%rip), %rax
	imulq	$20, %rcx, %rcx
	addq	%rcx, %rax
	movslq	-8(%rbp), %rcx
	movl	$1, (%rax,%rcx,4)
	movslq	-8(%rbp), %rcx
	movq	_adjMatrix@GOTPCREL(%rip), %rax
	imulq	$20, %rcx, %rcx
	addq	%rcx, %rax
	movslq	-4(%rbp), %rcx
	movl	$1, (%rax,%rcx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_getAdjUnvisitedVertex          ## -- Begin function getAdjUnvisitedVertex
	.p2align	4, 0x90
_getAdjUnvisitedVertex:                 ## @getAdjUnvisitedVertex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, -8(%rbp)
	movl	$0, -12(%rbp)
LBB20_1:                                ## =>This Inner Loop Header: Depth=1
	movl	-12(%rbp), %eax
	cmpl	_vertexCount(%rip), %eax
	jge	LBB20_7
## %bb.2:                               ##   in Loop: Header=BB20_1 Depth=1
	movslq	-8(%rbp), %rcx
	movq	_adjMatrix@GOTPCREL(%rip), %rax
	imulq	$20, %rcx, %rcx
	addq	%rcx, %rax
	movslq	-12(%rbp), %rcx
	cmpl	$1, (%rax,%rcx,4)
	jne	LBB20_5
## %bb.3:                               ##   in Loop: Header=BB20_1 Depth=1
	movslq	-12(%rbp), %rcx
	movq	_lstVertices@GOTPCREL(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	cmpl	$0, (%rax)
	jne	LBB20_5
## %bb.4:
	movl	-12(%rbp), %eax
	movl	%eax, -4(%rbp)
	jmp	LBB20_8
LBB20_5:                                ##   in Loop: Header=BB20_1 Depth=1
	jmp	LBB20_6
LBB20_6:                                ##   in Loop: Header=BB20_1 Depth=1
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -12(%rbp)
	jmp	LBB20_1
LBB20_7:
	movl	$-1, -4(%rbp)
LBB20_8:
	movl	-4(%rbp), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_depthFirstSearch               ## -- Begin function depthFirstSearch
	.p2align	4, 0x90
_depthFirstSearch:                      ## @depthFirstSearch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_lstVertices@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax)
	xorl	%edi, %edi
	callq	_push
LBB21_1:                                ## =>This Inner Loop Header: Depth=1
	callq	_isStackEmpty
	cmpl	$0, %eax
	setne	%al
	xorb	$-1, %al
	testb	$1, %al
	jne	LBB21_2
	jmp	LBB21_6
LBB21_2:                                ##   in Loop: Header=BB21_1 Depth=1
	callq	_peek
	movl	%eax, %edi
	callq	_getAdjUnvisitedVertex
	movl	%eax, -8(%rbp)
	cmpl	$-1, -8(%rbp)
	jne	LBB21_4
## %bb.3:                               ##   in Loop: Header=BB21_1 Depth=1
	callq	_pop
	jmp	LBB21_5
LBB21_4:                                ##   in Loop: Header=BB21_1 Depth=1
	movslq	-8(%rbp), %rcx
	movq	_lstVertices@GOTPCREL(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	movl	$1, (%rax)
	movl	-8(%rbp), %edi
	callq	_push
LBB21_5:                                ##   in Loop: Header=BB21_1 Depth=1
	jmp	LBB21_1
LBB21_6:
	movl	$0, -4(%rbp)
LBB21_7:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbp), %eax
	cmpl	_vertexCount(%rip), %eax
	jge	LBB21_10
## %bb.8:                               ##   in Loop: Header=BB21_7 Depth=1
	movslq	-4(%rbp), %rcx
	movq	_lstVertices@GOTPCREL(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	movl	$0, (%rax)
## %bb.9:                               ##   in Loop: Header=BB21_7 Depth=1
	movl	-4(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -4(%rbp)
	jmp	LBB21_7
LBB21_10:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_DFS_test                       ## -- Begin function DFS_test
	.p2align	4, 0x90
_DFS_test:                              ## @DFS_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$0, -4(%rbp)
LBB22_1:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB22_3 Depth 2
	cmpl	$5, -4(%rbp)
	jge	LBB22_8
## %bb.2:                               ##   in Loop: Header=BB22_1 Depth=1
	movl	$0, -8(%rbp)
LBB22_3:                                ##   Parent Loop BB22_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$5, -8(%rbp)
	jge	LBB22_6
## %bb.4:                               ##   in Loop: Header=BB22_3 Depth=2
	movslq	-4(%rbp), %rcx
	movq	_adjMatrix@GOTPCREL(%rip), %rax
	imulq	$20, %rcx, %rcx
	addq	%rcx, %rax
	movslq	-8(%rbp), %rcx
	movl	$0, (%rax,%rcx,4)
## %bb.5:                               ##   in Loop: Header=BB22_3 Depth=2
	movl	-8(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	LBB22_3
LBB22_6:                                ##   in Loop: Header=BB22_1 Depth=1
	jmp	LBB22_7
LBB22_7:                                ##   in Loop: Header=BB22_1 Depth=1
	movl	-4(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -4(%rbp)
	jmp	LBB22_1
LBB22_8:
	callq	_addVertex
	callq	_addVertex
	callq	_addVertex
	callq	_addVertex
	callq	_addVertex
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_addEdge_DFS
	xorl	%edi, %edi
	movl	$2, %esi
	callq	_addEdge_DFS
	xorl	%edi, %edi
	movl	$3, %esi
	callq	_addEdge_DFS
	movl	$1, %edi
	movl	$4, %esi
	callq	_addEdge_DFS
	movl	$2, %edi
	movl	$4, %esi
	callq	_addEdge_DFS
	movl	$3, %edi
	movl	$4, %esi
	callq	_addEdge_DFS
	callq	_depthFirstSearch
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_towers                         ## -- Begin function towers
	.p2align	4, 0x90
_towers:                                ## @towers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movb	%cl, %al
	movb	%dl, %cl
	movb	%sil, %dl
	movl	%edi, -8(%rbp)
	movb	%dl, -9(%rbp)
	movb	%cl, -10(%rbp)
	movb	%al, -11(%rbp)
	cmpl	$1, -8(%rbp)
	jne	LBB23_2
## %bb.1:
	movl	$0, -4(%rbp)
	jmp	LBB23_3
LBB23_2:
	movl	-8(%rbp), %edi
	subl	$1, %edi
	movb	-9(%rbp), %cl
	movb	-11(%rbp), %al
	movsbl	%cl, %esi
	movsbl	%al, %edx
	movsbl	-10(%rbp), %ecx
	callq	_towers
	movl	-8(%rbp), %edi
	subl	$1, %edi
	movb	-11(%rbp), %cl
	movb	-10(%rbp), %al
	movsbl	%cl, %esi
	movsbl	%al, %edx
	movsbl	-9(%rbp), %ecx
	callq	_towers
	movl	$0, -4(%rbp)
LBB23_3:
	movl	-4(%rbp), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_towers_test                    ## -- Begin function towers_test
	.p2align	4, 0x90
_towers_test:                           ## @towers_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$5, %edi
	movl	$65, %esi
	movl	$67, %edx
	movl	$66, %ecx
	callq	_towers
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	callq	_bfs_test
	callq	_link_list
	callq	_DFS_test
	callq	_towers_test
	callq	_libmin_success
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Queue is Full!!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Queue is empty\n"

L_.str.2:                               ## @.str.2
	.asciz	"Resetting queue...\n"

L_.str.3:                               ## @.str.3
	.asciz	"Queue contains: "

L_.str.4:                               ## @.str.4
	.asciz	"%d "

L_.str.5:                               ## @.str.5
	.asciz	"\n"

L_.str.6:                               ## @.str.6
	.asciz	"Visited %d\n"

	.section	__TEXT,__const
	.p2align	4                               ## @__const.link_list.arr
l___const.link_list.arr:
	.long	12                              ## 0xc
	.long	56                              ## 0x38
	.long	2                               ## 0x2
	.long	11                              ## 0xb
	.long	1                               ## 0x1
	.long	90                              ## 0x5a

	.section	__DATA,__data
	.globl	_top                            ## @top
	.p2align	2
_top:
	.long	4294967295                      ## 0xffffffff

	.globl	_vertexCount                    ## @vertexCount
.zerofill __DATA,__common,_vertexCount,4,2
	.comm	_stack,20,4                     ## @stack
	.comm	_lstVertices,40,4               ## @lstVertices
	.comm	_adjMatrix,100,4                ## @adjMatrix
.subsections_via_symbols


ARM64 assembly:
	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_createNode                     ; -- Begin function createNode
	.p2align	2
_createNode:                            ; @createNode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w0, [x29, #-4]
	mov	x0, #16
	bl	_libmin_malloc
	str	x0, [sp]
	ldur	w8, [x29, #-4]
	ldr	x9, [sp]
	str	w8, [x9]
	ldr	x8, [sp]
                                        ; kill: def $x9 killed $xzr
	str	xzr, [x8, #8]
	ldr	x0, [sp]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_createGraph                    ; -- Begin function createGraph
	.p2align	2
_createGraph:                           ; @createGraph
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w0, [x29, #-4]
	mov	x0, #24
	bl	_libmin_malloc
	str	x0, [sp]
	ldur	w8, [x29, #-4]
	ldr	x9, [sp]
	str	w8, [x9]
	ldursw	x8, [x29, #-4]
	lsl	x0, x8, #3
	bl	_libmin_malloc
	ldr	x8, [sp]
	str	x0, [x8, #8]
	ldursw	x8, [x29, #-4]
	lsl	x0, x8, #2
	bl	_libmin_malloc
	ldr	x8, [sp]
	str	x0, [x8, #16]
	str	wzr, [sp, #8]
	b	LBB1_1
LBB1_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #8]
	ldur	w9, [x29, #-4]
	subs	w8, w8, w9
	cset	w8, ge
	tbnz	w8, #0, LBB1_4
	b	LBB1_2
LBB1_2:                                 ;   in Loop: Header=BB1_1 Depth=1
	ldr	x8, [sp]
	ldr	x9, [x8, #8]
	ldrsw	x10, [sp, #8]
	mov	x8, #0
	str	x8, [x9, x10, lsl #3]
	ldr	x8, [sp]
	ldr	x9, [x8, #16]
	ldrsw	x10, [sp, #8]
	mov	w8, #0
	str	w8, [x9, x10, lsl #2]
	b	LBB1_3
LBB1_3:                                 ;   in Loop: Header=BB1_1 Depth=1
	ldr	w8, [sp, #8]
	add	w8, w8, #1
	str	w8, [sp, #8]
	b	LBB1_1
LBB1_4:
	ldr	x0, [sp]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_addEdge                        ; -- Begin function addEdge
	.p2align	2
_addEdge:                               ; @addEdge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	x0, [x29, #-8]
	stur	w1, [x29, #-12]
	str	w2, [sp, #16]
	ldr	w0, [sp, #16]
	bl	_createNode
	str	x0, [sp, #8]
	ldur	x8, [x29, #-8]
	ldr	x8, [x8, #8]
	ldursw	x9, [x29, #-12]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [sp, #8]
	str	x8, [x9, #8]
	ldr	x8, [sp, #8]
	ldur	x9, [x29, #-8]
	ldr	x9, [x9, #8]
	ldursw	x10, [x29, #-12]
	str	x8, [x9, x10, lsl #3]
	ldur	w0, [x29, #-12]
	bl	_createNode
	str	x0, [sp, #8]
	ldur	x8, [x29, #-8]
	ldr	x8, [x8, #8]
	ldrsw	x9, [sp, #16]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [sp, #8]
	str	x8, [x9, #8]
	ldr	x8, [sp, #8]
	ldur	x9, [x29, #-8]
	ldr	x9, [x9, #8]
	ldrsw	x10, [sp, #16]
	str	x8, [x9, x10, lsl #3]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_createQueue                    ; -- Begin function createQueue
	.p2align	2
_createQueue:                           ; @createQueue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x0, #168
	bl	_libmin_malloc
	str	x0, [sp, #8]
	ldr	x9, [sp, #8]
	mov	w8, #-1
	str	w8, [x9, #160]
	ldr	x9, [sp, #8]
	str	w8, [x9, #164]
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_isEmpty                        ; -- Begin function isEmpty
	.p2align	2
_isEmpty:                               ; @isEmpty
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
	str	x0, [sp]
	ldr	x8, [sp]
	ldr	w8, [x8, #164]
	adds	w8, w8, #1
	cset	w8, ne
	tbnz	w8, #0, LBB4_2
	b	LBB4_1
LBB4_1:
	mov	w8, #1
	str	w8, [sp, #12]
	b	LBB4_3
LBB4_2:
	str	wzr, [sp, #12]
	b	LBB4_3
LBB4_3:
	ldr	w0, [sp, #12]
	add	sp, sp, #16
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_enqueue                        ; -- Begin function enqueue
	.p2align	2
_enqueue:                               ; @enqueue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	x0, [sp, #8]
	str	w1, [sp, #4]
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #164]
	subs	w8, w8, #39
	cset	w8, ne
	tbnz	w8, #0, LBB5_2
	b	LBB5_1
LBB5_1:
	adrp	x0, l_.str@PAGE
	add	x0, x0, l_.str@PAGEOFF
	bl	_libmin_printf
	b	LBB5_5
LBB5_2:
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #160]
	adds	w8, w8, #1
	cset	w8, ne
	tbnz	w8, #0, LBB5_4
	b	LBB5_3
LBB5_3:
	ldr	x8, [sp, #8]
	str	wzr, [x8, #160]
	b	LBB5_4
LBB5_4:
	ldr	x9, [sp, #8]
	ldr	w8, [x9, #164]
	add	w8, w8, #1
	str	w8, [x9, #164]
	ldr	w8, [sp, #4]
	ldr	x9, [sp, #8]
	ldr	x10, [sp, #8]
	ldrsw	x10, [x10, #164]
	str	w8, [x9, x10, lsl #2]
	b	LBB5_5
LBB5_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_dequeue                        ; -- Begin function dequeue
	.p2align	2
_dequeue:                               ; @dequeue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	x0, [sp, #8]
	ldr	x0, [sp, #8]
	bl	_isEmpty
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB6_2
	b	LBB6_1
LBB6_1:
	adrp	x0, l_.str.1@PAGE
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_libmin_printf
	mov	w8, #-1
	str	w8, [sp, #4]
	b	LBB6_5
LBB6_2:
	ldr	x8, [sp, #8]
	ldr	x9, [sp, #8]
	ldrsw	x9, [x9, #160]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [sp, #4]
	ldr	x9, [sp, #8]
	ldr	w8, [x9, #160]
	add	w8, w8, #1
	str	w8, [x9, #160]
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #160]
	ldr	x9, [sp, #8]
	ldr	w9, [x9, #164]
	subs	w8, w8, w9
	cset	w8, le
	tbnz	w8, #0, LBB6_4
	b	LBB6_3
LBB6_3:
	adrp	x0, l_.str.2@PAGE
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_libmin_printf
	ldr	x9, [sp, #8]
	mov	w8, #-1
	str	w8, [x9, #164]
	ldr	x9, [sp, #8]
	str	w8, [x9, #160]
	b	LBB6_4
LBB6_4:
	b	LBB6_5
LBB6_5:
	ldr	w0, [sp, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_printQueue                     ; -- Begin function printQueue
	.p2align	2
_printQueue:                            ; @printQueue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	x0, [x29, #-8]
	ldur	x8, [x29, #-8]
	ldr	w8, [x8, #160]
	stur	w8, [x29, #-12]
	ldur	x0, [x29, #-8]
	bl	_isEmpty
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_2
	b	LBB7_1
LBB7_1:
	adrp	x0, l_.str.1@PAGE
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_libmin_printf
	b	LBB7_7
LBB7_2:
	adrp	x0, l_.str.3@PAGE
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_libmin_printf
	ldur	x8, [x29, #-8]
	ldr	w8, [x8, #160]
	stur	w8, [x29, #-12]
	b	LBB7_3
LBB7_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x29, #-12]
	ldur	x9, [x29, #-8]
	ldr	w9, [x9, #164]
	add	w9, w9, #1
	subs	w8, w8, w9
	cset	w8, ge
	tbnz	w8, #0, LBB7_6
	b	LBB7_4
LBB7_4:                                 ;   in Loop: Header=BB7_3 Depth=1
	ldur	x8, [x29, #-8]
	ldursw	x9, [x29, #-12]
	ldr	w9, [x8, x9, lsl #2]
                                        ; implicit-def: $x8
	mov	x8, x9
	mov	x9, sp
	str	x8, [x9]
	adrp	x0, l_.str.4@PAGE
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_libmin_printf
	b	LBB7_5
LBB7_5:                                 ;   in Loop: Header=BB7_3 Depth=1
	ldur	w8, [x29, #-12]
	add	w8, w8, #1
	stur	w8, [x29, #-12]
	b	LBB7_3
LBB7_6:
	adrp	x0, l_.str.5@PAGE
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_libmin_printf
	b	LBB7_7
LBB7_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_bfs                            ; -- Begin function bfs
	.p2align	2
_bfs:                                   ; @bfs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	x0, [x29, #-8]
	stur	w1, [x29, #-12]
	bl	_createQueue
	stur	x0, [x29, #-24]
	ldur	x8, [x29, #-8]
	ldr	x9, [x8, #16]
	ldursw	x10, [x29, #-12]
	mov	w8, #1
	str	w8, [x9, x10, lsl #2]
	ldur	x0, [x29, #-24]
	ldur	w1, [x29, #-12]
	bl	_enqueue
	b	LBB8_1
LBB8_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB8_3 Depth 2
	ldur	x0, [x29, #-24]
	bl	_isEmpty
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB8_8
	b	LBB8_2
LBB8_2:                                 ;   in Loop: Header=BB8_1 Depth=1
	ldur	x0, [x29, #-24]
	bl	_printQueue
	ldur	x0, [x29, #-24]
	bl	_dequeue
	stur	w0, [x29, #-28]
	ldur	w9, [x29, #-28]
                                        ; implicit-def: $x8
	mov	x8, x9
	mov	x9, sp
	str	x8, [x9]
	adrp	x0, l_.str.6@PAGE
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_libmin_printf
	ldur	x8, [x29, #-8]
	ldr	x8, [x8, #8]
	ldursw	x9, [x29, #-28]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp, #24]
	b	LBB8_3
LBB8_3:                                 ;   Parent Loop BB8_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #24]
	subs	x8, x8, #0
	cset	w8, eq
	tbnz	w8, #0, LBB8_7
	b	LBB8_4
LBB8_4:                                 ;   in Loop: Header=BB8_3 Depth=2
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	str	w8, [sp, #20]
	ldur	x8, [x29, #-8]
	ldr	x8, [x8, #16]
	ldrsw	x9, [sp, #20]
	ldr	w8, [x8, x9, lsl #2]
	subs	w8, w8, #0
	cset	w8, ne
	tbnz	w8, #0, LBB8_6
	b	LBB8_5
LBB8_5:                                 ;   in Loop: Header=BB8_3 Depth=2
	ldur	x8, [x29, #-8]
	ldr	x9, [x8, #16]
	ldrsw	x10, [sp, #20]
	mov	w8, #1
	str	w8, [x9, x10, lsl #2]
	ldur	x0, [x29, #-24]
	ldr	w1, [sp, #20]
	bl	_enqueue
	b	LBB8_6
LBB8_6:                                 ;   in Loop: Header=BB8_3 Depth=2
	ldr	x8, [sp, #24]
	ldr	x8, [x8, #8]
	str	x8, [sp, #24]
	b	LBB8_3
LBB8_7:                                 ;   in Loop: Header=BB8_1 Depth=1
	b	LBB8_1
LBB8_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_bfs_test                       ; -- Begin function bfs_test
	.p2align	2
_bfs_test:                              ; @bfs_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #6
	bl	_createGraph
	stur	x0, [x29, #-8]
	ldur	x0, [x29, #-8]
	mov	w1, #0
	stur	w1, [x29, #-12]                 ; 4-byte Folded Spill
	mov	w2, #1
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	bl	_addEdge
	ldur	w1, [x29, #-12]                 ; 4-byte Folded Reload
	ldur	x0, [x29, #-8]
	mov	w2, #2
	str	w2, [sp, #8]                    ; 4-byte Folded Spill
	bl	_addEdge
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	ldur	x0, [x29, #-8]
	bl	_addEdge
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	ldur	x0, [x29, #-8]
	mov	w2, #4
	str	w2, [sp, #16]                   ; 4-byte Folded Spill
	bl	_addEdge
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	ldur	x0, [x29, #-8]
	mov	w2, #3
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	bl	_addEdge
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	ldur	x0, [x29, #-8]
	bl	_addEdge
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	ldur	x0, [x29, #-8]
	bl	_addEdge
	ldur	w1, [x29, #-12]                 ; 4-byte Folded Reload
	ldur	x0, [x29, #-8]
	bl	_bfs
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_insertAtTheBegin               ; -- Begin function insertAtTheBegin
	.p2align	2
_insertAtTheBegin:                      ; @insertAtTheBegin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	x0, [x29, #-8]
	stur	w1, [x29, #-12]
	mov	x0, #16
	bl	_libmin_malloc
	str	x0, [sp, #8]
	ldur	w8, [x29, #-12]
	ldr	x9, [sp, #8]
	str	w8, [x9]
	ldur	x8, [x29, #-8]
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	str	x8, [x9, #8]
	ldr	x8, [sp, #8]
	ldur	x9, [x29, #-8]
	str	x8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_swap                           ; -- Begin function swap
	.p2align	2
_swap:                                  ; @swap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	str	x0, [sp, #24]
	str	x1, [sp, #16]
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [sp, #16]
	ldr	w8, [x8]
	ldr	x9, [sp, #24]
	str	w8, [x9]
	ldr	w8, [sp, #12]
	ldr	x9, [sp, #16]
	str	w8, [x9]
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_bubbleSort                     ; -- Begin function bubbleSort
	.p2align	2
_bubbleSort:                            ; @bubbleSort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	x0, [x29, #-8]
                                        ; kill: def $x8 killed $xzr
	str	xzr, [sp]
	ldur	x8, [x29, #-8]
	subs	x8, x8, #0
	cset	w8, ne
	tbnz	w8, #0, LBB12_2
	b	LBB12_1
LBB12_1:
	b	LBB12_10
LBB12_2:
	b	LBB12_3
LBB12_3:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB12_4 Depth 2
	stur	wzr, [x29, #-12]
	ldur	x8, [x29, #-8]
	str	x8, [sp, #8]
	b	LBB12_4
LBB12_4:                                ;   Parent Loop BB12_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [sp]
	subs	x8, x8, x9
	cset	w8, eq
	tbnz	w8, #0, LBB12_8
	b	LBB12_5
LBB12_5:                                ;   in Loop: Header=BB12_4 Depth=2
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	subs	w8, w8, w9
	cset	w8, le
	tbnz	w8, #0, LBB12_7
	b	LBB12_6
LBB12_6:                                ;   in Loop: Header=BB12_4 Depth=2
	ldr	x0, [sp, #8]
	ldr	x8, [sp, #8]
	ldr	x1, [x8, #8]
	bl	_swap
	mov	w8, #1
	stur	w8, [x29, #-12]
	b	LBB12_7
LBB12_7:                                ;   in Loop: Header=BB12_4 Depth=2
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	str	x8, [sp, #8]
	b	LBB12_4
LBB12_8:                                ;   in Loop: Header=BB12_3 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [sp]
	b	LBB12_9
LBB12_9:                                ;   in Loop: Header=BB12_3 Depth=1
	ldur	w8, [x29, #-12]
	subs	w8, w8, #0
	cset	w8, ne
	tbnz	w8, #0, LBB12_3
	b	LBB12_10
LBB12_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_link_list                      ; -- Begin function link_list
	.p2align	2
_link_list:                             ; @link_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	adrp	x8, ___stack_chk_guard@GOTPAGE
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	adrp	x8, l___const.link_list.arr@PAGE
	add	x8, x8, l___const.link_list.arr@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
                                        ; kill: def $x8 killed $xzr
	str	xzr, [sp]
	str	wzr, [sp, #12]
	b	LBB13_1
LBB13_1:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	subs	w8, w8, #6
	cset	w8, ge
	tbnz	w8, #0, LBB13_4
	b	LBB13_2
LBB13_2:                                ;   in Loop: Header=BB13_1 Depth=1
	ldrsw	x9, [sp, #12]
	add	x8, sp, #16
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, sp
	bl	_insertAtTheBegin
	b	LBB13_3
LBB13_3:                                ;   in Loop: Header=BB13_1 Depth=1
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	str	w8, [sp, #12]
	b	LBB13_1
LBB13_4:
	ldr	x0, [sp]
	bl	_bubbleSort
	ldur	x9, [x29, #-8]
	adrp	x8, ___stack_chk_guard@GOTPAGE
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
	ldr	x8, [x8]
	subs	x8, x8, x9
	cset	w8, eq
	tbnz	w8, #0, LBB13_6
	b	LBB13_5
LBB13_5:
	bl	___stack_chk_fail
LBB13_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_push                           ; -- Begin function push
	.p2align	2
_push:                                  ; @push
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
	str	w0, [sp, #12]
	ldr	w8, [sp, #12]
	adrp	x9, _top@PAGE
	ldr	w10, [x9, _top@PAGEOFF]
	add	w10, w10, #1
	str	w10, [x9, _top@PAGEOFF]
	adrp	x9, _stack@GOTPAGE
	ldr	x9, [x9, _stack@GOTPAGEOFF]
	str	w8, [x9, w10, sxtw #2]
	add	sp, sp, #16
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_pop                            ; -- Begin function pop
	.p2align	2
_pop:                                   ; @pop
	.cfi_startproc
; %bb.0:
	adrp	x10, _top@PAGE
	ldrsw	x9, [x10, _top@PAGEOFF]
	mov	x8, x9
	subs	w8, w8, #1
	str	w8, [x10, _top@PAGEOFF]
	adrp	x8, _stack@GOTPAGE
	ldr	x8, [x8, _stack@GOTPAGEOFF]
	ldr	w0, [x8, x9, lsl #2]
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_peek                           ; -- Begin function peek
	.p2align	2
_peek:                                  ; @peek
	.cfi_startproc
; %bb.0:
	adrp	x8, _top@PAGE
	ldrsw	x9, [x8, _top@PAGEOFF]
	adrp	x8, _stack@GOTPAGE
	ldr	x8, [x8, _stack@GOTPAGEOFF]
	ldr	w0, [x8, x9, lsl #2]
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_isStackEmpty                   ; -- Begin function isStackEmpty
	.p2align	2
_isStackEmpty:                          ; @isStackEmpty
	.cfi_startproc
; %bb.0:
	adrp	x8, _top@PAGE
	ldr	w8, [x8, _top@PAGEOFF]
	adds	w8, w8, #1
	cset	w8, eq
	and	w0, w8, #0x1
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_addVertex                      ; -- Begin function addVertex
	.p2align	2
_addVertex:                             ; @addVertex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x0, #4
	bl	_libmin_malloc
	str	x0, [sp, #8]
	ldr	x8, [sp, #8]
	str	wzr, [x8]
	ldr	x8, [sp, #8]
	adrp	x11, _vertexCount@PAGE
	ldrsw	x10, [x11, _vertexCount@PAGEOFF]
	mov	x9, x10
	add	w9, w9, #1
	str	w9, [x11, _vertexCount@PAGEOFF]
	adrp	x9, _lstVertices@GOTPAGE
	ldr	x9, [x9, _lstVertices@GOTPAGEOFF]
	str	x8, [x9, x10, lsl #3]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_addEdge_DFS                    ; -- Begin function addEdge_DFS
	.p2align	2
_addEdge_DFS:                           ; @addEdge_DFS
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
	str	w0, [sp, #12]
	str	w1, [sp, #8]
	ldrsw	x8, [sp, #12]
	mov	x11, #20
	mul	x10, x8, x11
	adrp	x9, _adjMatrix@GOTPAGE
	ldr	x9, [x9, _adjMatrix@GOTPAGEOFF]
	mov	x8, x9
	add	x10, x8, x10
	ldrsw	x12, [sp, #8]
	mov	w8, #1
	str	w8, [x10, x12, lsl #2]
	ldrsw	x10, [sp, #8]
	mul	x10, x10, x11
	add	x9, x9, x10
	ldrsw	x10, [sp, #12]
	str	w8, [x9, x10, lsl #2]
	add	sp, sp, #16
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_getAdjUnvisitedVertex          ; -- Begin function getAdjUnvisitedVertex
	.p2align	2
_getAdjUnvisitedVertex:                 ; @getAdjUnvisitedVertex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
	str	w0, [sp, #8]
	str	wzr, [sp, #4]
	b	LBB20_1
LBB20_1:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #4]
	adrp	x9, _vertexCount@PAGE
	ldr	w9, [x9, _vertexCount@PAGEOFF]
	subs	w8, w8, w9
	cset	w8, ge
	tbnz	w8, #0, LBB20_7
	b	LBB20_2
LBB20_2:                                ;   in Loop: Header=BB20_1 Depth=1
	ldrsw	x8, [sp, #8]
	mov	x9, #20
	mul	x9, x8, x9
	adrp	x8, _adjMatrix@GOTPAGE
	ldr	x8, [x8, _adjMatrix@GOTPAGEOFF]
	add	x8, x8, x9
	ldrsw	x9, [sp, #4]
	ldr	w8, [x8, x9, lsl #2]
	subs	w8, w8, #1
	cset	w8, ne
	tbnz	w8, #0, LBB20_5
	b	LBB20_3
LBB20_3:                                ;   in Loop: Header=BB20_1 Depth=1
	ldrsw	x9, [sp, #4]
	adrp	x8, _lstVertices@GOTPAGE
	ldr	x8, [x8, _lstVertices@GOTPAGEOFF]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
	subs	w8, w8, #0
	cset	w8, ne
	tbnz	w8, #0, LBB20_5
	b	LBB20_4
LBB20_4:
	ldr	w8, [sp, #4]
	str	w8, [sp, #12]
	b	LBB20_8
LBB20_5:                                ;   in Loop: Header=BB20_1 Depth=1
	b	LBB20_6
LBB20_6:                                ;   in Loop: Header=BB20_1 Depth=1
	ldr	w8, [sp, #4]
	add	w8, w8, #1
	str	w8, [sp, #4]
	b	LBB20_1
LBB20_7:
	mov	w8, #-1
	str	w8, [sp, #12]
	b	LBB20_8
LBB20_8:
	ldr	w0, [sp, #12]
	add	sp, sp, #16
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_depthFirstSearch               ; -- Begin function depthFirstSearch
	.p2align	2
_depthFirstSearch:                      ; @depthFirstSearch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	adrp	x8, _lstVertices@GOTPAGE
	ldr	x8, [x8, _lstVertices@GOTPAGEOFF]
	str	x8, [sp]                        ; 8-byte Folded Spill
	ldr	x9, [x8]
	mov	w8, #1
	str	w8, [x9]
	mov	w0, #0
	bl	_push
	b	LBB21_1
LBB21_1:                                ; =>This Inner Loop Header: Depth=1
	bl	_isStackEmpty
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB21_6
	b	LBB21_2
LBB21_2:                                ;   in Loop: Header=BB21_1 Depth=1
	bl	_peek
	bl	_getAdjUnvisitedVertex
	str	w0, [sp, #8]
	ldr	w8, [sp, #8]
	adds	w8, w8, #1
	cset	w8, ne
	tbnz	w8, #0, LBB21_4
	b	LBB21_3
LBB21_3:                                ;   in Loop: Header=BB21_1 Depth=1
	bl	_pop
	b	LBB21_5
LBB21_4:                                ;   in Loop: Header=BB21_1 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldrsw	x9, [sp, #8]
	ldr	x9, [x8, x9, lsl #3]
	mov	w8, #1
	str	w8, [x9]
	ldr	w0, [sp, #8]
	bl	_push
	b	LBB21_5
LBB21_5:                                ;   in Loop: Header=BB21_1 Depth=1
	b	LBB21_1
LBB21_6:
	stur	wzr, [x29, #-4]
	b	LBB21_7
LBB21_7:                                ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x29, #-4]
	adrp	x9, _vertexCount@PAGE
	ldr	w9, [x9, _vertexCount@PAGEOFF]
	subs	w8, w8, w9
	cset	w8, ge
	tbnz	w8, #0, LBB21_10
	b	LBB21_8
LBB21_8:                                ;   in Loop: Header=BB21_7 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldursw	x9, [x29, #-4]
	ldr	x8, [x8, x9, lsl #3]
	str	wzr, [x8]
	b	LBB21_9
LBB21_9:                                ;   in Loop: Header=BB21_7 Depth=1
	ldur	w8, [x29, #-4]
	add	w8, w8, #1
	stur	w8, [x29, #-4]
	b	LBB21_7
LBB21_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_DFS_test                       ; -- Begin function DFS_test
	.p2align	2
_DFS_test:                              ; @DFS_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	wzr, [x29, #-4]
	b	LBB22_1
LBB22_1:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB22_3 Depth 2
	ldur	w8, [x29, #-4]
	subs	w8, w8, #5
	cset	w8, ge
	tbnz	w8, #0, LBB22_8
	b	LBB22_2
LBB22_2:                                ;   in Loop: Header=BB22_1 Depth=1
	stur	wzr, [x29, #-8]
	b	LBB22_3
LBB22_3:                                ;   Parent Loop BB22_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w8, [x29, #-8]
	subs	w8, w8, #5
	cset	w8, ge
	tbnz	w8, #0, LBB22_6
	b	LBB22_4
LBB22_4:                                ;   in Loop: Header=BB22_3 Depth=2
	ldursw	x8, [x29, #-4]
	mov	x9, #20
	mul	x9, x8, x9
	adrp	x8, _adjMatrix@GOTPAGE
	ldr	x8, [x8, _adjMatrix@GOTPAGEOFF]
	add	x9, x8, x9
	ldursw	x10, [x29, #-8]
	mov	w8, #0
	str	w8, [x9, x10, lsl #2]
	b	LBB22_5
LBB22_5:                                ;   in Loop: Header=BB22_3 Depth=2
	ldur	w8, [x29, #-8]
	add	w8, w8, #1
	stur	w8, [x29, #-8]
	b	LBB22_3
LBB22_6:                                ;   in Loop: Header=BB22_1 Depth=1
	b	LBB22_7
LBB22_7:                                ;   in Loop: Header=BB22_1 Depth=1
	ldur	w8, [x29, #-4]
	add	w8, w8, #1
	stur	w8, [x29, #-4]
	b	LBB22_1
LBB22_8:
	bl	_addVertex
	bl	_addVertex
	bl	_addVertex
	bl	_addVertex
	bl	_addVertex
	mov	w0, #0
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	w1, #1
	str	w1, [sp, #8]                    ; 4-byte Folded Spill
	bl	_addEdge_DFS
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	mov	w1, #2
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	bl	_addEdge_DFS
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	mov	w1, #3
	str	w1, [sp, #16]                   ; 4-byte Folded Spill
	bl	_addEdge_DFS
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	mov	w1, #4
	stur	w1, [x29, #-12]                 ; 4-byte Folded Spill
	bl	_addEdge_DFS
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	ldur	w1, [x29, #-12]                 ; 4-byte Folded Reload
	bl	_addEdge_DFS
	ldr	w0, [sp, #16]                   ; 4-byte Folded Reload
	ldur	w1, [x29, #-12]                 ; 4-byte Folded Reload
	bl	_addEdge_DFS
	bl	_depthFirstSearch
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_towers                         ; -- Begin function towers
	.p2align	2
_towers:                                ; @towers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	w0, [sp, #8]
	strb	w1, [sp, #7]
	strb	w2, [sp, #6]
	strb	w3, [sp, #5]
	ldr	w8, [sp, #8]
	subs	w8, w8, #1
	cset	w8, ne
	tbnz	w8, #0, LBB23_2
	b	LBB23_1
LBB23_1:
	stur	wzr, [x29, #-4]
	b	LBB23_3
LBB23_2:
	ldr	w8, [sp, #8]
	subs	w0, w8, #1
	ldrsb	w1, [sp, #7]
	ldrsb	w2, [sp, #5]
	ldrsb	w3, [sp, #6]
	bl	_towers
	ldr	w8, [sp, #8]
	subs	w0, w8, #1
	ldrsb	w1, [sp, #5]
	ldrsb	w2, [sp, #6]
	ldrsb	w3, [sp, #7]
	bl	_towers
	stur	wzr, [x29, #-4]
	b	LBB23_3
LBB23_3:
	ldur	w0, [x29, #-4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_towers_test                    ; -- Begin function towers_test
	.p2align	2
_towers_test:                           ; @towers_test
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #5
	mov	w1, #65
	mov	w2, #67
	mov	w3, #66
	bl	_towers
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #0
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	stur	wzr, [x29, #-4]
	bl	_bfs_test
	bl	_link_list
	bl	_DFS_test
	bl	_towers_test
	bl	_libmin_success
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Queue is Full!!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Queue is empty\n"

l_.str.2:                               ; @.str.2
	.asciz	"Resetting queue...\n"

l_.str.3:                               ; @.str.3
	.asciz	"Queue contains: "

l_.str.4:                               ; @.str.4
	.asciz	"%d "

l_.str.5:                               ; @.str.5
	.asciz	"\n"

l_.str.6:                               ; @.str.6
	.asciz	"Visited %d\n"

	.section	__TEXT,__const
	.p2align	2                               ; @__const.link_list.arr
l___const.link_list.arr:
	.long	12                              ; 0xc
	.long	56                              ; 0x38
	.long	2                               ; 0x2
	.long	11                              ; 0xb
	.long	1                               ; 0x1
	.long	90                              ; 0x5a

	.section	__DATA,__data
	.globl	_top                            ; @top
	.p2align	2
_top:
	.long	4294967295                      ; 0xffffffff

	.globl	_vertexCount                    ; @vertexCount
.zerofill __DATA,__common,_vertexCount,4,2
	.comm	_stack,20,2                     ; @stack
	.comm	_lstVertices,40,3               ; @lstVertices
	.comm	_adjMatrix,100,2                ; @adjMatrix
.subsections_via_symbols