	.file	"150139568.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	e_count
	.align 4
	.type	e_count, @object
	.size	e_count, 4
e_count:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Press 1 for Adding Item to list"
	.align 8
.LC1:
	.string	"Press 2 for Deleting Item from list"
.LC2:
	.string	"Press 3 to Display list"
.LC3:
	.string	"press 4 to Exit "
.LC4:
	.string	"%d"
	.align 8
.LC5:
	.string	"Sorry I Can't Understand you !"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L8:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	je	.L2
	cmp	eax, 4
	jg	.L3
	cmp	eax, 3
	je	.L4
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L5
	cmp	eax, 2
	je	.L6
	jmp	.L3
.L5:
	mov	eax, 0
	call	add_item
	jmp	.L7
.L6:
	mov	eax, 0
	call	del_item
	jmp	.L7
.L4:
	mov	eax, 0
	call	display
	jmp	.L7
.L2:
	mov	eax, 0
	call	exit_end
	jmp	.L7
.L3:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
.L7:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	jne	.L8
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"\nGoodBye!"
	.text
	.globl	exit_end
	.type	exit_end, @function
exit_end:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	exit_end, .-exit_end
	.section	.rodata
.LC7:
	.string	"\nEnetr Item:"
.LC8:
	.string	"%s"
.LC9:
	.string	"Set priority"
	.text
	.globl	add_item
	.type	add_item, @function
add_item:
.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, 16
	mov	edi, 40
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR e_count[rip]
	add	eax, 1
	mov	DWORD PTR e_count[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], 0
	mov	edx, DWORD PTR e_count[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 20[rax], edx
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR head[rip], rax
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
.L15:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
.L17:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add_item, .-add_item
	.section	.rodata
.LC10:
	.string	"\nList is Empty !"
.LC11:
	.string	"\n%d  %s\n"
	.text
	.globl	display
	.type	display, @function
display:
.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	eax, DWORD PTR e_count[rip]
	test	eax, eax
	jne	.L19
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L18
.L19:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L21
.L22:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
.L21:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L22
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display, .-display
	.section	.rodata
.LC12:
	.string	"\nPress 1 to Display list"
	.align 8
.LC13:
	.string	"\nPress 2 to enter the Entry number"
.LC14:
	.string	"\nEnter Entry number:"
	.text
	.globl	del_item
	.type	del_item, @function
del_item:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 1
	jne	.L24
	mov	eax, 0
	call	display
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L26
.L24:
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L26
.L31:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L27
	cmp	QWORD PTR -16[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L30
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L30
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -24[rbp], rax
.L26:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L31
.L30:
	mov	eax, DWORD PTR e_count[rip]
	sub	eax, 1
	mov	DWORD PTR e_count[rip], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	del_item, .-del_item
	.globl	display_pri
	.type	display_pri, @function
display_pri:
.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	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L34
.L36:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 1
	jne	.L35
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
.L34:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L36
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	display_pri, .-display_pri
	.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	"150139568.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.global	e_count
	.align	2
	.type	e_count, %object
	.size	e_count, 4
e_count:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Press 1 for Adding Item to list\000"
	.align	2
.LC1:
	.ascii	"Press 2 for Deleting Item from list\000"
	.align	2
.LC2:
	.ascii	"Press 3 to Display list\000"
	.align	2
.LC3:
	.ascii	"press 4 to Exit \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Sorry I Can't Understand you !\000"
	.align	2
.LC6:
	.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, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L9:
	ldr	r0, .L12+4
	bl	puts
	ldr	r0, .L12+8
	bl	puts
	ldr	r0, .L12+12
	bl	puts
	ldr	r0, .L12+16
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L12+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	bl	add_item
	b	.L8
.L6:
	bl	del_item
	b	.L8
.L5:
	bl	display
	b	.L8
.L3:
	bl	exit_end
	b	.L8
.L2:
	ldr	r0, .L12+24
	bl	puts
	nop
.L8:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	bne	.L9
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012GoodBye!\000"
	.text
	.align	2
	.global	exit_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_end, %function
exit_end:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L15
	bl	printf
	nop
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC7
	.size	exit_end, .-exit_end
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012Enetr Item:\000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"Set priority\000"
	.text
	.align	2
	.global	add_item
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_item, %function
add_item:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L23
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #20]
	ldr	r0, .L23+4
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r0, .L23+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L23+16
	bl	__isoc99_scanf
	ldr	r3, .L23+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	ldr	r2, .L23+20
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L22
.L21:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-12]
.L20:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #28]
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	e_count
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC4
	.word	head
	.size	add_item, .-add_item
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012List is Empty !\000"
	.align	2
.LC12:
	.ascii	"\012%d  %s\012\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L30+4
	bl	puts
	b	.L25
.L26:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L28
.L29:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L30+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L29
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	e_count
	.word	.LC11
	.word	head
	.word	.LC12
	.size	display, .-display
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\012Press 1 to Display list\000"
	.align	2
.LC14:
	.ascii	"\012Press 2 to enter the Entry number\000"
	.align	2
.LC15:
	.ascii	"\012Enter Entry number:\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	del_item
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_item, %function
del_item:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L42+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r0, .L42+8
	bl	puts
	ldr	r0, .L42+12
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L42+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L33
	bl	display
	ldr	r0, .L42+20
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L42+16
	bl	__isoc99_scanf
	b	.L35
.L33:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L42+16
	bl	__isoc99_scanf
	b	.L35
.L40:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L36
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	ldr	r2, .L42+4
	str	r3, [r2]
	ldr	r0, [fp, #-16]
	bl	free
	b	.L39
.L37:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #28]
	ldr	r0, [fp, #-16]
	bl	free
	b	.L39
.L36:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-16]
.L35:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L40
.L39:
	ldr	r3, .L42+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L42+24
	str	r3, [r2]
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC16
	.word	head
	.word	.LC13
	.word	.LC14
	.word	.LC4
	.word	.LC15
	.word	e_count
	.size	del_item, .-del_item
	.align	2
	.global	display_pri
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_pri, %function
display_pri:
	@ 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, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L45
.L47:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	cmp	r3, #1
	bne	.L46
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L48+4
	bl	printf
	b	.L45
.L46:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-8]
.L45:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L47
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	head
	.word	.LC9
	.size	display_pri, .-display_pri
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
