	.file	"120919.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nEnter 10 numbers"
.LC1:
	.string	"%d"
.LC2:
	.string	"\nEnter value to be searched"
	.align 8
.LC3:
	.string	"\nNumber present in the sequence"
	.align 8
.LC4:
	.string	"\nNumber not present in the sequence"
.LC5:
	.string	"\nWant to search more?"
.LC6:
	.string	"\n1.Yes\t2.No"
	.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -132[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L2
.L3:
	lea	rdx, -96[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -120[rbp], 1
.L2:
	cmp	DWORD PTR -120[rbp], 9
	jle	.L3
	mov	DWORD PTR -116[rbp], 0
	jmp	.L4
.L14:
	mov	DWORD PTR -112[rbp], 1
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	edx, DWORD PTR -96[rbp+rax*4]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -128[rbp], eax
	mov	ecx, DWORD PTR -128[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -128[rbp], edx
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	edx, DWORD PTR -96[rbp+rax*4]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -128[rbp]
	mov	DWORD PTR -108[rbp], eax
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	edx, DWORD PTR -96[rbp+rax*4]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	DWORD PTR -112[rbp], 0
	jmp	.L9
.L8:
	add	DWORD PTR -108[rbp], 1
.L7:
	cmp	DWORD PTR -108[rbp], 9
	jle	.L10
.L9:
	cmp	DWORD PTR -128[rbp], 0
	jle	.L6
	cmp	DWORD PTR -128[rbp], 10
	jg	.L6
	cmp	DWORD PTR -112[rbp], 1
	jne	.L6
	mov	DWORD PTR -104[rbp], 0
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L12
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	edx, DWORD PTR -96[rbp+rax*4]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	DWORD PTR -112[rbp], 0
	jmp	.L6
.L12:
	add	DWORD PTR -104[rbp], 1
.L11:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -128[rbp]
	jl	.L13
.L6:
	add	DWORD PTR -116[rbp], 1
.L4:
	cmp	DWORD PTR -116[rbp], 9
	jle	.L14
.L22:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -132[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -132[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -128[rbp], eax
	mov	ecx, DWORD PTR -128[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -128[rbp], edx
	mov	DWORD PTR -100[rbp], 0
	jmp	.L15
.L20:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -132[rbp]
	cmp	edx, eax
	jne	.L16
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -124[rbp], 1
	jmp	.L17
.L16:
	cmp	DWORD PTR -128[rbp], 9
	jne	.L18
	mov	DWORD PTR -128[rbp], 0
	jmp	.L19
.L18:
	add	DWORD PTR -128[rbp], 1
.L19:
	add	DWORD PTR -100[rbp], 1
.L15:
	cmp	DWORD PTR -100[rbp], 9
	jle	.L20
.L17:
	cmp	DWORD PTR -124[rbp], 0
	jne	.L21
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L21:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -136[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, 2
	jne	.L22
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"120919.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter 10 numbers\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012Enter value to be searched\000"
	.align	2
.LC3:
	.ascii	"\012Number present in the sequence\000"
	.align	2
.LC4:
	.ascii	"\012Number not present in the sequence\000"
	.align	2
.LC5:
	.ascii	"\012Want to search more?\000"
	.align	2
.LC6:
	.ascii	"\0121.Yes\0112.No\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r2, #40
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r0, .L25+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L2
.L3:
	sub	r2, fp, #88
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L25+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L2:
	ldr	r3, [fp, #-112]
	cmp	r3, #9
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L4
.L14:
	mov	r3, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, .L25+12
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	b	.L6
.L5:
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-100]
	b	.L7
.L10:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L9
.L8:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L7:
	ldr	r3, [fp, #-100]
	cmp	r3, #9
	ble	.L10
.L9:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-120]
	cmp	r3, #10
	bgt	.L6
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L6
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L11
.L13:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L6
.L12:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L11:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L13
.L6:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L4:
	ldr	r3, [fp, #-108]
	cmp	r3, #9
	ble	.L14
.L22:
	ldr	r0, .L25+16
	bl	puts
	sub	r3, fp, #124
	mov	r1, r3
	ldr	r0, .L25+8
	bl	__isoc99_scanf
	ldr	r2, [fp, #-124]
	ldr	r3, .L25+12
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L15
.L20:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	bne	.L16
	ldr	r0, .L25+20
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-116]
	b	.L17
.L16:
	ldr	r3, [fp, #-120]
	cmp	r3, #9
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L19
.L18:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L19:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L15:
	ldr	r3, [fp, #-92]
	cmp	r3, #9
	ble	.L20
.L17:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L25+24
	bl	puts
.L21:
	ldr	r0, .L25+28
	bl	puts
	ldr	r0, .L25+32
	bl	puts
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L25+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-128]
	cmp	r3, #2
	bne	.L22
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	1717986919
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
