	.file	"854806.c"
	.intel_syntax noprefix
	.text
	.globl	stackSize
	.section	.rodata
	.align 4
	.type	stackSize, @object
	.size	stackSize, 4
stackSize:
	.long	100
	.globl	stack
	.bss
	.align 32
	.type	stack, @object
	.size	stack, 400
stack:
	.zero	400
	.globl	top
	.data
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	-1
	.section	.rodata
.LC0:
	.string	"%d -> "
	.text
	.globl	depthFirstTraversal
	.type	depthFirstTraversal, @function
depthFirstTraversal:
.LFB0:
	.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 -88[rbp], rdi
	mov	DWORD PTR -92[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -92[rbp]
	mov	edi, eax
	call	stackPush
	jmp	.L2
.L7:
	mov	eax, 0
	call	stackPop
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], 1
.L3:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 1
	jne	.L5
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -72[rbp]
	mov	edi, eax
	call	stackPush
.L5:
	add	DWORD PTR -72[rbp], 1
.L4:
	cmp	DWORD PTR -72[rbp], 10
	jle	.L6
.L2:
	mov	eax, 0
	call	stackEmpty
	xor	eax, 1
	test	al, al
	jne	.L7
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	depthFirstTraversal, .-depthFirstTraversal
	.section	.rodata
	.align 8
.LC1:
	.string	"\nDepth first traversal from node 1"
	.text
	.globl	main
	.type	main, @function
main:
.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, 496
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -496[rbp]
	mov	eax, 0
	mov	ecx, 60
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	lea	rax, -496[rbp]
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 3
	mov	esi, 2
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 5
	mov	esi, 2
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 7
	mov	esi, 2
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 8
	mov	esi, 2
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 4
	mov	esi, 3
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 10
	mov	esi, 3
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 9
	mov	esi, 3
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 6
	mov	esi, 5
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 7
	mov	esi, 5
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 8
	mov	esi, 5
	mov	rdi, rax
	call	addEdge
	lea	rax, -496[rbp]
	mov	edx, 8
	mov	esi, 7
	mov	rdi, rax
	call	addEdge
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -496[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	depthFirstTraversal
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	addEdge
	.type	addEdge, @function
addEdge:
.LFB2:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 1
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	addEdge, .-addEdge
	.globl	stackPush
	.type	stackPush, @function
stackPush:
.LFB3:
	.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
	mov	eax, 100
	lea	edx, -1[rax]
	mov	eax, DWORD PTR top[rip]
	cmp	edx, eax
	je	.L16
	mov	eax, DWORD PTR top[rip]
	add	eax, 1
	mov	DWORD PTR top[rip], eax
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, stack[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L13
.L16:
	nop
.L13:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	stackPush, .-stackPush
	.globl	stackPop
	.type	stackPop, @function
stackPop:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	stackEmpty
	test	al, al
	je	.L18
	mov	eax, -1
	jmp	.L19
.L18:
	mov	eax, DWORD PTR top[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR top[rip], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
.L19:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	stackPop, .-stackPop
	.globl	stackEmpty
	.type	stackEmpty, @function
stackEmpty:
.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 top[rip]
	cmp	eax, -1
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	stackEmpty, .-stackEmpty
	.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	"854806.c"
	.text
	.global	stackSize
	.section	.rodata
	.align	2
	.type	stackSize, %object
	.size	stackSize, 4
stackSize:
	.word	100
	.comm	stack,400,4
	.global	top
	.data
	.align	2
	.type	top, %object
	.size	top, 4
top:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d -> \000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	depthFirstTraversal
	.syntax unified
	.arm
	.fpu softvfp
	.type	depthFirstTraversal, %function
depthFirstTraversal:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #52
	mov	r2, #44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-68]
	bl	stackPush
	b	.L2
.L7:
	bl	stackPop
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	bne	.L3
	ldr	r1, [fp, #-56]
	ldr	r0, .L9+4
	bl	printf
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-48]
.L3:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L4
.L6:
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [fp, #-60]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #1
	bne	.L5
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	bne	.L5
	ldr	r0, [fp, #-60]
	bl	stackPush
.L5:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L4:
	ldr	r3, [fp, #-60]
	cmp	r3, #10
	ble	.L6
.L2:
	bl	stackEmpty
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L7
	nop
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	depthFirstTraversal, .-depthFirstTraversal
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012Depth first traversal from node 1\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 488
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #488
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #492
	mov	r2, #484
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #492
	mov	r2, #2
	mov	r1, #1
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #4
	mov	r1, #1
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #3
	mov	r1, #2
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #5
	mov	r1, #2
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #7
	mov	r1, #2
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #8
	mov	r1, #2
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #4
	mov	r1, #3
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #10
	mov	r1, #3
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #9
	mov	r1, #3
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #6
	mov	r1, #5
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #7
	mov	r1, #5
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #8
	mov	r1, #5
	mov	r0, r3
	bl	addEdge
	sub	r3, fp, #492
	mov	r2, #8
	mov	r1, #7
	mov	r0, r3
	bl	addEdge
	ldr	r0, .L14+4
	bl	puts
	sub	r3, fp, #492
	mov	r1, #1
	mov	r0, r3
	bl	depthFirstTraversal
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	addEdge
	.syntax unified
	.arm
	.fpu softvfp
	.type	addEdge, %function
addEdge:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	mov	r1, #1
	str	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	mov	r1, #1
	str	r1, [r3, r2, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	addEdge, .-addEdge
	.align	2
	.global	stackPush
	.syntax unified
	.arm
	.fpu softvfp
	.type	stackPush, %function
stackPush:
	@ 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]
	mov	r3, #100
	sub	r2, r3, #1
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L20
	ldr	r3, .L21
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21
	str	r3, [r2]
	ldr	r3, .L21
	ldr	r3, [r3]
	ldr	r1, .L21+4
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	b	.L17
.L20:
	nop
.L17:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L22:
	.align	2
.L21:
	.word	top
	.word	stack
	.size	stackPush, .-stackPush
	.align	2
	.global	stackPop
	.syntax unified
	.arm
	.fpu softvfp
	.type	stackPop, %function
stackPop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	stackEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mvn	r3, #0
	b	.L25
.L24:
	ldr	r3, .L26
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L26
	str	r2, [r1]
	ldr	r2, .L26+4
	ldr	r3, [r2, r3, lsl #2]
.L25:
	mov	r0, r3
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	top
	.word	stack
	.size	stackPop, .-stackPop
	.align	2
	.global	stackEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	stackEmpty, %function
stackEmpty:
	@ 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, .L30
	ldr	r3, [r3]
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L31:
	.align	2
.L30:
	.word	top
	.size	stackEmpty, .-stackEmpty
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
