	.file	"503575.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\033c"
	.text
	.globl	clear
	.type	clear, @function
clear:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	clear, .-clear
	.section	.rodata
	.align 8
.LC1:
	.ascii	"1)Preencher uma matriz  de 10 x 10  posi\303\247\303\265es c"
	.ascii	"om valores aleat\303\263rios de 15 a 50 (utilize para cada n"
	.ascii	"\303\272mero a f"
	.string	"un\303\247\303\243o rand\342\200\223fa\303\247a uma fun\303\247\303\243o que dados os valores inicial e final devolva um n\303\272mero aleat\303\263rio dentro deste intervalo) Em seguida imprima os \303\255ndices(i,j) da matriz e o valor correspondente, na forma de matriz, bem como chame os m\303\263dulos abaixo(0,5)\n"
.LC2:
	.string	"      "
.LC3:
	.string	"\033[1m\033[37m%d     \033[0m"
.LC4:
	.string	"\033[1m\033[37m%d \033[0m"
.LC5:
	.string	"\033[1m\033[32m| "
.LC6:
	.string	" [%d] "
.LC7:
	.string	" |\n\033[0m"
	.text
	.globl	main
	.type	main, @function
main:
.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, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	clear
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -420[rbp], 0
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -444[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -440[rbp], 0
	jmp	.L4
.L5:
	mov	esi, 50
	mov	edi, 15
	call	randomNumber
	mov	edx, eax
	mov	eax, DWORD PTR -440[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -444[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	DWORD PTR -416[rbp+rax*4], edx
	add	DWORD PTR -440[rbp], 1
.L4:
	cmp	DWORD PTR -440[rbp], 9
	jle	.L5
	add	DWORD PTR -444[rbp], 1
.L3:
	cmp	DWORD PTR -444[rbp], 9
	jle	.L6
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -436[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -436[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -436[rbp], 1
.L7:
	cmp	DWORD PTR -436[rbp], 9
	jle	.L8
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -432[rbp], 0
	mov	DWORD PTR -428[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -428[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -424[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -424[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -432[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -416[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -424[rbp], 1
.L10:
	cmp	DWORD PTR -424[rbp], 9
	jle	.L11
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -432[rbp], 1
	add	DWORD PTR -428[rbp], 1
.L9:
	cmp	DWORD PTR -432[rbp], 9
	jle	.L12
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.globl	randomNumber
	.type	randomNumber, @function
randomNumber:
.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 -24[rbp], esi
.L16:
	call	rand@PLT
	mov	edx, DWORD PTR -24[rbp]
	sub	edx, DWORD PTR -20[rbp]
	lea	ecx, 1[rdx]
	cdq
	idiv	ecx
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L16
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	randomNumber, .-randomNumber
	.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	"503575.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\033c\000"
	.text
	.align	2
	.global	clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear, %function
clear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	clear, .-clear
	.section	.rodata
	.align	2
.LC1:
	.ascii	"1)Preencher uma matriz  de 10 x 10  posi\303\247\303"
	.ascii	"\265es com valores aleat\303\263rios de 15 a 50 (ut"
	.ascii	"ilize para cada n\303\272mero a fun\303\247\303\243"
	.ascii	"o rand\342\200\223fa\303\247a uma fun\303\247\303\243"
	.ascii	"o que dados os valores inicial e final devolva um n"
	.ascii	"\303\272mero aleat\303\263rio dentro deste interval"
	.ascii	"o) Em seguida imprima os \303\255ndices(i,j) da mat"
	.ascii	"riz e o valor correspondente, na forma de matriz, b"
	.ascii	"em como chame os m\303\263dulos abaixo(0,5)\012\000"
	.align	2
.LC2:
	.ascii	"      \000"
	.align	2
.LC3:
	.ascii	"\033[1m\033[37m%d     \033[0m\000"
	.align	2
.LC4:
	.ascii	"\033[1m\033[37m%d \033[0m\000"
	.align	2
.LC5:
	.ascii	"\033[1m\033[32m| \000"
	.align	2
.LC6:
	.ascii	" [%d] \000"
	.align	2
.LC7:
	.ascii	" |\012\033[0m\000"
	.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 = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #432
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	clear
	ldr	r0, .L17+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-412]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-436]
	b	.L5
.L8:
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L6
.L7:
	mov	r1, #50
	mov	r0, #15
	bl	randomNumber
	mov	r1, r0
	ldr	r2, [fp, #-436]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-432]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-404]
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L6:
	ldr	r3, [fp, #-432]
	cmp	r3, #9
	ble	.L7
	ldr	r3, [fp, #-436]
	add	r3, r3, #1
	str	r3, [fp, #-436]
.L5:
	ldr	r3, [fp, #-436]
	cmp	r3, #9
	ble	.L8
	ldr	r0, .L17+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L9
.L10:
	ldr	r1, [fp, #-428]
	ldr	r0, .L17+12
	bl	printf
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L9:
	ldr	r3, [fp, #-428]
	cmp	r3, #9
	ble	.L10
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-424]
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L11
.L14:
	ldr	r1, [fp, #-420]
	ldr	r0, .L17+16
	bl	printf
	ldr	r0, .L17+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L12
.L13:
	ldr	r2, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-416]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, .L17+24
	bl	printf
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L12:
	ldr	r3, [fp, #-416]
	cmp	r3, #9
	ble	.L13
	ldr	r0, .L17+28
	bl	printf
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L11:
	ldr	r3, [fp, #-424]
	cmp	r3, #9
	ble	.L14
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC8
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.global	__aeabi_idivmod
	.align	2
	.global	randomNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	randomNumber, %function
randomNumber:
	@ 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]
	str	r1, [fp, #-20]
.L20:
	bl	rand
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	randomNumber, .-randomNumber
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
