	.file	"357136.c"
	.intel_syntax noprefix
	.text
	.globl	fnnode
	.bss
	.align 8
	.type	fnnode, @object
	.size	fnnode, 8
fnnode:
	.zero	8
	.globl	temp
	.align 8
	.type	temp, @object
	.size	temp, 8
temp:
	.zero	8
	.globl	head
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.section	.rodata
.LC0:
	.string	"\nEnter node %d data:"
.LC1:
	.string	"%d"
	.text
	.globl	createlist
	.type	createlist, @function
createlist:
.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	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR fnnode[rip], rax
	mov	rax, QWORD PTR temp[rip]
	mov	rdx, QWORD PTR fnnode[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR fnnode[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR fnnode[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR fnnode[rip]
	mov	QWORD PTR temp[rip], rax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	createlist, .-createlist
	.section	.rodata
.LC2:
	.string	"\nList is:"
.LC3:
	.string	"%d "
	.text
	.globl	printlist
	.type	printlist, @function
printlist:
.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, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L6:
	mov	rax, QWORD PTR temp[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR temp[rip], rax
.L5:
	mov	rax, QWORD PTR temp[rip]
	test	rax, rax
	jne	.L6
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printlist, .-printlist
	.section	.rodata
.LC4:
	.string	"\nElement found at node: %d\n"
.LC5:
	.string	"\nError: Element not found"
	.text
	.globl	searchElement
	.type	searchElement, @function
searchElement:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L11:
	mov	rax, QWORD PTR temp[rip]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L9
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L7
.L9:
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR temp[rip], rax
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L11
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	searchElement, .-searchElement
	.section	.rodata
	.align 8
.LC6:
	.string	"\nEnter the number of elements in the list:"
.LC7:
	.string	"\nEnter node 0 data:"
	.align 8
.LC8:
	.string	"\nEnter a greater size please try again:("
	.align 8
.LC9:
	.string	"\nEnter the element you want to search:"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR 8[rax], 0
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, n[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR n[rip]
	test	eax, eax
	je	.L13
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	createlist
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	mov	eax, 0
	call	printlist
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	searchElement
	mov	eax, 0
	jmp	.L16
.L13:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 1
.L16:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"357136.c"
	.text
	.comm	fnnode,4,4
	.comm	temp,4,4
	.comm	head,4,4
	.comm	n,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter node %d data:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	createlist
	.syntax unified
	.arm
	.fpu softvfp
	.type	createlist, %function
createlist:
	@ 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, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L4
	str	r2, [r3]
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r2, .L4
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r1, [fp, #-8]
	ldr	r0, .L4+8
	bl	printf
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	__isoc99_scanf
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+4
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	fnnode
	.word	temp
	.word	.LC0
	.word	.LC1
	.size	createlist, .-createlist
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012List is:\000"
	.align	2
.LC3:
	.ascii	"%d \000"
	.text
	.align	2
	.global	printlist
	.syntax unified
	.arm
	.fpu softvfp
	.type	printlist, %function
printlist:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L9
	bl	printf
	b	.L7
.L8:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L9+8
	bl	printf
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L9+4
	str	r3, [r2]
.L7:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	mov	r0, #10
	bl	putchar
	nop
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC2
	.word	temp
	.word	.LC3
	.size	printlist, .-printlist
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012Element found at node: %d\012\000"
	.align	2
.LC5:
	.ascii	"\012Error: Element not found\000"
	.text
	.align	2
	.global	searchElement
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchElement, %function
searchElement:
	@ 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, #0
	str	r3, [fp, #-8]
	b	.L12
.L15:
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L13
	ldr	r1, [fp, #-8]
	ldr	r0, .L16+4
	bl	printf
	mov	r3, #0
	b	.L11
.L13:
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L16
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, .L16+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L15
	ldr	r0, .L16+12
	bl	puts
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	temp
	.word	.LC4
	.word	n
	.word	.LC5
	.size	searchElement, .-searchElement
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012Enter the number of elements in the list:\000"
	.align	2
.LC7:
	.ascii	"\012Enter node 0 data:\000"
	.align	2
.LC8:
	.ascii	"\012Enter a greater size please try again:(\000"
	.align	2
.LC9:
	.ascii	"\012Enter the element you want to search:\000"
	.align	2
.LC10:
	.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, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L24+4
	str	r2, [r3]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, .L24+8
	bl	printf
	ldr	r1, .L24+12
	ldr	r0, .L24+16
	bl	__isoc99_scanf
	ldr	r3, .L24+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L24+20
	bl	printf
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+16
	bl	__isoc99_scanf
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, .L24+24
	str	r3, [r2]
	ldr	r3, .L24+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	createlist
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, .L24+24
	str	r3, [r2]
	ldr	r3, .L24+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	printlist
	ldr	r0, .L24+28
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L24+16
	bl	__isoc99_scanf
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, .L24+24
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	searchElement
	mov	r3, #0
	b	.L22
.L19:
	ldr	r0, .L24+32
	bl	puts
	mov	r3, #1
.L22:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC10
	.word	head
	.word	.LC6
	.word	n
	.word	.LC1
	.word	.LC7
	.word	temp
	.word	.LC9
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
