	.file	"35295.c"
	.intel_syntax noprefix
	.text
	.globl	count
	.data
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.long	1
	.globl	H
	.bss
	.align 8
	.type	H, @object
	.size	H, 8
H:
	.zero	8
	.globl	Hr
	.align 8
	.type	Hr, @object
	.size	Hr, 8
Hr:
	.zero	8
	.text
	.globl	make_heap
	.type	make_heap, @function
make_heap:
.LFB6:
	.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], 0
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make_heap, .-make_heap
	.globl	create_node
	.type	create_node, @function
create_node:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	edi, 32
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create_node, .-create_node
	.globl	link
	.type	link, @function
link:
.LFB8:
	.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	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	link, .-link
	.globl	merge
	.type	merge, @function
merge:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	eax, 0
	call	make_heap
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L7
	cmp	QWORD PTR -24[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jg	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L11
.L8:
	cmp	QWORD PTR -24[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jle	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L12
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -40[rbp], rax
.L11:
	jmp	.L12
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L13
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jne	.L14
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L12
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
.L12:
	cmp	QWORD PTR -32[rbp], 0
	je	.L15
	cmp	QWORD PTR -24[rbp], 0
	jne	.L16
.L15:
	mov	rax, QWORD PTR -40[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	merge, .-merge
	.globl	unions
	.type	unions, @function
unions:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, 0
	call	make_heap
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	merge
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L20
.L19:
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L21
.L28:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jne	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jne	.L23
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jg	.L25
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	link
	jmp	.L24
.L25:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
.L27:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	link
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
.L24:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
.L21:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -8[rbp]
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	unions, .-unions
	.globl	insert
	.type	insert, @function
insert:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, 0
	call	make_heap
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unions
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	insert, .-insert
	.section	.rodata
.LC0:
	.string	"\nHEAP EMPTY"
.LC1:
	.string	"\nTHE ROOT NODES ARE:-"
.LC2:
	.string	"%d"
.LC3:
	.string	"-->"
	.text
	.globl	DISPLAY
	.type	DISPLAY, @function
DISPLAY:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L32
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L31
.L32:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L34
.L36:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L35
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L35:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L34:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L36
	mov	edi, 10
	call	putchar@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	DISPLAY, .-DISPLAY
	.globl	reverse
	.type	reverse, @function
reverse:
.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
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L38
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	reverse
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR Hr[rip], rax
.L39:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	reverse, .-reverse
	.globl	find
	.type	find, @function
find:
.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
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L41
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L42
.L41:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L43
	cmp	QWORD PTR -16[rbp], 0
	jne	.L43
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	find
	mov	QWORD PTR -16[rbp], rax
.L43:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L44
	cmp	QWORD PTR -16[rbp], 0
	jne	.L44
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	find
	mov	QWORD PTR -16[rbp], rax
.L44:
	mov	rax, QWORD PTR -16[rbp]
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	find, .-find
	.section	.rodata
.LC4:
	.string	"%d\n"
	.text
	.globl	showHeap
	.type	showHeap, @function
showHeap:
.LFB15:
	.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	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L46
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	showHeap
.L46:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L47
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L48
.L47:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L49
.L50:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L49:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, eax
	add	eax, 3
	cmp	DWORD PTR -8[rbp], eax
	jle	.L50
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L56
	mov	edi, 10
	call	putchar@PLT
	jmp	.L56
.L48:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L53
.L54:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L53:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L54
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L52
.L56:
	nop
.L52:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L57
	mov	edi, 32
	call	putchar@PLT
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	esi, edx
	mov	rdi, rax
	call	showHeap
.L57:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	showHeap, .-showHeap
	.section	.rodata
.LC5:
	.string	"\nNOTHING TO EXTRACT"
	.text
	.globl	extract_min
	.type	extract_min, @function
extract_min:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	jne	.L59
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L60
.L59:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L61
.L63:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L62
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
.L62:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
.L61:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L63
	cmp	QWORD PTR -32[rbp], 0
	jne	.L64
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L64
	mov	QWORD PTR -56[rbp], 0
	jmp	.L65
.L64:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L66
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L67
	mov	QWORD PTR -32[rbp], 0
	jmp	.L65
.L67:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], rdx
.L65:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L68
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	reverse
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR 24[rax], 0
.L68:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unions
	mov	QWORD PTR H[rip], rax
	mov	rax, QWORD PTR -24[rbp]
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	extract_min, .-extract_min
	.section	.rodata
	.align 8
.LC6:
	.string	"Stucture of binomial heap (rotated 90 degrees ccwise):\n"
.LC7:
	.string	"Heap Empty "
	.text
	.globl	print
	.type	print, @function
print:
.LFB17:
	.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
	lea	rdi, .LC6[rip]
	call	puts@PLT
	cmp	QWORD PTR -8[rbp], 0
	jne	.L70
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L69
.L70:
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	showHeap
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	print, .-print
	.section	.rodata
.LC8:
	.string	"enter no. of elements:  "
.LC9:
	.string	"enter the element:"
	.align 8
.LC10:
	.string	"\n1)INSERT \n2)EXTRACT THE MINIMUM NODE\n3)print\n4)EXIT"
	.align 8
.LC11:
	.string	"\nENTER THE ELEMENT TO BE INSERTED:"
.LC12:
	.string	"\nNOW THE HEAP IS:"
.LC13:
	.string	"\nEXTRACTING THE MINIMUM NODE"
.LC14:
	.string	"\nTHE EXTRACTED NODE IS %d"
.LC15:
	.string	"\nprinting:"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
	jmp	.L73
.L74:
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	create_node
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR H[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	insert
	mov	QWORD PTR H[rip], rax
	add	DWORD PTR -28[rbp], 1
.L73:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L74
	mov	rax, QWORD PTR H[rip]
	mov	rdi, rax
	call	DISPLAY
.L82:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 4
	je	.L75
	cmp	eax, 4
	jg	.L76
	cmp	eax, 3
	je	.L77
	cmp	eax, 3
	jg	.L76
	cmp	eax, 1
	je	.L78
	cmp	eax, 2
	je	.L79
	jmp	.L76
.L78:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	create_node
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR H[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	insert
	mov	QWORD PTR H[rip], rax
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR H[rip]
	mov	rdi, rax
	call	DISPLAY
	jmp	.L80
.L79:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR H[rip]
	mov	rdi, rax
	call	extract_min
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L81
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L81:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR H[rip]
	mov	rdi, rax
	call	DISPLAY
	jmp	.L80
.L77:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rax, QWORD PTR H[rip]
	mov	rdi, rax
	call	print
	jmp	.L80
.L75:
	mov	edi, 0
	call	exit@PLT
.L76:
	mov	edi, 0
	call	exit@PLT
.L80:
	jmp	.L82
	.cfi_endproc
.LFE18:
	.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	"35295.c"
	.text
	.global	count
	.data
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.word	1
	.global	H
	.bss
	.align	2
	.type	H, %object
	.size	H, 4
H:
	.space	4
	.global	Hr
	.align	2
	.type	Hr, %object
	.size	Hr, 4
Hr:
	.space	4
	.text
	.align	2
	.global	make_heap
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_heap, %function
make_heap:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	make_heap, .-make_heap
	.align	2
	.global	create_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_node, %function
create_node:
	@ 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]
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	create_node, .-create_node
	.align	2
	.global	link
	.syntax unified
	.arm
	.fpu softvfp
	.type	link, %function
link:
	@ 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	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	link, .-link
	.align	2
	.global	merge
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge, %function
merge:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	bl	make_heap
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bgt	.L8
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L11
.L8:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	ble	.L10
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-24]
	b	.L11
.L10:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L12
.L7:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-24]
.L11:
	b	.L12
.L16:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L13
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
	b	.L12
.L13:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L14
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	b	.L12
.L14:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
.L12:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L16
.L15:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	merge, .-merge
	.align	2
	.global	unions
	.syntax unified
	.arm
	.fpu softvfp
	.type	unions, %function
unions:
	@ 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]
	bl	make_heap
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	merge
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-8]
	b	.L20
.L19:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
	b	.L21
.L28:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L22
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L23
.L22:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L24
.L23:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L25
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	link
	b	.L24
.L25:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L27
.L26:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #16]
.L27:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	link
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
.L24:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-8]
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	unions, .-unions
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	bl	make_heap
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	unions
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012HEAP EMPTY\000"
	.align	2
.LC1:
	.ascii	"\012THE ROOT NODES ARE:-\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"-->\000"
	.text
	.align	2
	.global	DISPLAY
	.syntax unified
	.arm
	.fpu softvfp
	.type	DISPLAY, %function
DISPLAY:
	@ 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	.L32
	ldr	r0, .L37
	bl	printf
	mov	r3, #0
	b	.L31
.L32:
	ldr	r0, .L37+4
	bl	puts
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L34
.L36:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L35
	ldr	r0, .L37+12
	bl	printf
.L35:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
.L34:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L36
	mov	r0, #10
	bl	putchar
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	DISPLAY, .-DISPLAY
	.align	2
	.global	reverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	reverse, %function
reverse:
	@ 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, #16]
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	reverse
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	b	.L41
.L40:
	ldr	r2, .L42
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L41:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	Hr
	.size	reverse, .-reverse
	.align	2
	.global	find
	.syntax unified
	.arm
	.fpu softvfp
	.type	find, %function
find:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L45
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	b	.L46
.L45:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L47
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	find
	str	r0, [fp, #-12]
.L47:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	find
	str	r0, [fp, #-12]
.L48:
	ldr	r3, [fp, #-12]
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	find, .-find
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	showHeap
	.syntax unified
	.arm
	.fpu softvfp
	.type	showHeap, %function
showHeap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	showHeap
.L50:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L51
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L52
.L51:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L53
.L54:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L53:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L54
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L62
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L60
	mov	r0, #10
	bl	putchar
	b	.L60
.L52:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L57
.L58:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L57:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L58
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L62+4
	bl	printf
	b	.L56
.L60:
	nop
.L56:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L61
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	showHeap
.L61:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC2
	.word	.LC4
	.size	showHeap, .-showHeap
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012NOTHING TO EXTRACT\000"
	.text
	.align	2
	.global	extract_min
	.syntax unified
	.arm
	.fpu softvfp
	.type	extract_min, %function
extract_min:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L65
	ldr	r0, .L75
	bl	printf
	ldr	r3, [fp, #-20]
	b	.L66
.L65:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L67
.L69:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L68
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
.L68:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
.L67:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L69
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L70
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L70
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L71
.L70:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L72
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-32]
	b	.L71
.L72:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L73
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L71
.L73:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #16]
.L71:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	reverse
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	mov	r2, #0
	str	r2, [r3, #16]
.L74:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-32]
	bl	unions
	mov	r3, r0
	ldr	r2, .L75+4
	str	r3, [r2]
	ldr	r3, [fp, #-20]
.L66:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC5
	.word	H
	.size	extract_min, .-extract_min
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Stucture of binomial heap (rotated 90 degrees ccwis"
	.ascii	"e):\012\000"
	.align	2
.LC7:
	.ascii	"Heap Empty \000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ 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	r0, .L80
	bl	puts
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L78
	ldr	r0, .L80+4
	bl	printf
	b	.L77
.L78:
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	showHeap
.L77:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC6
	.word	.LC7
	.size	print, .-print
	.section	.rodata
	.align	2
.LC8:
	.ascii	"enter no. of elements:  \000"
	.align	2
.LC9:
	.ascii	"enter the element:\000"
	.align	2
.LC10:
	.ascii	"\0121)INSERT \0122)EXTRACT THE MINIMUM NODE\0123)pr"
	.ascii	"int\0124)EXIT\000"
	.align	2
.LC11:
	.ascii	"\012ENTER THE ELEMENT TO BE INSERTED:\000"
	.align	2
.LC12:
	.ascii	"\012NOW THE HEAP IS:\000"
	.align	2
.LC13:
	.ascii	"\012EXTRACTING THE MINIMUM NODE\000"
	.align	2
.LC14:
	.ascii	"\012THE EXTRACTED NODE IS %d\000"
	.align	2
.LC15:
	.ascii	"\012printing:\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L95+4
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L95+8
	bl	__isoc99_scanf
	ldr	r0, .L95+12
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L83
.L84:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L95+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	create_node
	str	r0, [fp, #-12]
	ldr	r3, .L95+16
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	insert
	mov	r3, r0
	ldr	r2, .L95+16
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L83:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L84
	ldr	r3, .L95+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	DISPLAY
.L93:
	ldr	r0, .L95+20
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L95+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L85
.L87:
	.word	.L90
	.word	.L89
	.word	.L88
	.word	.L86
.L90:
	ldr	r0, .L95+24
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L95+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	create_node
	str	r0, [fp, #-16]
	ldr	r3, .L95+16
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	insert
	mov	r3, r0
	ldr	r2, .L95+16
	str	r3, [r2]
	ldr	r0, .L95+28
	bl	puts
	ldr	r3, .L95+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	DISPLAY
	b	.L91
.L89:
	ldr	r0, .L95+32
	bl	printf
	ldr	r3, .L95+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	extract_min
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L92
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L95+36
	bl	printf
.L92:
	ldr	r0, .L95+28
	bl	puts
	ldr	r3, .L95+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	DISPLAY
	b	.L91
.L88:
	ldr	r0, .L95+40
	bl	puts
	ldr	r3, .L95+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	print
	b	.L91
.L86:
	mov	r0, #0
	bl	exit
.L85:
	mov	r0, #0
	bl	exit
.L91:
	b	.L93
.L96:
	.align	2
.L95:
	.word	.LC16
	.word	.LC8
	.word	.LC2
	.word	.LC9
	.word	H
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
