	.file	"22013728.c"
	.intel_syntax noprefix
	.text
	.globl	count
	.bss
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	ptr
	.align 8
	.type	ptr, @object
	.size	ptr, 8
ptr:
	.zero	8
	.globl	new_node
	.align 8
	.type	new_node, @object
	.size	new_node, 8
new_node:
	.zero	8
	.globl	root
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	prerec
	.type	prerec, @function
prerec:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L3
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	prerec
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	prerec
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	prerec, .-prerec
	.globl	inorder2
	.type	inorder2, @function
inorder2:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 832
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -824[rbp], -1
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -820[rbp], 0
	mov	DWORD PTR -824[rbp], -1
	jmp	.L5
.L8:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L6
	add	DWORD PTR -824[rbp], 1
	mov	rdx, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L5
.L6:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	jmp	.L5
.L7:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	QWORD PTR ptr[rip], rax
	sub	DWORD PTR -824[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
.L5:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -820[rbp], eax
	jl	.L8
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inorder2, .-inorder2
	.section	.rodata
.LC1:
	.string	"\n went lest"
.LC2:
	.string	"this first"
.LC3:
	.string	"second wife yeh"
	.text
	.globl	inorder
	.type	inorder, @function
inorder:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 832
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -824[rbp], -1
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -820[rbp], 0
	mov	DWORD PTR -824[rbp], -1
	jmp	.L11
.L15:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L12
	add	DWORD PTR -824[rbp], 1
	mov	rdx, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L12:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L13
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	QWORD PTR ptr[rip], rax
	sub	DWORD PTR -824[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L11
.L13:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
.L11:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -820[rbp], eax
	jl	.L15
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	inorder, .-inorder
	.globl	inrec
	.type	inrec, @function
inrec:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	inrec
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	inrec
.L19:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	inrec, .-inrec
	.globl	preorder3
	.type	preorder3, @function
preorder3:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 832
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -824[rbp], -1
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -820[rbp], 0
	mov	DWORD PTR -824[rbp], -1
	jmp	.L21
.L27:
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L22
	add	DWORD PTR -824[rbp], 1
	mov	rdx, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L21
.L22:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L23
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L21
.L23:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L21
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L21
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L25
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	sub	DWORD PTR -824[rbp], 1
	jmp	.L21
.L25:
	sub	DWORD PTR -824[rbp], 1
.L24:
	cmp	DWORD PTR -824[rbp], -1
	jne	.L26
.L21:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -820[rbp], eax
	jl	.L27
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	preorder3, .-preorder3
	.globl	preorder2
	.type	preorder2, @function
preorder2:
.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, 832
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -824[rbp], -1
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -820[rbp], 0
	jmp	.L30
.L39:
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L31
	add	DWORD PTR -824[rbp], 1
	mov	rdx, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L30
.L31:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L32
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L32
	jmp	.L33
.L36:
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L34
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	sub	DWORD PTR -824[rbp], 1
	jmp	.L35
.L34:
	sub	DWORD PTR -824[rbp], 1
.L33:
	cmp	DWORD PTR -824[rbp], -1
	jne	.L36
.L35:
	jmp	.L30
.L32:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L30
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L30
	jmp	.L37
.L38:
	add	DWORD PTR -824[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
.L37:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L30
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L38
.L30:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -820[rbp], eax
	jl	.L39
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	preorder2, .-preorder2
	.globl	preorder
	.type	preorder, @function
preorder:
.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, 832
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -824[rbp], -1
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -820[rbp], 0
	jmp	.L42
.L45:
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L43
	add	DWORD PTR -824[rbp], 1
	mov	rdx, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L42
.L43:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L44
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L44
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L42
	mov	eax, DWORD PTR -824[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	sub	DWORD PTR -824[rbp], 1
.L42:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -820[rbp], eax
	jle	.L45
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	preorder, .-preorder
	.section	.rodata
.LC4:
	.string	"\n Enter root node :"
	.align 8
.LC5:
	.string	"\n LEFT AND RIGHT NODES AVAILABLE <l/r>"
.LC6:
	.string	" %c"
.LC7:
	.string	"\n Enter to left node :"
.LC8:
	.string	"\n Enter to the right node :"
.LC9:
	.string	" %d"
.LC10:
	.string	"\n problem detected..."
	.align 8
.LC11:
	.string	"\nl for left node, r for right node"
.LC12:
	.string	"%c"
.LC13:
	.string	"\n Enter to the left node :"
	.align 8
.LC14:
	.string	"\n LEFT NODE ALREADY OCCUPIED...traverse to this node? <y/n>"
.LC15:
	.string	"moved to this left node :"
.LC16:
	.string	"\n Enter to th right node :"
	.align 8
.LC17:
	.string	"\n RIGHT NODE ALREADY OCCUPIED...traverse to this node? <y/n>"
.LC18:
	.string	"moved to right node :"
	.text
	.globl	maketree
	.type	maketree, @function
maketree:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR root[rip]
	test	rax, rax
	jne	.L48
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR new_node[rip], rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR new_node[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR new_node[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR new_node[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR new_node[rip]
	mov	QWORD PTR root[rip], rax
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	jmp	.L71
.L48:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR new_node[rip], rax
	mov	rax, QWORD PTR new_node[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR new_node[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L64
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L64
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -14[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -14[rbp]
	movsx	eax, al
	cmp	eax, 108
	je	.L51
	cmp	eax, 114
	je	.L52
	jmp	.L66
.L51:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR new_node[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	rax, QWORD PTR ptr[rip]
	mov	rdx, QWORD PTR new_node[rip]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L54
.L52:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR new_node[rip]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	rdx, QWORD PTR new_node[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	jmp	.L54
.L66:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L49
.L54:
	jmp	.L49
.L64:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -14[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -14[rbp]
	movsx	eax, al
	cmp	eax, 108
	je	.L55
	cmp	eax, 114
	je	.L56
	jmp	.L57
.L55:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L58
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	rax, QWORD PTR new_node[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	rdx, QWORD PTR new_node[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	DWORD PTR -12[rbp], 1
	jmp	.L68
.L58:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -13[rbp]
	movsx	eax, al
	cmp	eax, 110
	je	.L67
	cmp	eax, 121
	jne	.L68
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L59
.L67:
	nop
.L59:
	jmp	.L68
.L56:
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L61
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR new_node[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	rax, QWORD PTR ptr[rip]
	mov	rdx, QWORD PTR new_node[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	DWORD PTR -12[rbp], 1
	jmp	.L70
.L61:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -13[rbp]
	movsx	eax, al
	cmp	eax, 110
	je	.L69
	cmp	eax, 121
	jne	.L70
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR ptr[rip], rax
	jmp	.L62
.L69:
	nop
.L62:
	jmp	.L70
.L68:
	nop
	jmp	.L57
.L70:
	nop
.L57:
	cmp	DWORD PTR -12[rbp], 1
	jne	.L64
	jmp	.L71
.L49:
.L71:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	maketree, .-maketree
	.section	.rodata
.LC19:
	.string	"\n Enter 1 for insertion..."
.LC20:
	.string	"\nthe member length :%d"
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L77:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	je	.L73
	cmp	eax, 3
	jg	.L74
	cmp	eax, 1
	je	.L75
	cmp	eax, 2
	je	.L76
	jmp	.L74
.L75:
	mov	eax, 0
	call	maketree
	mov	eax, DWORD PTR count[rip]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L74
.L76:
	mov	eax, 0
	call	preorder3
	jmp	.L74
.L73:
	mov	eax, 0
	call	inorder2
	nop
.L74:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	jle	.L77
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L78
	call	__stack_chk_fail@PLT
.L78:
	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	"22013728.c"
	.text
	.global	count
	.bss
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.space	4
	.comm	ptr,4,4
	.comm	new_node,4,4
	.comm	root,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.text
	.align	2
	.global	prerec
	.syntax unified
	.arm
	.fpu softvfp
	.type	prerec, %function
prerec:
	@ 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]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	prerec
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	prerec
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	prerec, .-prerec
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inorder2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inorder2, %function
inorder2:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-416]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, .L12+8
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-412]
	mvn	r3, #0
	str	r3, [fp, #-416]
	b	.L7
.L10:
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L12+8
	str	r3, [r2]
	b	.L7
.L8:
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L12+8
	str	r3, [r2]
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	b	.L7
.L9:
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, .L12+8
	str	r3, [r2]
	ldr	r3, [fp, #-416]
	sub	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L12+8
	str	r3, [r2]
.L7:
	ldr	r3, .L12+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-412]
	cmp	r2, r3
	blt	.L10
	nop
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	root
	.word	ptr
	.word	.LC0
	.word	count
	.size	inorder2, .-inorder2
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012 went lest\000"
	.align	2
.LC3:
	.ascii	"this first\000"
	.align	2
.LC4:
	.ascii	"second wife yeh\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inorder
	.syntax unified
	.arm
	.fpu softvfp
	.type	inorder, %function
inorder:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-416]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, .L21+8
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-412]
	mvn	r3, #0
	str	r3, [fp, #-416]
	b	.L15
.L19:
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L21+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L21+8
	str	r3, [r2]
	ldr	r0, .L21+12
	bl	printf
	b	.L15
.L16:
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L21+16
	bl	puts
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, .L21+8
	str	r3, [r2]
	ldr	r3, [fp, #-416]
	sub	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L21+8
	str	r3, [r2]
	b	.L15
.L17:
	ldr	r0, .L21+24
	bl	puts
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L21+8
	str	r3, [r2]
	ldr	r3, .L21+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L15:
	ldr	r3, .L21+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-412]
	cmp	r2, r3
	blt	.L19
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC5
	.word	root
	.word	ptr
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	.LC4
	.word	count
	.size	inorder, .-inorder
	.align	2
	.global	inrec
	.syntax unified
	.arm
	.fpu softvfp
	.type	inrec, %function
inrec:
	@ 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]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	inrec
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L26
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	inrec
.L25:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC0
	.size	inrec, .-inrec
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	preorder3
	.syntax unified
	.arm
	.fpu softvfp
	.type	preorder3, %function
preorder3:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-416]
	ldr	r3, .L37+4
	ldr	r3, [r3]
	ldr	r2, .L37+8
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-412]
	mvn	r3, #0
	str	r3, [fp, #-416]
	b	.L29
.L35:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L37+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L37+8
	str	r3, [r2]
	b	.L29
.L30:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L37+8
	str	r3, [r2]
	b	.L29
.L31:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L29
	b	.L32
.L34:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #8]
	ldr	r2, .L37+8
	str	r3, [r2]
	ldr	r3, [fp, #-416]
	sub	r3, r3, #1
	str	r3, [fp, #-416]
	b	.L29
.L33:
	ldr	r3, [fp, #-416]
	sub	r3, r3, #1
	str	r3, [fp, #-416]
.L32:
	ldr	r3, [fp, #-416]
	cmn	r3, #1
	bne	.L34
.L29:
	ldr	r3, .L37+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-412]
	cmp	r2, r3
	blt	.L35
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC6
	.word	root
	.word	ptr
	.word	.LC0
	.word	count
	.size	preorder3, .-preorder3
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	preorder2
	.syntax unified
	.arm
	.fpu softvfp
	.type	preorder2, %function
preorder2:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-416]
	ldr	r3, .L51+4
	ldr	r3, [r3]
	ldr	r2, .L51+8
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L40
.L49:
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L51+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L51+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L51+8
	str	r3, [r2]
	b	.L40
.L41:
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L42
	b	.L43
.L46:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #8]
	ldr	r2, .L51+8
	str	r3, [r2]
	ldr	r3, [fp, #-416]
	sub	r3, r3, #1
	str	r3, [fp, #-416]
	b	.L45
.L44:
	ldr	r3, [fp, #-416]
	sub	r3, r3, #1
	str	r3, [fp, #-416]
.L43:
	ldr	r3, [fp, #-416]
	cmn	r3, #1
	bne	.L46
.L45:
	b	.L40
.L42:
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L40
	b	.L47
.L48:
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
.L47:
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L51+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L48
.L40:
	ldr	r3, .L51+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-412]
	cmp	r2, r3
	blt	.L49
	nop
	ldr	r3, .L51
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC7
	.word	root
	.word	ptr
	.word	.LC0
	.word	count
	.size	preorder2, .-preorder2
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	preorder
	.syntax unified
	.arm
	.fpu softvfp
	.type	preorder, %function
preorder:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-416]
	ldr	r3, .L59+4
	ldr	r3, [r3]
	ldr	r2, .L59+8
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L54
.L57:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L59+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	ldr	r3, .L59+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L59+8
	str	r3, [r2]
	b	.L54
.L55:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L56
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L56
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L59+8
	str	r3, [r2]
	b	.L54
.L56:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #8]
	ldr	r2, .L59+8
	str	r3, [r2]
	ldr	r3, [fp, #-416]
	sub	r3, r3, #1
	str	r3, [fp, #-416]
.L54:
	ldr	r3, .L59+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-412]
	cmp	r2, r3
	ble	.L57
	nop
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC8
	.word	root
	.word	ptr
	.word	.LC0
	.word	count
	.size	preorder, .-preorder
	.section	.rodata
	.align	2
.LC9:
	.ascii	"\012 Enter root node :\000"
	.align	2
.LC10:
	.ascii	"\012 LEFT AND RIGHT NODES AVAILABLE <l/r>\000"
	.align	2
.LC11:
	.ascii	" %c\000"
	.align	2
.LC12:
	.ascii	"\012 Enter to left node :\000"
	.align	2
.LC13:
	.ascii	"\012 Enter to the right node :\000"
	.align	2
.LC14:
	.ascii	" %d\000"
	.align	2
.LC15:
	.ascii	"\012 problem detected...\000"
	.align	2
.LC16:
	.ascii	"\012l for left node, r for right node\000"
	.align	2
.LC17:
	.ascii	"%c\000"
	.align	2
.LC18:
	.ascii	"\012 Enter to the left node :\000"
	.align	2
.LC19:
	.ascii	"\012 LEFT NODE ALREADY OCCUPIED...traverse to this "
	.ascii	"node? <y/n>\000"
	.align	2
.LC20:
	.ascii	"moved to this left node :\000"
	.align	2
.LC21:
	.ascii	"\012 Enter to th right node :\000"
	.align	2
.LC22:
	.ascii	"\012 RIGHT NODE ALREADY OCCUPIED...traverse to this"
	.ascii	" node? <y/n>\000"
	.align	2
.LC23:
	.ascii	"moved to right node :\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	maketree
	.syntax unified
	.arm
	.fpu softvfp
	.type	maketree, %function
maketree:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L86
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L86+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L62
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L86+8
	str	r2, [r3]
	ldr	r0, .L86+12
	bl	printf
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L86+16
	bl	__isoc99_scanf
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L86+8
	ldr	r3, [r3]
	ldr	r2, .L86+4
	str	r3, [r2]
	ldr	r3, .L86+4
	ldr	r3, [r3]
	ldr	r2, .L86+20
	str	r3, [r2]
	ldr	r3, .L86+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86+24
	str	r3, [r2]
	b	.L85
.L62:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L86+8
	str	r2, [r3]
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L78
	ldr	r0, .L86+28
	bl	printf
	sub	r3, fp, #14
	mov	r1, r3
	ldr	r0, .L86+32
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #108
	beq	.L65
	cmp	r3, #114
	beq	.L66
	b	.L80
.L65:
	ldr	r0, .L86+36
	bl	printf
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L86+16
	bl	__isoc99_scanf
	ldr	r3, .L86+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86+24
	str	r3, [r2]
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r2, .L86+8
	ldr	r2, [r2]
	str	r2, [r3, #4]
	b	.L68
.L66:
	ldr	r0, .L86+40
	bl	printf
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L86+44
	bl	__isoc99_scanf
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r2, .L86+8
	ldr	r2, [r2]
	str	r2, [r3, #8]
	ldr	r3, .L86+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86+24
	str	r3, [r2]
	b	.L68
.L80:
	ldr	r0, .L86+48
	bl	printf
	b	.L63
.L68:
	b	.L63
.L78:
	ldr	r0, .L86+52
	bl	printf
	sub	r3, fp, #14
	mov	r1, r3
	ldr	r0, .L86+56
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #108
	beq	.L69
	cmp	r3, #114
	beq	.L70
	b	.L71
.L69:
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L72
	ldr	r0, .L86+60
	bl	printf
	ldr	r3, .L86+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86+24
	str	r3, [r2]
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L86+16
	bl	__isoc99_scanf
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r2, .L86+8
	ldr	r2, [r2]
	str	r2, [r3, #4]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L82
.L72:
	ldr	r0, .L86+64
	bl	printf
	sub	r3, fp, #13
	mov	r1, r3
	ldr	r0, .L86+32
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L81
	cmp	r3, #121
	bne	.L82
	ldr	r0, .L86+68
	bl	printf
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L86+20
	str	r3, [r2]
	b	.L73
.L81:
	nop
.L73:
	b	.L82
.L70:
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L75
	ldr	r0, .L86+72
	bl	printf
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L86+16
	bl	__isoc99_scanf
	ldr	r3, .L86+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86+24
	str	r3, [r2]
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r2, .L86+8
	ldr	r2, [r2]
	str	r2, [r3, #8]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L84
.L75:
	ldr	r0, .L86+76
	bl	printf
	sub	r3, fp, #13
	mov	r1, r3
	ldr	r0, .L86+32
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L83
	cmp	r3, #121
	bne	.L84
	ldr	r0, .L86+80
	bl	printf
	ldr	r3, .L86+20
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L86+20
	str	r3, [r2]
	b	.L76
.L83:
	nop
.L76:
	b	.L84
.L82:
	nop
	b	.L71
.L84:
	nop
.L71:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L78
	b	.L85
.L63:
.L85:
	nop
	ldr	r3, .L86
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC24
	.word	root
	.word	new_node
	.word	.LC9
	.word	.LC0
	.word	ptr
	.word	count
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	maketree, .-maketree
	.section	.rodata
	.align	2
.LC25:
	.ascii	"\012 Enter 1 for insertion...\000"
	.align	2
.LC26:
	.ascii	"\012the member length :%d\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.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
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L93:
	ldr	r0, .L95+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L95+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L89
	cmp	r3, #3
	bgt	.L90
	cmp	r3, #1
	beq	.L91
	cmp	r3, #2
	beq	.L92
	b	.L90
.L91:
	bl	maketree
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L95+16
	bl	printf
	b	.L90
.L92:
	bl	preorder3
	b	.L90
.L89:
	bl	inorder2
	nop
.L90:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L93
	nop
	ldr	r3, .L95
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L94
	bl	__stack_chk_fail
.L94:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L96:
	.align	2
.L95:
	.word	.LC27
	.word	.LC25
	.word	.LC0
	.word	count
	.word	.LC26
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
