	.file	"516654.c"
	.intel_syntax noprefix
	.text
	.globl	adjMatrix
	.bss
	.align 32
	.type	adjMatrix, @object
	.size	adjMatrix, 400
adjMatrix:
	.zero	400
	.globl	visited
	.align 32
	.type	visited, @object
	.size	visited, 40
visited:
	.zero	40
	.globl	stack
	.align 32
	.type	stack, @object
	.size	stack, 40
stack:
	.zero	40
	.globl	stack_index
	.align 4
	.type	stack_index, @object
	.size	stack_index, 4
stack_index:
	.zero	4
	.text
	.globl	initAdjMatrix
	.type	initAdjMatrix, @function
initAdjMatrix:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, 400
	mov	esi, 0
	lea	rdi, adjMatrix[rip]
	call	memset@PLT
	mov	edx, 40
	mov	esi, 0
	lea	rdi, visited[rip]
	call	memset@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	initAdjMatrix, .-initAdjMatrix
	.section	.rodata
.LC0:
	.string	"the_stack_data/516654.c"
.LC1:
	.string	"from < NUM_NODES"
.LC2:
	.string	"to < NUM_NODES"
	.text
	.globl	makeEdge
	.type	makeEdge, @function
makeEdge:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 9
	jle	.L4
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 34
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L4:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L5
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 35
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L5:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, adjMatrix[rip]
	mov	DWORD PTR [rdx+rax], 1
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	makeEdge, .-makeEdge
	.globl	initStack
	.type	initStack, @function
initStack:
.LFB2:
	.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 stack_index[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	initStack, .-initStack
	.section	.rodata
.LC3:
	.string	"stack_index < MAX_STACK"
	.text
	.globl	push
	.type	push, @function
push:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR stack_index[rip]
	cmp	eax, 9
	jle	.L9
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 52
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L9:
	mov	eax, DWORD PTR stack_index[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR stack_index[rip], edx
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, stack[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	push, .-push
	.section	.rodata
.LC4:
	.string	"stack_index > 0"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB4:
	.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	eax, DWORD PTR stack_index[rip]
	test	eax, eax
	jg	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 63
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L12:
	mov	eax, DWORD PTR stack_index[rip]
	sub	eax, 1
	mov	DWORD PTR stack_index[rip], eax
	mov	eax, DWORD PTR stack_index[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	pop, .-pop
	.globl	empty
	.type	empty, @function
empty:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR stack_index[rip]
	test	eax, eax
	jne	.L15
	mov	eax, 1
	jmp	.L16
.L15:
	mov	eax, 0
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	empty, .-empty
	.section	.rodata
.LC5:
	.string	"%d Goal\n"
.LC6:
	.string	"%d "
.LC7:
	.string	"Goal not found."
	.text
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	push
	jmp	.L18
.L25:
	call	pop
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L19
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, visited[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L21
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, visited[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 9
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, adjMatrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L23
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	push
.L23:
	sub	DWORD PTR -8[rbp], 1
.L22:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L24
.L18:
	call	empty
	test	eax, eax
	je	.L25
	lea	rdi, .LC7[rip]
	call	puts@PLT
	nop
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dfs, .-dfs
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	initAdjMatrix
	call	initStack
	mov	esi, 2
	mov	edi, 1
	call	makeEdge
	mov	esi, 3
	mov	edi, 1
	call	makeEdge
	mov	esi, 4
	mov	edi, 1
	call	makeEdge
	mov	esi, 5
	mov	edi, 2
	call	makeEdge
	mov	esi, 5
	mov	edi, 3
	call	makeEdge
	mov	esi, 6
	mov	edi, 3
	call	makeEdge
	mov	esi, 7
	mov	edi, 4
	call	makeEdge
	mov	esi, 8
	mov	edi, 5
	call	makeEdge
	mov	esi, 9
	mov	edi, 5
	call	makeEdge
	mov	esi, 6
	mov	edi, 1
	call	dfs
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 9
__PRETTY_FUNCTION__.2:
	.string	"makeEdge"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"push"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 4
__PRETTY_FUNCTION__.0:
	.string	"pop"
	.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	"516654.c"
	.text
	.comm	adjMatrix,400,4
	.comm	visited,40,4
	.comm	stack,40,4
	.comm	stack_index,4,4
	.align	2
	.global	initAdjMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	initAdjMatrix, %function
initAdjMatrix:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r2, #400
	mov	r1, #0
	ldr	r0, .L3
	bl	memset
	mov	r2, #40
	mov	r1, #0
	ldr	r0, .L3+4
	bl	memset
	nop
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	adjMatrix
	.word	visited
	.size	initAdjMatrix, .-initAdjMatrix
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/516654.c\000"
	.align	2
.LC1:
	.ascii	"from < NUM_NODES\000"
	.align	2
.LC2:
	.ascii	"to < NUM_NODES\000"
	.text
	.align	2
	.global	makeEdge
	.syntax unified
	.arm
	.fpu softvfp
	.type	makeEdge, %function
makeEdge:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L6
	ldr	r3, .L8
	mov	r2, #34
	ldr	r1, .L8+4
	ldr	r0, .L8+8
	bl	__assert_fail
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L7
	ldr	r3, .L8
	mov	r2, #35
	ldr	r1, .L8+4
	ldr	r0, .L8+12
	bl	__assert_fail
.L7:
	ldr	r1, .L8+16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	__PRETTY_FUNCTION__.4803
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	adjMatrix
	.size	makeEdge, .-makeEdge
	.align	2
	.global	initStack
	.syntax unified
	.arm
	.fpu softvfp
	.type	initStack, %function
initStack:
	@ 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, .L12
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	stack_index
	.size	initStack, .-initStack
	.section	.rodata
	.align	2
.LC3:
	.ascii	"stack_index < MAX_STACK\000"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #9
	ble	.L15
	ldr	r3, .L17+4
	mov	r2, #52
	ldr	r1, .L17+8
	ldr	r0, .L17+12
	bl	__assert_fail
.L15:
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L17
	str	r2, [r1]
	ldr	r1, .L17+16
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	stack_index
	.word	__PRETTY_FUNCTION__.4810
	.word	.LC0
	.word	.LC3
	.word	stack
	.size	push, .-push
	.section	.rodata
	.align	2
.LC4:
	.ascii	"stack_index > 0\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ 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, .L22
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L20
	ldr	r3, .L22+4
	mov	r2, #63
	ldr	r1, .L22+8
	ldr	r0, .L22+12
	bl	__assert_fail
.L20:
	ldr	r3, .L22
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L22
	str	r3, [r2]
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r2, .L22+16
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	stack_index
	.word	__PRETTY_FUNCTION__.4815
	.word	.LC0
	.word	.LC4
	.word	stack
	.size	pop, .-pop
	.align	2
	.global	empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	empty, %function
empty:
	@ 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, .L27
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	mov	r3, #1
	b	.L26
.L25:
	mov	r3, #0
.L26:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L28:
	.align	2
.L27:
	.word	stack_index
	.size	empty, .-empty
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%d Goal\012\000"
	.align	2
.LC6:
	.ascii	"%d \000"
	.align	2
.LC7:
	.ascii	"Goal not found.\000"
	.text
	.align	2
	.global	dfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	dfs, %function
dfs:
	@ 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	r0, [fp, #-16]
	bl	push
	b	.L30
.L37:
	bl	pop
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L31
	ldr	r1, [fp, #-8]
	ldr	r0, .L38
	bl	printf
	b	.L29
.L31:
	ldr	r2, .L38+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L33
	b	.L30
.L33:
	ldr	r2, .L38+4
	ldr	r3, [fp, #-8]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r1, [fp, #-8]
	ldr	r0, .L38+8
	bl	printf
	mov	r3, #9
	str	r3, [fp, #-12]
	b	.L34
.L36:
	ldr	r1, .L38+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #1
	bne	.L35
	ldr	r0, [fp, #-12]
	bl	push
.L35:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L34:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L36
.L30:
	bl	empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r0, .L38+16
	bl	puts
	nop
.L29:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC5
	.word	visited
	.word	.LC6
	.word	adjMatrix
	.word	.LC7
	.size	dfs, .-dfs
	.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
	bl	initAdjMatrix
	bl	initStack
	mov	r1, #2
	mov	r0, #1
	bl	makeEdge
	mov	r1, #3
	mov	r0, #1
	bl	makeEdge
	mov	r1, #4
	mov	r0, #1
	bl	makeEdge
	mov	r1, #5
	mov	r0, #2
	bl	makeEdge
	mov	r1, #5
	mov	r0, #3
	bl	makeEdge
	mov	r1, #6
	mov	r0, #3
	bl	makeEdge
	mov	r1, #7
	mov	r0, #4
	bl	makeEdge
	mov	r1, #8
	mov	r0, #5
	bl	makeEdge
	mov	r1, #9
	mov	r0, #5
	bl	makeEdge
	mov	r1, #6
	mov	r0, #1
	bl	dfs
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4803, %object
	.size	__PRETTY_FUNCTION__.4803, 9
__PRETTY_FUNCTION__.4803:
	.ascii	"makeEdge\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4810, %object
	.size	__PRETTY_FUNCTION__.4810, 5
__PRETTY_FUNCTION__.4810:
	.ascii	"push\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4815, %object
	.size	__PRETTY_FUNCTION__.4815, 4
__PRETTY_FUNCTION__.4815:
	.ascii	"pop\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
