	.file	"150243.c"
	.intel_syntax noprefix
	.text
	.globl	tree
	.bss
	.align 4
	.type	tree, @object
	.size	tree, 4
tree:
	.zero	4
	.globl	nBuf
	.align 16
	.type	nBuf, @object
	.size	nBuf, 16
nBuf:
	.zero	16
	.globl	nTree
	.align 16
	.type	nTree, @object
	.size	nTree, 24
nTree:
	.zero	24
	.globl	Stack
	.align 32
	.type	Stack, @object
	.size	Stack, 800
Stack:
	.zero	800
	.text
	.globl	InitNode
	.type	InitNode, @function
InitNode:
.LFB6:
	.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	BYTE PTR -18[rbp], 0
	jmp	.L2
.L3:
	movsx	ebx, BYTE PTR -18[rbp]
	mov	edi, 24
	call	malloc@PLT
	mov	rcx, rax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	lea	rax, nBuf[rip]
	mov	QWORD PTR [rdx+rax], rcx
	movzx	eax, BYTE PTR -18[rbp]
	add	eax, 1
	mov	BYTE PTR -18[rbp], al
.L2:
	cmp	BYTE PTR -18[rbp], 1
	jle	.L3
	mov	BYTE PTR -17[rbp], 0
	jmp	.L4
.L5:
	movsx	eax, BYTE PTR -17[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nBuf[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR nBuf[rip+8]
	mov	QWORD PTR 8[rax], rdx
	movsx	eax, BYTE PTR -17[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nBuf[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR nBuf[rip+8]
	mov	QWORD PTR 16[rax], rdx
	movzx	eax, BYTE PTR -17[rbp]
	add	eax, 1
	mov	BYTE PTR -17[rbp], al
.L4:
	cmp	BYTE PTR -17[rbp], 1
	jle	.L5
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	InitNode, .-InitNode
	.globl	InitTree
	.type	InitTree, @function
InitTree:
.LFB7:
	.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	BYTE PTR -19[rbp], 0
	jmp	.L7
.L8:
	movsx	ebx, BYTE PTR -19[rbp]
	mov	edi, 24
	call	malloc@PLT
	mov	rcx, rax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	QWORD PTR [rdx+rax], rcx
	movzx	eax, BYTE PTR -19[rbp]
	lea	ecx, 65[rax]
	movsx	eax, BYTE PTR -19[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR -19[rbp]
	add	eax, 1
	mov	BYTE PTR -19[rbp], al
.L7:
	cmp	BYTE PTR -19[rbp], 2
	jle	.L8
	mov	rax, QWORD PTR nTree[rip]
	mov	rdx, QWORD PTR nTree[rip+8]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR nTree[rip]
	mov	rdx, QWORD PTR nTree[rip+16]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR nBuf[rip]
	mov	rdx, QWORD PTR nTree[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR nBuf[rip]
	mov	rdx, QWORD PTR nTree[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR nTree[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR nTree[rip], rax
	mov	BYTE PTR -18[rbp], 1
	jmp	.L9
.L10:
	movsx	ebx, BYTE PTR -18[rbp]
	mov	edi, 24
	call	malloc@PLT
	mov	rcx, rax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	QWORD PTR [rdx+rax], rcx
	movzx	eax, BYTE PTR -18[rbp]
	lea	ecx, 67[rax]
	movsx	eax, BYTE PTR -18[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	movsx	eax, BYTE PTR -18[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR nBuf[rip+8]
	mov	QWORD PTR 8[rax], rdx
	movsx	eax, BYTE PTR -18[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR nBuf[rip+8]
	mov	QWORD PTR 16[rax], rdx
	movzx	eax, BYTE PTR -18[rbp]
	add	eax, 1
	mov	BYTE PTR -18[rbp], al
.L9:
	cmp	BYTE PTR -18[rbp], 2
	jle	.L10
	mov	rax, QWORD PTR nTree[rip]
	mov	rdx, QWORD PTR nTree[rip+8]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR nTree[rip]
	mov	rdx, QWORD PTR nTree[rip+16]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR nBuf[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR nTree[rip], rax
	mov	BYTE PTR -17[rbp], 1
	jmp	.L11
.L12:
	movsx	ebx, BYTE PTR -17[rbp]
	mov	edi, 24
	call	malloc@PLT
	mov	rcx, rax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	QWORD PTR [rdx+rax], rcx
	movzx	eax, BYTE PTR -17[rbp]
	lea	ecx, 69[rax]
	movsx	eax, BYTE PTR -17[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	movsx	eax, BYTE PTR -17[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR nBuf[rip+8]
	mov	QWORD PTR 8[rax], rdx
	movsx	eax, BYTE PTR -17[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nTree[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR nBuf[rip+8]
	mov	QWORD PTR 16[rax], rdx
	movzx	eax, BYTE PTR -17[rbp]
	add	eax, 1
	mov	BYTE PTR -17[rbp], al
.L11:
	cmp	BYTE PTR -17[rbp], 2
	jle	.L12
	mov	rax, QWORD PTR nTree[rip]
	mov	rdx, QWORD PTR nTree[rip+8]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR nTree[rip]
	mov	rdx, QWORD PTR nTree[rip+16]
	mov	QWORD PTR 16[rax], rdx
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	InitTree, .-InitTree
	.globl	IsStackEmpty
	.type	IsStackEmpty, @function
IsStackEmpty:
.LFB8:
	.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 tree[rip]
	test	eax, eax
	jne	.L14
	mov	eax, 1
	jmp	.L15
.L14:
	mov	eax, 0
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	IsStackEmpty, .-IsStackEmpty
	.globl	Push
	.type	Push, @function
Push:
.LFB9:
	.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	eax, DWORD PTR tree[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, Stack[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR tree[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR tree[rip], edx
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	DWORD PTR tree[rip], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Push, .-Push
	.section	.rodata
.LC0:
	.string	"Stack is Empty!"
	.text
	.globl	Pop
	.type	Pop, @function
Pop:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	IsStackEmpty
	test	eax, eax
	jne	.L18
	mov	eax, DWORD PTR tree[rip]
	sub	eax, 1
	mov	DWORD PTR tree[rip], eax
	mov	eax, DWORD PTR tree[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, Stack[rip]
	mov	rax, QWORD PTR [rdx+rax]
	jmp	.L19
.L18:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
.L19:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	Pop, .-Pop
	.section	.rodata
.LC1:
	.string	"%2c -> "
	.text
	.globl	Display
	.type	Display, @function
Display:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	Display, .-Display
	.globl	Recursive_Traverse
	.type	Recursive_Traverse, @function
Recursive_Traverse:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR nBuf[rip+8]
	cmp	QWORD PTR -8[rbp], rax
	je	.L23
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	Recursive_Traverse
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	Display
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	Recursive_Traverse
.L23:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	Recursive_Traverse, .-Recursive_Traverse
	.globl	Stack_Traverse
	.type	Stack_Traverse, @function
Stack_Traverse:
.LFB13:
	.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
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	Push
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L25:
	mov	rax, QWORD PTR nBuf[rip+8]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L26
	call	IsStackEmpty
	test	eax, eax
	jne	.L31
	call	Pop
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	Display
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L25
.L31:
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	Stack_Traverse, .-Stack_Traverse
	.section	.rodata
.LC2:
	.string	"- In-Order Tree Traversal\n"
.LC3:
	.string	"[*] Method : Recursive"
.LC4:
	.string	"\n[*] Method : Stack"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	call	InitNode
	call	InitTree
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR nBuf[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	Recursive_Traverse
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR nBuf[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	Stack_Traverse
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.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	"150243.c"
	.text
	.global	tree
	.bss
	.align	2
	.type	tree, %object
	.size	tree, 4
tree:
	.space	4
	.comm	nBuf,8,4
	.comm	nTree,12,4
	.comm	Stack,400,4
	.text
	.align	2
	.global	InitNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	InitNode, %function
InitNode:
	@ 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
	mov	r3, #0
	strb	r3, [fp, #-14]
	b	.L2
.L3:
	ldrb	r4, [fp, #-14]	@ zero_extendqisi2
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L6
	str	r2, [r3, r4, lsl #2]
	ldrb	r3, [fp, #-14]
	add	r3, r3, #1
	strb	r3, [fp, #-14]
.L2:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #1
	bls	.L3
	mov	r3, #0
	strb	r3, [fp, #-13]
	b	.L4
.L5:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L6
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L6
	ldr	r2, [r2, #4]
	str	r2, [r3, #8]
	ldrb	r3, [fp, #-13]
	add	r3, r3, #1
	strb	r3, [fp, #-13]
.L4:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #1
	bls	.L5
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	nBuf
	.size	InitNode, .-InitNode
	.align	2
	.global	InitTree
	.syntax unified
	.arm
	.fpu softvfp
	.type	InitTree, %function
InitTree:
	@ 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
	mov	r3, #0
	strb	r3, [fp, #-15]
	b	.L9
.L10:
	ldrb	r4, [fp, #-15]	@ zero_extendqisi2
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15
	str	r2, [r3, r4, lsl #2]
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r2, [fp, #-15]
	add	r2, r2, #65
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [fp, #-15]
	add	r3, r3, #1
	strb	r3, [fp, #-15]
.L9:
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L10
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2, #8]
	str	r2, [r3, #8]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2]
	str	r2, [r3, #8]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L15
	str	r3, [r2]
	mov	r3, #1
	strb	r3, [fp, #-14]
	b	.L11
.L12:
	ldrb	r4, [fp, #-14]	@ zero_extendqisi2
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15
	str	r2, [r3, r4, lsl #2]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r2, [fp, #-14]
	add	r2, r2, #67
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L15+4
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L15+4
	ldr	r2, [r2, #4]
	str	r2, [r3, #8]
	ldrb	r3, [fp, #-14]
	add	r3, r3, #1
	strb	r3, [fp, #-14]
.L11:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L12
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2, #8]
	str	r2, [r3, #8]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	ldr	r2, .L15
	str	r3, [r2]
	mov	r3, #1
	strb	r3, [fp, #-13]
	b	.L13
.L14:
	ldrb	r4, [fp, #-13]	@ zero_extendqisi2
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15
	str	r2, [r3, r4, lsl #2]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r2, [fp, #-13]
	add	r2, r2, #69
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L15+4
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L15+4
	ldr	r2, [r2, #4]
	str	r2, [r3, #8]
	ldrb	r3, [fp, #-13]
	add	r3, r3, #1
	strb	r3, [fp, #-13]
.L13:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L14
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r2, [r2, #8]
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	nTree
	.word	nBuf
	.size	InitTree, .-InitTree
	.align	2
	.global	IsStackEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	IsStackEmpty, %function
IsStackEmpty:
	@ 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, .L20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	mov	r3, #1
	b	.L19
.L18:
	mov	r3, #0
.L19:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L21:
	.align	2
.L20:
	.word	tree
	.size	IsStackEmpty, .-IsStackEmpty
	.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
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L23
	ldr	r3, [r3]
	ldr	r1, .L23+4
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L23
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L23
	str	r3, [r1]
	ldr	r3, .L23+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, r2, r3
	ldr	r3, .L23
	str	r1, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L24:
	.align	2
.L23:
	.word	tree
	.word	Stack
	.word	1374389535
	.size	Push, .-Push
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Stack is Empty!\000"
	.text
	.align	2
	.global	Pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	Pop, %function
Pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	IsStackEmpty
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L28
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L28
	str	r3, [r2]
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, .L28+4
	ldr	r3, [r2, r3, lsl #2]
	b	.L27
.L26:
	ldr	r0, .L28+8
	bl	puts
	mov	r3, #0
.L27:
	mov	r0, r3
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	tree
	.word	Stack
	.word	.LC0
	.size	Pop, .-Pop
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%2c -> \000"
	.text
	.align	2
	.global	Display
	.syntax unified
	.arm
	.fpu softvfp
	.type	Display, %function
Display:
	@ 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, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L31
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC1
	.size	Display, .-Display
	.align	2
	.global	Recursive_Traverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	Recursive_Traverse, %function
Recursive_Traverse:
	@ 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, .L36
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L35
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	Recursive_Traverse
	ldr	r0, [fp, #-8]
	bl	Display
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	Recursive_Traverse
.L35:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	nBuf
	.size	Recursive_Traverse, .-Recursive_Traverse
	.align	2
	.global	Stack_Traverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	Stack_Traverse, %function
Stack_Traverse:
	@ 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]
	b	.L39
.L40:
	ldr	r0, [fp, #-8]
	bl	Push
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L39:
	ldr	r3, .L46
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L40
	bl	IsStackEmpty
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	bl	Pop
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	Display
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	b	.L39
.L45:
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	nBuf
	.size	Stack_Traverse, .-Stack_Traverse
	.section	.rodata
	.align	2
.LC2:
	.ascii	"- In-Order Tree Traversal\012\000"
	.align	2
.LC3:
	.ascii	"[*] Method : Recursive\000"
	.align	2
.LC4:
	.ascii	"\012[*] Method : Stack\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	bl	InitNode
	bl	InitTree
	ldr	r0, .L50
	bl	puts
	ldr	r0, .L50+4
	bl	puts
	ldr	r3, .L50+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	Recursive_Traverse
	ldr	r0, .L50+12
	bl	puts
	ldr	r3, .L50+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	Stack_Traverse
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC2
	.word	.LC3
	.word	nBuf
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
