	.file	"179894.c"
	.intel_syntax noprefix
	.text
	.globl	heap
	.bss
	.align 32
	.type	heap, @object
	.size	heap, 4000
heap:
	.zero	4000
	.globl	heap_size
	.align 4
	.type	heap_size, @object
	.size	heap_size, 4
heap_size:
	.zero	4
	.globl	size
	.align 4
	.type	size, @object
	.size	size, 4
size:
	.zero	4
	.section	.rodata
.LC0:
	.string	"array contains: "
.LC1:
	.string	"%d "
	.text
	.globl	print_array
	.type	print_array, @function
print_array:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR size[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_array, .-print_array
	.globl	insert
	.type	insert, @function
insert:
.LFB1:
	.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	eax, DWORD PTR heap_size[rip]
	add	eax, 1
	mov	DWORD PTR heap_size[rip], eax
	mov	eax, DWORD PTR heap_size[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR heap_size[rip]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, heap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
.L5:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L6
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	insert, .-insert
	.section	.rodata
	.align 8
.LC2:
	.string	"Enter next elements you want to insert to the heap!:  "
.LC3:
	.string	"%i"
	.text
	.globl	inserting_elements
	.type	inserting_elements, @function
inserting_elements:
.LFB2:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 1
	jmp	.L8
.L9:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	insert
	add	DWORD PTR -12[rbp], 1
.L8:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L9
	mov	eax, 0
	call	print_array
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	inserting_elements, .-inserting_elements
	.section	.rodata
	.align 8
.LC4:
	.string	"How many elements you want to insert?"
	.text
	.globl	option_0
	.type	option_0, @function
option_0:
.LFB3:
	.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
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rsi, size[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR heap_size[rip], 0
	mov	DWORD PTR heap[rip], -2147483647
	mov	eax, DWORD PTR size[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	inserting_elements
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	option_0, .-option_0
	.globl	option_1
	.type	option_1, @function
option_1:
.LFB4:
	.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
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR size[rip]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR size[rip], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	inserting_elements
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	option_1, .-option_1
	.section	.rodata
.LC5:
	.string	"Min no is %i"
.LC6:
	.string	"broken"
	.text
	.globl	e_min
	.type	e_min, @function
e_min:
.LFB5:
	.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	eax, DWORD PTR heap[rip+4]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 2
	mov	DWORD PTR -8[rbp], 3
	mov	eax, DWORD PTR size[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR size[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, heap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR size[rip]
	sub	eax, 1
	mov	DWORD PTR size[rip], eax
	mov	eax, DWORD PTR heap_size[rip]
	sub	eax, 1
	mov	DWORD PTR heap_size[rip], eax
	jmp	.L15
.L23:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jg	.L16
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L17
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, heap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	sal	DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L15
.L17:
	mov	eax, 0
	call	print_array
	jmp	.L19
.L16:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jge	.L20
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L21
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, heap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, eax
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L15
.L21:
	mov	eax, 0
	call	print_array
	jmp	.L19
.L20:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	print_array
.L15:
	mov	eax, DWORD PTR size[rip]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L23
.L19:
	mov	eax, DWORD PTR size[rip]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L24
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L24
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, heap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L24:
	mov	eax, 0
	call	print_array
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	e_min, .-e_min
	.section	.rodata
.LC7:
	.string	"It is empty"
.LC8:
	.string	"It is not empty"
	.text
	.globl	option_3
	.type	option_3, @function
option_3:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR heap_size[rip]
	test	eax, eax
	jne	.L26
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L26:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	option_3, .-option_3
	.section	.rodata
	.align 8
.LC9:
	.string	"\nWhat do you want to do now?\n1:Insert\n2:Extract Min\n3:Is Empty\n4:Exit"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L38:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	je	.L30
	cmp	eax, 4
	jg	.L38
	cmp	eax, 3
	je	.L32
	cmp	eax, 3
	jg	.L38
	cmp	eax, 1
	je	.L33
	cmp	eax, 2
	je	.L34
	jmp	.L31
.L33:
	mov	eax, DWORD PTR size[rip]
	test	eax, eax
	jne	.L35
	mov	eax, 0
	call	option_0
	jmp	.L31
.L35:
	mov	eax, 0
	call	option_1
	jmp	.L31
.L34:
	mov	eax, 0
	call	e_min
	jmp	.L31
.L32:
	mov	eax, 0
	call	option_3
	jmp	.L31
.L30:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L39
	jmp	.L40
.L31:
	jmp	.L38
.L40:
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"179894.c"
	.text
	.comm	heap,4000,4
	.comm	heap_size,4,4
	.comm	size,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"array contains: \000"
	.align	2
.LC1:
	.ascii	"%d \000"
	.text
	.align	2
	.global	print_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_array, %function
print_array:
	@ 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	r0, .L4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, .L4+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L4+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, .L4+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	heap
	.word	.LC1
	.word	size
	.size	print_array, .-print_array
	.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
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r1, .L9+4
	ldr	r2, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L9+4
	ldr	r2, [r3, r2, lsl #2]
	ldr	r1, .L9+4
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L9+4
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L8
	ldr	r1, .L9+4
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	heap_size
	.word	heap
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Enter next elements you want to insert to the heap!"
	.ascii	":  \000"
	.align	2
.LC3:
	.ascii	"%i\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inserting_elements
	.syntax unified
	.arm
	.fpu softvfp
	.type	inserting_elements, %function
inserting_elements:
	@ 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]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L12
.L13:
	ldr	r0, .L15+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	insert
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L13
	bl	print_array
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.size	inserting_elements, .-inserting_elements
	.section	.rodata
	.align	2
.LC5:
	.ascii	"How many elements you want to insert?\000"
	.text
	.align	2
	.global	option_0
	.syntax unified
	.arm
	.fpu softvfp
	.type	option_0, %function
option_0:
	@ 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	r0, .L18
	bl	puts
	ldr	r1, .L18+4
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r3, .L18+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L18+16
	mov	r2, #-2147483647
	str	r2, [r3]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	inserting_elements
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC5
	.word	size
	.word	.LC3
	.word	heap_size
	.word	heap
	.size	option_0, .-option_0
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	option_1
	.syntax unified
	.arm
	.fpu softvfp
	.type	option_1, %function
option_1:
	@ 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, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L22+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L22+8
	bl	__isoc99_scanf
	ldr	r3, .L22+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L22+12
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	inserting_elements
	nop
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC6
	.word	.LC5
	.word	.LC3
	.word	size
	.size	option_1, .-option_1
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Min no is %i\000"
	.align	2
.LC8:
	.ascii	"broken\000"
	.text
	.align	2
	.global	e_min
	.syntax unified
	.arm
	.fpu softvfp
	.type	e_min, %function
e_min:
	@ 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, .L35
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L35+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-16]
	mov	r3, #3
	str	r3, [fp, #-12]
	ldr	r3, .L35+8
	ldr	r3, [r3]
	ldr	r2, .L35
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, .L35+8
	ldr	r3, [r3]
	ldr	r2, .L35
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L35+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L35+8
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L35+12
	str	r3, [r2]
	b	.L25
.L33:
	ldr	r2, .L35
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bgt	.L26
	ldr	r2, .L35
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L27
	ldr	r2, .L35
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L25
.L27:
	bl	print_array
	b	.L29
.L26:
	ldr	r2, .L35
	ldr	r3, [fp, #-12]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-16]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bge	.L30
	ldr	r2, .L35
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L31
	ldr	r2, .L35
	ldr	r3, [fp, #-12]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L25
.L31:
	bl	print_array
	b	.L29
.L30:
	ldr	r0, .L35+16
	bl	printf
	bl	print_array
.L25:
	ldr	r3, .L35+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L33
.L29:
	ldr	r3, .L35+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L34
	ldr	r2, .L35
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L34
	ldr	r2, .L35
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L35
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L34:
	bl	print_array
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	heap
	.word	.LC7
	.word	size
	.word	heap_size
	.word	.LC8
	.size	e_min, .-e_min
	.section	.rodata
	.align	2
.LC9:
	.ascii	"It is empty\000"
	.align	2
.LC10:
	.ascii	"It is not empty\000"
	.text
	.align	2
	.global	option_3
	.syntax unified
	.arm
	.fpu softvfp
	.type	option_3, %function
option_3:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L41
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L41+4
	bl	printf
	b	.L40
.L38:
	ldr	r0, .L41+8
	bl	printf
.L40:
	nop
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	heap_size
	.word	.LC9
	.word	.LC10
	.size	option_3, .-option_3
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012What do you want to do now?\0121:Insert\0122:Ex"
	.ascii	"tract Min\0123:Is Empty\0124:Exit\000"
	.align	2
.LC12:
	.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, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L53:
	ldr	r0, .L56+4
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L56+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L53
.L46:
	.word	.L49
	.word	.L48
	.word	.L47
	.word	.L45
.L49:
	ldr	r3, .L56+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L50
	bl	option_0
	b	.L44
.L50:
	bl	option_1
	b	.L44
.L48:
	bl	e_min
	b	.L44
.L47:
	bl	option_3
	b	.L44
.L45:
	mov	r3, #0
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	b	.L55
.L44:
	b	.L53
.L55:
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC12
	.word	.LC11
	.word	.LC3
	.word	size
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
