	.file	"624161.c"
	.intel_syntax noprefix
	.text
	.globl	root
	.bss
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.text
	.globl	insert
	.type	insert, @function
insert:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR root[rip]
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR root[rip], rax
	jmp	.L1
.L2:
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR -24[rbp], rax
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L1
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	insert, .-insert
	.section	.rodata
.LC0:
	.string	"%d "
	.text
	.globl	inOrder
	.type	inOrder, @function
inOrder:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	inOrder
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[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	inOrder
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inOrder, .-inOrder
	.globl	search
	.type	search, @function
search:
.LFB8:
	.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 -20[rbp], edi
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L11
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L12
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L13:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L11
	mov	eax, 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L15
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	search, .-search
	.globl	largest
	.type	largest, @function
largest:
.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
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	largest, .-largest
	.globl	smallest
	.type	smallest, @function
smallest:
.LFB10:
	.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
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	smallest, .-smallest
	.globl	findMin
	.type	findMin, @function
findMin:
.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]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L25
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	findMin
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	findMin, .-findMin
	.globl	findMax
	.type	findMax, @function
findMax:
.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 -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L28
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	findMax
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	findMax, .-findMax
	.globl	max
	.type	max, @function
max:
.LFB13:
	.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	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L31
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L32
.L31:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jge	.L33
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -4[rbp]
.L32:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	max, .-max
	.globl	findHeight
	.type	findHeight, @function
findHeight:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L35
	mov	eax, -1
	jmp	.L36
.L35:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	findHeight
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	findHeight
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	max
	add	eax, 1
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	findHeight, .-findHeight
	.globl	queue
	.bss
	.align 8
	.type	queue, @object
	.size	queue, 8
queue:
	.zero	8
	.section	.rodata
.LC1:
	.string	"Overflow."
	.text
	.globl	createQueue
	.type	createQueue, @function
createQueue:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 808
	call	malloc@PLT
	mov	QWORD PTR queue[rip], rax
	mov	rax, QWORD PTR queue[rip]
	test	rax, rax
	jne	.L38
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L39
.L38:
	mov	rax, QWORD PTR queue[rip]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR queue[rip]
	mov	DWORD PTR 4[rax], -1
	mov	rax, QWORD PTR queue[rip]
	add	rax, 8
	test	rax, rax
	jne	.L40
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L39
.L40:
	mov	rax, QWORD PTR queue[rip]
.L39:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	createQueue, .-createQueue
	.section	.rodata
.LC2:
	.string	"Overflow"
	.text
	.globl	enqueue
	.type	enqueue, @function
enqueue:
.LFB16:
	.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	eax, 0
	call	createQueue
	mov	rax, QWORD PTR queue[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR 4[rax]
	add	eax, 1
	cmp	edx, eax
	jne	.L42
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L41
.L42:
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L44
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, -1
	jne	.L44
	mov	rax, QWORD PTR queue[rip]
	mov	DWORD PTR 4[rax], 0
	mov	rdx, QWORD PTR queue[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR queue[rip]
	mov	rdx, QWORD PTR queue[rip]
	mov	edx, DWORD PTR [rdx]
	movsx	rdx, edx
	mov	rcx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax+rdx*8], rcx
	jmp	.L41
.L44:
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR 4[rax]
	lea	edx, 1[rax]
	mov	rcx, QWORD PTR queue[rip]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	imul	esi, eax, 100
	mov	eax, edx
	sub	eax, esi
	mov	DWORD PTR 4[rcx], eax
	mov	rax, QWORD PTR queue[rip]
	mov	rdx, QWORD PTR queue[rip]
	mov	edx, DWORD PTR 4[rdx]
	movsx	rdx, edx
	mov	rcx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax+rdx*8], rcx
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	enqueue, .-enqueue
	.section	.rodata
.LC3:
	.string	"Underflow"
	.text
	.globl	dequeue
	.type	dequeue, @function
dequeue:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L46
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L47
.L46:
	mov	rax, QWORD PTR queue[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jne	.L48
	mov	rax, QWORD PTR queue[rip]
	mov	DWORD PTR 4[rax], -1
	mov	rdx, QWORD PTR queue[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR [rdx], eax
	jmp	.L49
.L48:
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rcx, QWORD PTR queue[rip]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	imul	esi, eax, 100
	mov	eax, edx
	sub	eax, esi
	mov	DWORD PTR [rcx], eax
.L49:
	mov	rax, QWORD PTR queue[rip]
	mov	rdx, QWORD PTR queue[rip]
	mov	edx, DWORD PTR [rdx]
	add	edx, 1
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
.L47:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	dequeue, .-dequeue
	.globl	levelOrder
	.type	levelOrder, @function
levelOrder:
.LFB18:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	enqueue
	jmp	.L51
.L53:
	mov	eax, 0
	call	dequeue
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L52
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	enqueue
.L52:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L51
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	enqueue
.L51:
	mov	rax, QWORD PTR queue[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L53
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	levelOrder, .-levelOrder
	.globl	searchRecursive
	.type	searchRecursive, @function
searchRecursive:
.LFB19:
	.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	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L55
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L54
.L55:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L57
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	searchRecursive
	jmp	.L58
.L57:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	searchRecursive
.L58:
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	searchRecursive, .-searchRecursive
	.globl	lessThanN
	.type	lessThanN, @function
lessThanN:
.LFB20:
	.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	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L60
	mov	eax, -1
	jmp	.L61
.L60:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L62
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L63
.L62:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L64
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L64
.L63:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	jmp	.L61
.L64:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jg	.L65
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	lessThanN
	jmp	.L61
.L65:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	lessThanN
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	lessThanN, .-lessThanN
	.globl	FindMin
	.type	FindMin, @function
FindMin:
.LFB21:
	.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
	jmp	.L67
.L68:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L67:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L68
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	FindMin, .-FindMin
	.globl	Delete
	.type	Delete, @function
Delete:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	cmp	QWORD PTR -40[rbp], 0
	jne	.L71
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L72
.L71:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -44[rbp], eax
	jge	.L73
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -44[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	Delete
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L74
.L73:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -44[rbp], eax
	jle	.L75
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -44[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	Delete
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rdx], rax
	jmp	.L74
.L75:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L76
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L76
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -40[rbp], 0
	jmp	.L74
.L76:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L77
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L74
.L77:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L78
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L74
.L78:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	FindMin
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, edx
	mov	rdi, rax
	call	Delete
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rdx], rax
.L74:
	mov	rax, QWORD PTR -40[rbp]
.L72:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	Delete, .-Delete
	.globl	Find
	.type	Find, @function
Find:
.LFB23:
	.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	DWORD PTR -12[rbp], esi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L80
	mov	eax, 0
	jmp	.L81
.L80:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L82
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L81
.L82:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L83
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	Find
	jmp	.L81
.L83:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	Find
.L81:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	Find, .-Find
	.globl	Getsuccessor
	.type	Getsuccessor, @function
Getsuccessor:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	Find
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L85
	mov	eax, 0
	jmp	.L86
.L85:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L87
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	FindMin
	jmp	.L86
.L87:
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L88
.L90:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jge	.L89
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L88
.L89:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L88:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jne	.L90
	mov	rax, QWORD PTR -24[rbp]
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	Getsuccessor, .-Getsuccessor
	.section	.rodata
.LC4:
	.string	"Found."
.LC5:
	.string	"Not Found."
.LC6:
	.string	"Largest No is: %d\n"
.LC7:
	.string	"Smallest No is: %d\n"
.LC8:
	.string	"Height of the tree is: %d\n"
.LC9:
	.string	"Less than 26: %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 20
	call	insert
	mov	edi, 10
	call	insert
	mov	edi, 30
	call	insert
	mov	edi, 5
	call	insert
	mov	edi, 15
	call	insert
	mov	edi, 25
	call	insert
	mov	edi, 35
	call	insert
	mov	rax, QWORD PTR root[rip]
	mov	rdi, rax
	call	inOrder
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 10
	call	search
	test	rax, rax
	je	.L92
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L93
.L92:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L93:
	mov	rax, QWORD PTR root[rip]
	mov	rdi, rax
	call	largest
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR root[rip]
	mov	rdi, rax
	call	findMin
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR root[rip]
	mov	rdi, rax
	call	findHeight
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR root[rip]
	mov	esi, 29
	mov	rdi, rax
	call	lessThanN
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.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	"624161.c"
	.text
	.global	root
	.bss
	.align	2
	.type	root, %object
	.size	root, 4
root:
	.space	4
	.text
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #8]
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r2, .L7
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L1
.L2:
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	b	.L1
.L4:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	root
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d \000"
	.text
	.align	2
	.global	inOrder
	.syntax unified
	.arm
	.fpu softvfp
	.type	inOrder, %function
inOrder:
	@ 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	.L11
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	inOrder
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	inOrder
.L11:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	inOrder, .-inOrder
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ 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, #-16]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L15
.L19:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L17
.L16:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
	b	.L14
.L15:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L19
.L14:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L21:
	.align	2
.L20:
	.word	root
	.size	search, .-search
	.align	2
	.global	largest
	.syntax unified
	.arm
	.fpu softvfp
	.type	largest, %function
largest:
	@ 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]
	b	.L23
.L24:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L23:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	largest, .-largest
	.align	2
	.global	smallest
	.syntax unified
	.arm
	.fpu softvfp
	.type	smallest, %function
smallest:
	@ 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]
	b	.L27
.L28:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L27:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	smallest, .-smallest
	.align	2
	.global	findMin
	.syntax unified
	.arm
	.fpu softvfp
	.type	findMin, %function
findMin:
	@ 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]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	b	.L30
.L31:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	findMin
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	findMin, .-findMin
	.align	2
	.global	findMax
	.syntax unified
	.arm
	.fpu softvfp
	.type	findMax, %function
findMax:
	@ 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]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	b	.L33
.L34:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	findMax
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	findMax, .-findMax
	.align	2
	.global	max
	.syntax unified
	.arm
	.fpu softvfp
	.type	max, %function
max:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L37
	ldr	r3, [fp, #-8]
	b	.L38
.L37:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L39
	ldr	r3, [fp, #-12]
	b	.L38
.L39:
	ldr	r3, [fp, #-8]
.L38:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	max, .-max
	.align	2
	.global	findHeight
	.syntax unified
	.arm
	.fpu softvfp
	.type	findHeight, %function
findHeight:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L41
	mvn	r3, #0
	b	.L42
.L41:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	findHeight
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	findHeight
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	max
	mov	r3, r0
	add	r3, r3, #1
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	findHeight, .-findHeight
	.global	queue
	.bss
	.align	2
	.type	queue, %object
	.size	queue, 4
queue:
	.space	4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Overflow.\000"
	.text
	.align	2
	.global	createQueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	createQueue, %function
createQueue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #408
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L47
	str	r2, [r3]
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L47+4
	bl	puts
	mov	r3, #0
	b	.L45
.L44:
	ldr	r3, .L47
	ldr	r3, [r3]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L47
	ldr	r3, [r3]
	mvn	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L47
	ldr	r3, [r3]
	add	r3, r3, #8
	cmp	r3, #0
	bne	.L46
	ldr	r0, .L47+4
	bl	puts
	mov	r3, #0
	b	.L45
.L46:
	ldr	r3, .L47
	ldr	r3, [r3]
.L45:
	mov	r0, r3
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	queue
	.word	.LC1
	.size	createQueue, .-createQueue
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Overflow\000"
	.text
	.align	2
	.global	enqueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue, %function
enqueue:
	@ 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]
	bl	createQueue
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L50
	ldr	r0, .L53+4
	bl	puts
	b	.L49
.L50:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L52
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L52
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r2, .L53
	ldr	r2, [r2]
	ldr	r3, [r3, #4]
	str	r3, [r2]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r2, .L53
	ldr	r2, [r2]
	ldr	r2, [r2]
	add	r2, r2, #2
	ldr	r1, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	b	.L49
.L52:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	add	r1, r3, #1
	ldr	r3, .L53
	ldr	r0, [r3]
	ldr	r3, .L53+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	str	r2, [r0, #4]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r2, .L53
	ldr	r2, [r2]
	ldr	r2, [r2, #4]
	add	r2, r2, #2
	ldr	r1, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
.L49:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	queue
	.word	.LC2
	.word	1374389535
	.size	enqueue, .-enqueue
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Underflow\000"
	.text
	.align	2
	.global	dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequeue, %function
dequeue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L60
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L56
	ldr	r0, .L60+4
	bl	puts
	mov	r3, #0
	b	.L57
.L56:
	ldr	r3, .L60
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L60
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L58
	ldr	r3, .L60
	ldr	r3, [r3]
	mvn	r2, #0
	str	r2, [r3, #4]
	ldr	r2, .L60
	ldr	r2, [r2]
	ldr	r3, [r3, #4]
	str	r3, [r2]
	b	.L59
.L58:
	ldr	r3, .L60
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L60
	ldr	r0, [r3]
	ldr	r3, .L60+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	str	r2, [r0]
.L59:
	ldr	r3, .L60
	ldr	r3, [r3]
	ldr	r2, .L60
	ldr	r2, [r2]
	ldr	r2, [r2]
	add	r2, r2, #1
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
.L57:
	mov	r0, r3
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	queue
	.word	.LC3
	.word	1374389535
	.size	dequeue, .-dequeue
	.align	2
	.global	levelOrder
	.syntax unified
	.arm
	.fpu softvfp
	.type	levelOrder, %function
levelOrder:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	enqueue
	b	.L63
.L65:
	bl	dequeue
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L66
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	enqueue
.L64:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	enqueue
.L63:
	ldr	r3, .L66+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L65
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC0
	.word	queue
	.size	levelOrder, .-levelOrder
	.align	2
	.global	searchRecursive
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchRecursive, %function
searchRecursive:
	@ 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]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L69
	ldr	r3, [fp, #-8]
	b	.L68
.L69:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L71
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	searchRecursive
	b	.L72
.L71:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	searchRecursive
.L72:
.L68:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	searchRecursive, .-searchRecursive
	.align	2
	.global	lessThanN
	.syntax unified
	.arm
	.fpu softvfp
	.type	lessThanN, %function
lessThanN:
	@ 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]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L74
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L74
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L74
	mvn	r3, #0
	b	.L75
.L74:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L76
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L77
.L76:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L78
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L78
.L77:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	b	.L75
.L78:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bgt	.L79
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	lessThanN
	mov	r3, r0
	b	.L75
.L79:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	lessThanN
	mov	r3, r0
.L75:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	lessThanN, .-lessThanN
	.align	2
	.global	FindMin
	.syntax unified
	.arm
	.fpu softvfp
	.type	FindMin, %function
FindMin:
	@ 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]
	b	.L81
.L82:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L81:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	FindMin, .-FindMin
	.align	2
	.global	Delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	Delete, %function
Delete:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-24]
	b	.L86
.L85:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bge	.L87
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	Delete
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	b	.L88
.L87:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L89
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	Delete
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	b	.L88
.L89:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L90
	ldr	r0, [fp, #-24]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L88
.L90:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L91
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-8]
	bl	free
	b	.L88
.L91:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L92
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	bl	free
	b	.L88
.L92:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	FindMin
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r1, r3
	mov	r0, r2
	bl	Delete
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
.L88:
	ldr	r3, [fp, #-24]
.L86:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Delete, .-Delete
	.align	2
	.global	Find
	.syntax unified
	.arm
	.fpu softvfp
	.type	Find, %function
Find:
	@ 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, #0
	bne	.L94
	mov	r3, #0
	b	.L95
.L94:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L96
	ldr	r3, [fp, #-8]
	b	.L95
.L96:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L97
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	Find
	mov	r3, r0
	b	.L95
.L97:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	Find
	mov	r3, r0
.L95:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Find, .-Find
	.align	2
	.global	Getsuccessor
	.syntax unified
	.arm
	.fpu softvfp
	.type	Getsuccessor, %function
Getsuccessor:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	Find
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L99
	mov	r3, #0
	b	.L100
.L99:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	FindMin
	mov	r3, r0
	b	.L100
.L101:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	b	.L102
.L104:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L103
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L102
.L103:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L102:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L104
	ldr	r3, [fp, #-16]
.L100:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Getsuccessor, .-Getsuccessor
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Found.\000"
	.align	2
.LC5:
	.ascii	"Not Found.\000"
	.align	2
.LC6:
	.ascii	"Largest No is: %d\012\000"
	.align	2
.LC7:
	.ascii	"Smallest No is: %d\012\000"
	.align	2
.LC8:
	.ascii	"Height of the tree is: %d\012\000"
	.align	2
.LC9:
	.ascii	"Less than 26: %d\000"
	.text
	.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
	mov	r0, #20
	bl	insert
	mov	r0, #10
	bl	insert
	mov	r0, #30
	bl	insert
	mov	r0, #5
	bl	insert
	mov	r0, #15
	bl	insert
	mov	r0, #25
	bl	insert
	mov	r0, #35
	bl	insert
	ldr	r3, .L109
	ldr	r3, [r3]
	mov	r0, r3
	bl	inOrder
	mov	r0, #10
	bl	putchar
	mov	r0, #10
	bl	search
	mov	r3, r0
	cmp	r3, #0
	beq	.L106
	ldr	r0, .L109+4
	bl	puts
	b	.L107
.L106:
	ldr	r0, .L109+8
	bl	puts
.L107:
	ldr	r3, .L109
	ldr	r3, [r3]
	mov	r0, r3
	bl	largest
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L109+12
	bl	printf
	ldr	r3, .L109
	ldr	r3, [r3]
	mov	r0, r3
	bl	findMin
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L109+16
	bl	printf
	ldr	r3, .L109
	ldr	r3, [r3]
	mov	r0, r3
	bl	findHeight
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L109+20
	bl	printf
	ldr	r3, .L109
	ldr	r3, [r3]
	mov	r1, #29
	mov	r0, r3
	bl	lessThanN
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L109+24
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	root
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
