	.file	"811796.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"\nEnter Element[%d][%d]:"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L10:
	call	menu
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 3
	je	.L2
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L4
	cmp	eax, 2
	je	.L5
	jmp	.L3
.L4:
	mov	DWORD PTR i[rip], 0
	jmp	.L6
.L9:
	mov	DWORD PTR j[rip], 0
	jmp	.L7
.L8:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	lea	rcx, -32[rbp]
	movsx	rdx, edx
	cdqe
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L7:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 1
	jle	.L8
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L6:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 1
	jle	.L9
	jmp	.L3
.L5:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	sparse
	jmp	.L3
.L2:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	search
	nop
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 4
	jne	.L10
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.string	"\n\n---------------------------------"
	.align 8
.LC3:
	.string	"\n                Menu              "
	.align 8
.LC4:
	.string	"\n---------------------------------"
.LC5:
	.string	"\n1) Enter Data"
.LC6:
	.string	"\n2) Check Sparse Matrix"
.LC7:
	.string	"\n3) Search Element"
.LC8:
	.string	"\n4) Exit"
.LC9:
	.string	"\nEnter your choice :"
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB1:
	.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
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	menu, .-menu
	.section	.rodata
.LC11:
	.string	"\nIt's A sparse Matrix"
.LC12:
	.string	"\nIt's not A sparse Matrix"
	.text
	.globl	sparse
	.type	sparse, @function
sparse:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	movss	xmm0, DWORD PTR .LC10[rip]
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR i[rip], 0
	jmp	.L15
.L19:
	mov	DWORD PTR j[rip], 0
	jmp	.L16
.L18:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR j[rip]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L17
	add	DWORD PTR -8[rbp], 1
.L17:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L16:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 1
	jle	.L18
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L15:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 1
	jle	.L19
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jb	.L25
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L25:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	sparse, .-sparse
	.section	.rodata
	.align 8
.LC13:
	.string	"\nEnter element to be searched:"
.LC14:
	.string	"\nElement Found!!"
.LC15:
	.string	"\nElement not found!"
	.text
	.globl	search
	.type	search, @function
search:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L27
.L31:
	mov	DWORD PTR j[rip], 0
	jmp	.L28
.L30:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR j[rip]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jne	.L29
	mov	DWORD PTR -12[rbp], 1
.L29:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L28:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 1
	jle	.L30
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L27:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 1
	jle	.L31
	cmp	DWORD PTR -12[rbp], 1
	jne	.L32
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L35
.L32:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L35:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	search, .-search
	.section	.rodata
	.align 4
.LC10:
	.long	1073741824
	.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	"811796.c"
	.text
	.comm	i,4,4
	.comm	j,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"\012Enter Element[%d][%d]:\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L10:
	bl	menu
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	beq	.L2
	cmp	r3, #3
	bgt	.L3
	cmp	r3, #1
	beq	.L4
	cmp	r3, #2
	beq	.L5
	b	.L3
.L4:
	ldr	r3, .L13+8
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L9:
	ldr	r3, .L13+12
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L8:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, .L13+12
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
	ldr	r3, .L13+8
	ldr	r1, [r3]
	ldr	r3, .L13+12
	ldr	r3, [r3]
	sub	r2, fp, #24
	lsl	r1, r1, #1
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	ldr	r3, .L13+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L13+12
	str	r3, [r2]
.L7:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L8
	ldr	r3, .L13+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L13+8
	str	r3, [r2]
.L6:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L9
	b	.L3
.L5:
	sub	r3, fp, #24
	mov	r0, r3
	bl	sparse
	b	.L3
.L2:
	sub	r3, fp, #24
	mov	r0, r3
	bl	search
	nop
.L3:
	ldr	r3, [fp, #-28]
	cmp	r3, #4
	bne	.L10
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC0
	.word	i
	.word	j
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012\012---------------------------------\000"
	.align	2
.LC4:
	.ascii	"\012                Menu              \000"
	.align	2
.LC5:
	.ascii	"\012---------------------------------\000"
	.align	2
.LC6:
	.ascii	"\0121) Enter Data\000"
	.align	2
.LC7:
	.ascii	"\0122) Check Sparse Matrix\000"
	.align	2
.LC8:
	.ascii	"\0123) Search Element\000"
	.align	2
.LC9:
	.ascii	"\0124) Exit\000"
	.align	2
.LC10:
	.ascii	"\012Enter your choice :\000"
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L16
	bl	printf
	ldr	r0, .L16+4
	bl	printf
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+12
	bl	printf
	ldr	r0, .L16+16
	bl	printf
	ldr	r0, .L16+20
	bl	printf
	ldr	r0, .L16+24
	bl	printf
	ldr	r0, .L16+28
	bl	printf
	nop
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	menu, .-menu
	.global	__aeabi_i2f
	.global	__aeabi_fcmple
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012It's A sparse Matrix\000"
	.align	2
.LC12:
	.ascii	"\012It's not A sparse Matrix\000"
	.text
	.align	2
	.global	sparse
	.syntax unified
	.arm
	.fpu softvfp
	.type	sparse, %function
sparse:
	@ 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, #-12]
	mov	r3, #1073741824
	str	r3, [fp, #-8]	@ float
	ldr	r3, .L30
	mov	r2, #0
	str	r2, [r3]
	b	.L19
.L23:
	ldr	r3, .L30+4
	mov	r2, #0
	str	r2, [r3]
	b	.L20
.L22:
	ldr	r3, .L30
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L30+4
	ldr	r2, [r2]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L21:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+4
	str	r3, [r2]
.L20:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L22
	ldr	r3, .L30
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30
	str	r3, [r2]
.L19:
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L23
	ldr	r0, [fp, #-12]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r0, .L30+8
	bl	printf
	b	.L26
.L29:
	ldr	r0, .L30+12
	bl	printf
.L26:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	i
	.word	j
	.word	.LC11
	.word	.LC12
	.size	sparse, .-sparse
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\012Enter element to be searched:\000"
	.align	2
.LC14:
	.ascii	"\012Element Found!!\000"
	.align	2
.LC15:
	.ascii	"\012Element not found!\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ 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, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L42+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L42+8
	bl	__isoc99_scanf
	ldr	r3, .L42+12
	mov	r2, #0
	str	r2, [r3]
	b	.L33
.L37:
	ldr	r3, .L42+16
	mov	r2, #0
	str	r2, [r3]
	b	.L34
.L36:
	ldr	r3, .L42+12
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, .L42+16
	ldr	r2, [r2]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L35
	mov	r3, #1
	str	r3, [fp, #-12]
.L35:
	ldr	r3, .L42+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+16
	str	r3, [r2]
.L34:
	ldr	r3, .L42+16
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L36
	ldr	r3, .L42+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+12
	str	r3, [r2]
.L33:
	ldr	r3, .L42+12
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L37
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L38
	ldr	r0, .L42+20
	bl	printf
	b	.L41
.L38:
	ldr	r0, .L42+24
	bl	printf
.L41:
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC16
	.word	.LC13
	.word	.LC0
	.word	i
	.word	j
	.word	.LC14
	.word	.LC15
	.size	search, .-search
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
