	.file	"246281.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	" *** Find a value in array 2 dimension *** "
.LC2:
	.string	"Enter a value : "
.LC3:
	.string	"%d"
.LC4:
	.string	"%5d"
.LC5:
	.string	"\nFinding value => %d\n"
.LC6:
	.string	"%d. (row,column) => (%d,%d)\n"
.LC7:
	.string	" --- !!! NOT FOUND !!! ---"
	.align 32
.LC0:
	.long	2
	.long	3
	.long	5
	.long	7
	.long	11
	.long	13
	.long	17
	.long	19
	.long	29
	.long	31
	.long	37
	.long	41
	.long	43
	.long	37
	.long	61
	.long	71
	.long	73
	.long	79
	.long	83
	.long	97
	.long	103
	.long	107
	.long	109
	.long	113
	.long	131
	.long	151
	.long	181
	.long	191
	.long	193
	.long	173
	.long	163
	.long	113
	.long	102
	.long	107
	.long	127
	.long	137
	.long	257
	.long	139
	.long	149
	.long	369
	.long	212
	.long	224
	.long	236
	.long	248
	.long	313
	.long	326
	.long	339
	.long	341
	.long	355
	.long	368
	.long	2
	.long	4
	.long	6
	.long	6
	.long	10
	.long	12
	.long	14
	.long	16
	.long	18
	.long	20
	.long	1
	.long	3
	.long	5
	.long	7
	.long	9
	.long	11
	.long	13
	.long	17
	.long	19
	.long	21
	.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, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -288[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 35
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -292[rbp], 0
	mov	DWORD PTR -296[rbp], 1
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -308[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	scanf@PLT
	mov	DWORD PTR -304[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -300[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -300[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -304[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -288[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -300[rbp], 1
.L3:
	cmp	DWORD PTR -300[rbp], 9
	jle	.L4
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -304[rbp], 1
.L2:
	cmp	DWORD PTR -304[rbp], 6
	jle	.L5
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -304[rbp], 0
	jmp	.L6
.L10:
	mov	DWORD PTR -300[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -300[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -304[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	edx, DWORD PTR -288[rbp+rax*4]
	mov	eax, DWORD PTR -308[rbp]
	cmp	edx, eax
	jne	.L8
	mov	eax, DWORD PTR -300[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -304[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -296[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -296[rbp], 1
.L8:
	add	DWORD PTR -300[rbp], 1
.L7:
	cmp	DWORD PTR -300[rbp], 9
	jle	.L9
	add	DWORD PTR -304[rbp], 1
.L6:
	cmp	DWORD PTR -304[rbp], 6
	jle	.L10
	cmp	DWORD PTR -296[rbp], 1
	jne	.L11
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L11:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"246281.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	" *** Find a value in array 2 dimension *** \000"
	.align	2
.LC2:
	.ascii	"Enter a value : \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"%5d\000"
	.align	2
.LC5:
	.ascii	"\012Finding value => %d\012\000"
	.align	2
.LC6:
	.ascii	"%d. (row,column) => (%d,%d)\012\000"
	.align	2
.LC7:
	.ascii	" --- !!! NOT FOUND !!! ---\000"
	.align	2
.LC0:
	.word	2
	.word	3
	.word	5
	.word	7
	.word	11
	.word	13
	.word	17
	.word	19
	.word	29
	.word	31
	.word	37
	.word	41
	.word	43
	.word	37
	.word	61
	.word	71
	.word	73
	.word	79
	.word	83
	.word	97
	.word	103
	.word	107
	.word	109
	.word	113
	.word	131
	.word	151
	.word	181
	.word	191
	.word	193
	.word	173
	.word	163
	.word	113
	.word	102
	.word	107
	.word	127
	.word	137
	.word	257
	.word	139
	.word	149
	.word	369
	.word	212
	.word	224
	.word	236
	.word	248
	.word	313
	.word	326
	.word	339
	.word	341
	.word	355
	.word	368
	.word	2
	.word	4
	.word	6
	.word	6
	.word	10
	.word	12
	.word	14
	.word	16
	.word	18
	.word	20
	.word	1
	.word	3
	.word	5
	.word	7
	.word	9
	.word	11
	.word	13
	.word	17
	.word	19
	.word	21
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #304
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L14+4
	sub	r3, fp, #288
	mov	r1, r2
	mov	r2, #280
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L14+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-292]
	mov	r3, #1
	str	r3, [fp, #-296]
	ldr	r0, .L14+12
	bl	printf
	sub	r3, fp, #308
	mov	r1, r3
	ldr	r0, .L14+16
	bl	scanf
	mov	r3, #0
	str	r3, [fp, #-304]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L3
.L4:
	ldr	r2, [fp, #-304]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-300]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-284]
	mov	r1, r3
	ldr	r0, .L14+20
	bl	printf
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L3:
	ldr	r3, [fp, #-300]
	cmp	r3, #9
	ble	.L4
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	str	r3, [fp, #-304]
.L2:
	ldr	r3, [fp, #-304]
	cmp	r3, #6
	ble	.L5
	ldr	r3, [fp, #-308]
	mov	r1, r3
	ldr	r0, .L14+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-304]
	b	.L6
.L10:
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L7
.L9:
	ldr	r2, [fp, #-304]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-300]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-284]
	ldr	r3, [fp, #-308]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-304]
	add	r2, r3, #1
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	ldr	r1, [fp, #-296]
	ldr	r0, .L14+28
	bl	printf
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
.L8:
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L7:
	ldr	r3, [fp, #-300]
	cmp	r3, #9
	ble	.L9
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	str	r3, [fp, #-304]
.L6:
	ldr	r3, [fp, #-304]
	cmp	r3, #6
	ble	.L10
	ldr	r3, [fp, #-296]
	cmp	r3, #1
	bne	.L11
	ldr	r0, .L14+32
	bl	puts
.L11:
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
