	.file	"699440.c"
	.intel_syntax noprefix
	.text
	.globl	start1
	.bss
	.align 8
	.type	start1, @object
	.size	start1, 8
start1:
	.zero	8
	.globl	start
	.align 8
	.type	start, @object
	.size	start, 8
start:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Insufficient memory"
	.align 8
.LC1:
	.string	"\nEnter student data like USN,NAME,BRANCH,PHNO,SEM:"
.LC2:
	.string	"%s%s%s%s%d"
	.text
	.globl	create_node
	.type	create_node, @function
create_node:
.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	edi, 72
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 60[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, 42[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 64[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_node, .-create_node
	.globl	insert_front
	.type	insert_front, @function
insert_front:
.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	QWORD PTR -24[rbp], rdi
	mov	eax, 0
	call	create_node
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
.L6:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insert_front, .-insert_front
	.globl	insert_end
	.type	insert_end, @function
insert_end:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, 0
	call	create_node
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	QWORD PTR -16[rbp], rax
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 64[rax]
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 64[rax], rdx
.L10:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert_end, .-insert_end
	.section	.rodata
.LC3:
	.string	"\n\nList empty"
.LC4:
	.string	"|%s|%s|%s|%s|%d|\n\n"
	.text
	.globl	delete_front
	.type	delete_front, @function
delete_front:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L15
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 60[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 42[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9d, esi
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L16:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	delete_front, .-delete_front
	.section	.rodata
.LC5:
	.string	"Deleted node is:"
.LC6:
	.string	"\n|%s|%s|%s|%s|%d|\n\n"
	.text
	.globl	delete_end
	.type	delete_end, @function
delete_end:
.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	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L19
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	test	rax, rax
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	QWORD PTR -8[rbp], rax
.L23:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	test	rax, rax
	jne	.L24
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 64[rax], 0
.L22:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 60[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 42[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9d, esi
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	delete_end, .-delete_end
	.section	.rodata
.LC7:
	.string	"\nLIST EMPTY"
.LC8:
	.string	"\nSingly linked list is:\n"
.LC9:
	.string	"\nNUMBER OF NODE IN LIST ::%d\n"
	.text
	.globl	display
	.type	display, @function
display:
.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
	cmp	QWORD PTR -24[rbp], 0
	jne	.L27
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L31
.L27:
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 60[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 42[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9d, esi
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L29:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L31:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	display, .-display
	.section	.rodata
.LC10:
	.string	"\n\nOPERATIONS ON STACK"
.LC11:
	.string	"\nLIST AS STACK\n"
	.align 8
.LC12:
	.string	"\n1:PUSH\n2:POP\n3:DISPLAY\n4:EXIT"
.LC13:
	.string	"\n\nEnter choice:"
.LC14:
	.string	"%d"
	.text
	.globl	list_stack
	.type	list_stack, @function
list_stack:
.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L38:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	je	.L33
	cmp	eax, 3
	jg	.L34
	cmp	eax, 1
	je	.L35
	cmp	eax, 2
	je	.L36
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	insert_front
	mov	QWORD PTR -24[rbp], rax
	jmp	.L37
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	delete_front
	mov	QWORD PTR -24[rbp], rax
	jmp	.L37
.L33:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	display
	jmp	.L37
.L34:
	mov	edi, 0
	call	exit@PLT
.L37:
	jmp	.L38
	.cfi_endproc
.LFE12:
	.size	list_stack, .-list_stack
	.section	.rodata
.LC15:
	.string	"color a"
	.align 8
.LC16:
	.string	"\n\nSINGLY LINKED LIST OPERATIONS"
.LC17:
	.string	"\nMENU"
	.align 8
.LC18:
	.string	"\n\n!:List creation using insert front\n2:Display and count\n3:Insert at end\n4:Delete at end\n5:List as stack"
	.align 8
.LC19:
	.string	"\nEnter how many student info you want to enter:"
.LC20:
	.string	"\nEnter info of student %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC15[rip]
	call	system@PLT
.L51:
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	ja	.L41
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L43[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L43[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L43:
	.long	.L41-.L43
	.long	.L47-.L43
	.long	.L46-.L43
	.long	.L45-.L43
	.long	.L44-.L43
	.long	.L42-.L43
	.text
.L47:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR start[rip]
	mov	rdi, rax
	call	insert_front
	mov	QWORD PTR start[rip], rax
	add	DWORD PTR -12[rbp], 1
.L48:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L49
	jmp	.L50
.L46:
	mov	rax, QWORD PTR start[rip]
	mov	rdi, rax
	call	display
	jmp	.L50
.L45:
	mov	rax, QWORD PTR start[rip]
	mov	rdi, rax
	call	insert_end
	mov	QWORD PTR start[rip], rax
	jmp	.L50
.L44:
	mov	rax, QWORD PTR start[rip]
	mov	rdi, rax
	call	delete_end
	mov	QWORD PTR start[rip], rax
	jmp	.L50
.L42:
	mov	rax, QWORD PTR start1[rip]
	mov	rdi, rax
	call	list_stack
	mov	QWORD PTR start1[rip], rax
	jmp	.L50
.L41:
	mov	edi, 0
	call	exit@PLT
.L50:
	jmp	.L51
	.cfi_endproc
.LFE13:
	.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	"699440.c"
	.text
	.global	start1
	.bss
	.align	2
	.type	start1, %object
	.size	start1, 4
start1:
	.space	4
	.global	start
	.align	2
	.type	start, %object
	.size	start, 4
start:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Insufficient memory\000"
	.align	2
.LC1:
	.ascii	"\012Enter student data like USN,NAME,BRANCH,PHNO,SE"
	.ascii	"M:\000"
	.align	2
.LC2:
	.ascii	"%s%s%s%s%d\000"
	.text
	.align	2
	.global	create_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_node, %function
create_node:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r0, #68
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L4
	bl	printf
	mov	r0, #0
	bl	exit
.L2:
	ldr	r0, .L4+4
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r0, r3, #12
	ldr	r3, [fp, #-8]
	add	ip, r3, #32
	ldr	r3, [fp, #-8]
	add	r3, r3, #42
	ldr	r2, [fp, #-8]
	add	r2, r2, #60
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #64]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	create_node, .-create_node
	.align	2
	.global	insert_front
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_front, %function
insert_front:
	@ 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]
	bl	create_node
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #64]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	insert_front, .-insert_front
	.align	2
	.global	insert_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_end, %function
insert_end:
	@ 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]
	bl	create_node
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L12
.L11:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L13
.L14:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #64]
	str	r3, [fp, #-12]
.L13:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #64]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #64]
.L12:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	insert_end, .-insert_end
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012\012List empty\000"
	.align	2
.LC4:
	.ascii	"|%s|%s|%s|%s|%d|\012\012\000"
	.text
	.align	2
	.global	delete_front
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_front, %function
delete_front:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L20
	bl	puts
	b	.L18
.L17:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #64]
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r0, r3, #12
	ldr	r3, [fp, #-8]
	add	ip, r3, #32
	ldr	r3, [fp, #-8]
	add	r3, r3, #42
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #60]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L20+4
	bl	printf
	ldr	r0, [fp, #-8]
	bl	free
.L18:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC3
	.word	.LC4
	.size	delete_front, .-delete_front
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Deleted node is:\000"
	.align	2
.LC6:
	.ascii	"\012|%s|%s|%s|%s|%d|\012\012\000"
	.text
	.align	2
	.global	delete_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_end, %function
delete_end:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L30
	bl	puts
	nop
	b	.L22
.L23:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #64]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L26
.L25:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L27
.L28:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #64]
	str	r3, [fp, #-8]
.L27:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #64]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #64]
.L26:
	ldr	r0, .L30+4
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r0, r3, #12
	ldr	r3, [fp, #-8]
	add	ip, r3, #32
	ldr	r3, [fp, #-8]
	add	r3, r3, #42
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #60]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L30+8
	bl	printf
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	.LC5
	.word	.LC6
	.size	delete_end, .-delete_end
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012LIST EMPTY\000"
	.align	2
.LC8:
	.ascii	"\012Singly linked list is:\012\000"
	.align	2
.LC9:
	.ascii	"\012NUMBER OF NODE IN LIST ::%d\012\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, #24
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L33
	ldr	r0, .L38
	bl	printf
	b	.L37
.L33:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r0, .L38+4
	bl	puts
	b	.L35
.L36:
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r0, r3, #12
	ldr	r3, [fp, #-12]
	add	ip, r3, #32
	ldr	r3, [fp, #-12]
	add	r3, r3, #42
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #60]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L38+8
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #64]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L35:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L36
	ldr	r1, [fp, #-8]
	ldr	r0, .L38+12
	bl	printf
.L37:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC7
	.word	.LC8
	.word	.LC6
	.word	.LC9
	.size	display, .-display
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012\012OPERATIONS ON STACK\000"
	.align	2
.LC11:
	.ascii	"\012LIST AS STACK\012\000"
	.align	2
.LC12:
	.ascii	"\0121:PUSH\0122:POP\0123:DISPLAY\0124:EXIT\000"
	.align	2
.LC13:
	.ascii	"\012\012Enter choice:\000"
	.align	2
.LC14:
	.ascii	"%d\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	list_stack
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_stack, %function
list_stack:
	@ 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, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L48+4
	bl	puts
.L46:
	ldr	r0, .L48+8
	bl	puts
	ldr	r0, .L48+12
	bl	puts
	ldr	r0, .L48+16
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L48+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L41
	cmp	r3, #3
	bgt	.L42
	cmp	r3, #1
	beq	.L43
	cmp	r3, #2
	beq	.L44
	b	.L42
.L43:
	ldr	r0, [fp, #-16]
	bl	insert_front
	str	r0, [fp, #-16]
	b	.L45
.L44:
	ldr	r0, [fp, #-16]
	bl	delete_front
	str	r0, [fp, #-16]
	b	.L45
.L41:
	ldr	r0, [fp, #-16]
	bl	display
	b	.L45
.L42:
	mov	r0, #0
	bl	exit
.L45:
	b	.L46
.L49:
	.align	2
.L48:
	.word	.LC15
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	list_stack, .-list_stack
	.section	.rodata
	.align	2
.LC16:
	.ascii	"color a\000"
	.align	2
.LC17:
	.ascii	"\012\012SINGLY LINKED LIST OPERATIONS\000"
	.align	2
.LC18:
	.ascii	"\012MENU\000"
	.align	2
.LC19:
	.ascii	"\012\012!:List creation using insert front\0122:Dis"
	.ascii	"play and count\0123:Insert at end\0124:Delete at en"
	.ascii	"d\0125:List as stack\000"
	.align	2
.LC20:
	.ascii	"\012Enter how many student info you want to enter:\000"
	.align	2
.LC21:
	.ascii	"\012Enter info of student %d\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L63+4
	bl	system
.L61:
	ldr	r0, .L63+8
	bl	puts
	ldr	r0, .L63+12
	bl	puts
	ldr	r0, .L63+16
	bl	printf
	ldr	r0, .L63+20
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L63+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L51
.L53:
	.word	.L57
	.word	.L56
	.word	.L55
	.word	.L54
	.word	.L52
.L57:
	ldr	r0, .L63+28
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L63+24
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L58
.L59:
	ldr	r1, [fp, #-12]
	ldr	r0, .L63+32
	bl	printf
	ldr	r3, .L63+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	insert_front
	mov	r3, r0
	ldr	r2, .L63+36
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L58:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L59
	b	.L60
.L56:
	ldr	r3, .L63+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	display
	b	.L60
.L55:
	ldr	r3, .L63+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	insert_end
	mov	r3, r0
	ldr	r2, .L63+36
	str	r3, [r2]
	b	.L60
.L54:
	ldr	r3, .L63+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	delete_end
	mov	r3, r0
	ldr	r2, .L63+36
	str	r3, [r2]
	b	.L60
.L52:
	ldr	r3, .L63+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	list_stack
	mov	r3, r0
	ldr	r2, .L63+40
	str	r3, [r2]
	b	.L60
.L51:
	mov	r0, #0
	bl	exit
.L60:
	b	.L61
.L64:
	.align	2
.L63:
	.word	.LC22
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC13
	.word	.LC14
	.word	.LC20
	.word	.LC21
	.word	start
	.word	start1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
