	.file	"26701132.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	curr
	.align 8
	.type	curr, @object
	.size	curr, 8
curr:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"\n creating list with headnode as [%d]\n"
.LC1:
	.string	"\n Node creation failed "
	.text
	.globl	create_list
	.type	create_list, @function
create_list:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR curr[rip], rax
	mov	rax, QWORD PTR curr[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR -8[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_list, .-create_list
	.section	.rodata
	.align 8
.LC2:
	.string	"\n Adding node to end of list with value [%d]\n"
	.align 8
.LC3:
	.string	"\n Adding node to beginning of list with value [%d]\n"
	.text
	.globl	add_to_list
	.type	add_to_list, @function
add_to_list:
.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	eax, esi
	mov	BYTE PTR -24[rbp], al
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	create_list
	jmp	.L6
.L5:
	cmp	BYTE PTR -24[rbp], 0
	je	.L7
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	cmp	BYTE PTR -24[rbp], 0
	je	.L10
	mov	rax, QWORD PTR curr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR curr[rip], rax
	jmp	.L11
.L10:
	mov	rdx, QWORD PTR head[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR head[rip], rax
.L11:
	mov	rax, QWORD PTR -8[rbp]
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	add_to_list, .-add_to_list
	.section	.rodata
	.align 8
.LC4:
	.string	"\n Searching the list for value [%d] \n"
	.text
	.globl	search_in_list
	.type	search_in_list, @function
search_in_list:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	mov	BYTE PTR -17[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L14
	mov	BYTE PTR -17[rbp], 1
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L13:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L16
.L15:
	cmp	BYTE PTR -17[rbp], 0
	je	.L17
	cmp	QWORD PTR -48[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L18:
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L19
.L17:
	mov	eax, 0
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	search_in_list, .-search_in_list
	.section	.rodata
	.align 8
.LC5:
	.string	"\n Deleting value [%d] from list\n"
	.text
	.globl	delete_from_list
	.type	delete_from_list, @function
delete_from_list:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	search_in_list
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L21
	mov	eax, -1
	jmp	.L26
.L21:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
.L23:
	mov	rax, QWORD PTR curr[rip]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR curr[rip], rax
	jmp	.L25
.L24:
	mov	rax, QWORD PTR head[rip]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L25
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR head[rip], rax
.L25:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -16[rbp], 0
	mov	eax, 0
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	delete_from_list, .-delete_from_list
	.section	.rodata
	.align 8
.LC6:
	.string	"\n -------Printing list Start------- "
.LC7:
	.string	"\n [%d] \n"
	.align 8
.LC8:
	.string	"\n -------Printing list End------- "
	.text
	.globl	print_list
	.type	print_list, @function
print_list:
.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, 16
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L29:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	lea	rdi, .LC8[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	print_list, .-print_list
	.section	.rodata
	.align 8
.LC9:
	.string	"\n Search [val = %d] failed, no such element found\n"
.LC10:
	.string	"\n Search passed [val = %d]\n"
	.align 8
.LC11:
	.string	"\n delete [val = %d] failed, no such element found\n"
.LC12:
	.string	"\n delete [val = %d]  passed \n"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	call	print_list
	mov	DWORD PTR -16[rbp], 5
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 1
	mov	edi, eax
	call	add_to_list
	add	DWORD PTR -16[rbp], 1
.L33:
	cmp	DWORD PTR -16[rbp], 9
	jle	.L34
	call	print_list
	mov	DWORD PTR -16[rbp], 4
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 0
	mov	edi, eax
	call	add_to_list
	sub	DWORD PTR -16[rbp], 1
.L35:
	cmp	DWORD PTR -16[rbp], 0
	jg	.L36
	call	print_list
	mov	DWORD PTR -16[rbp], 1
	jmp	.L37
.L42:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 0
	mov	edi, eax
	call	search_in_list
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L38
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L39:
	call	print_list
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	delete_from_list
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L40
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L40:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L41:
	call	print_list
	add	DWORD PTR -16[rbp], 4
.L37:
	cmp	DWORD PTR -16[rbp], 9
	jle	.L42
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"26701132.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.global	curr
	.align	2
	.type	curr, %object
	.size	curr, 4
curr:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 creating list with headnode as [%d]\012\000"
	.align	2
.LC1:
	.ascii	"\012 Node creation failed \000"
	.text
	.align	2
	.global	create_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_list, %function
create_list:
	@ 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	r1, [fp, #-16]
	ldr	r0, .L4
	bl	printf
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L4+4
	bl	puts
	mov	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r2, .L4+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L4+8
	ldr	r3, [r3]
	ldr	r2, .L4+12
	str	r3, [r2]
	ldr	r3, [fp, #-8]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	curr
	.word	head
	.size	create_list, .-create_list
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012 Adding node to end of list with value [%d]\012"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"\012 Adding node to beginning of list with value [%"
	.ascii	"d]\012\000"
	.text
	.align	2
	.global	add_to_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_to_list, %function
add_to_list:
	@ 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	r3, r1
	strb	r3, [fp, #-17]
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r0, [fp, #-16]
	bl	create_list
	mov	r3, r0
	b	.L8
.L7:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	ldr	r1, [fp, #-16]
	ldr	r0, .L14+4
	bl	printf
	b	.L10
.L9:
	ldr	r1, [fp, #-16]
	ldr	r0, .L14+8
	bl	printf
.L10:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L14+12
	bl	puts
	mov	r3, #0
	b	.L8
.L11:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L14+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L14+16
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L13
.L12:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L14
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L13:
	ldr	r3, [fp, #-8]
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	head
	.word	.LC2
	.word	.LC3
	.word	.LC1
	.word	curr
	.size	add_to_list, .-add_to_list
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012 Searching the list for value [%d] \012\000"
	.text
	.align	2
	.global	search_in_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_in_list, %function
search_in_list:
	@ 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, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-13]
	ldr	r1, [fp, #-24]
	ldr	r0, .L24+4
	bl	printf
	b	.L17
.L20:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L18
	mov	r3, #1
	strb	r3, [fp, #-13]
	b	.L19
.L18:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L20
.L19:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L22:
	ldr	r3, [fp, #-12]
	b	.L23
.L21:
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	head
	.word	.LC4
	.size	search_in_list, .-search_in_list
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012 Deleting value [%d] from list\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	delete_from_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_from_list, %function
delete_from_list:
	@ 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, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	ldr	r0, .L34+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	search_in_list
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L27
	mvn	r3, #0
	b	.L32
.L27:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
.L29:
	ldr	r3, .L34+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r2, .L34+8
	str	r3, [r2]
	b	.L31
.L30:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L31
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, .L34+12
	str	r3, [r2]
.L31:
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC6
	.word	.LC5
	.word	curr
	.word	head
	.size	delete_from_list, .-delete_from_list
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012 -------Printing list Start------- \000"
	.align	2
.LC8:
	.ascii	"\012 [%d] \012\000"
	.align	2
.LC9:
	.ascii	"\012 -------Printing list End------- \000"
	.text
	.align	2
	.global	print_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_list, %function
print_list:
	@ 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, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, .L40+4
	bl	puts
	b	.L37
.L38:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L37:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L40+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	head
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	print_list, .-print_list
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012 Search [val = %d] failed, no such element foun"
	.ascii	"d\012\000"
	.align	2
.LC11:
	.ascii	"\012 Search passed [val = %d]\012\000"
	.align	2
.LC12:
	.ascii	"\012 delete [val = %d] failed, no such element foun"
	.ascii	"d\012\000"
	.align	2
.LC13:
	.ascii	"\012 delete [val = %d]  passed \012\000"
	.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
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	print_list
	mov	r3, #5
	str	r3, [fp, #-16]
	b	.L43
.L44:
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	add_to_list
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L43:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L44
	bl	print_list
	mov	r3, #4
	str	r3, [fp, #-16]
	b	.L45
.L46:
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	add_to_list
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L45:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L46
	bl	print_list
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L47
.L52:
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	search_in_list
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L48
	ldr	r1, [fp, #-16]
	ldr	r0, .L54
	bl	printf
	b	.L49
.L48:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L54+4
	bl	printf
.L49:
	bl	print_list
	ldr	r0, [fp, #-16]
	bl	delete_from_list
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L50
	ldr	r1, [fp, #-16]
	ldr	r0, .L54+8
	bl	printf
	b	.L51
.L50:
	ldr	r1, [fp, #-16]
	ldr	r0, .L54+12
	bl	printf
.L51:
	bl	print_list
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L47:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L52
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
