	.file	"380725.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nDigite o valor da matriz no indice: [%d]-[%d] "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"\nA soma dos elementos que estao abaixo da diagonal principal e: %d"
	.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -184[rbp], 0
	mov	DWORD PTR -180[rbp], 0
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -168[rbp], 0
	mov	DWORD PTR -164[rbp], 0
	mov	DWORD PTR -192[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -188[rbp], 0
	jmp	.L3
.L4:
	mov	edx, DWORD PTR -188[rbp]
	mov	eax, DWORD PTR -192[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -188[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -192[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -188[rbp], 1
.L3:
	cmp	DWORD PTR -188[rbp], 5
	jle	.L4
	add	DWORD PTR -192[rbp], 1
.L2:
	cmp	DWORD PTR -192[rbp], 5
	jle	.L5
	mov	DWORD PTR -192[rbp], 0
	jmp	.L6
.L14:
	mov	DWORD PTR -188[rbp], 0
	jmp	.L7
.L13:
	cmp	DWORD PTR -192[rbp], 1
	jne	.L8
	cmp	DWORD PTR -188[rbp], 0
	jne	.L8
	mov	eax, DWORD PTR -188[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -192[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -160[rbp+rax*4]
	add	DWORD PTR -184[rbp], eax
	jmp	.L9
.L8:
	cmp	DWORD PTR -192[rbp], 2
	jne	.L10
	cmp	DWORD PTR -188[rbp], 1
	jg	.L10
	mov	eax, DWORD PTR -188[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -192[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -160[rbp+rax*4]
	add	DWORD PTR -180[rbp], eax
	jmp	.L9
.L10:
	cmp	DWORD PTR -192[rbp], 3
	jne	.L11
	cmp	DWORD PTR -188[rbp], 2
	jg	.L11
	mov	eax, DWORD PTR -188[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -192[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -160[rbp+rax*4]
	add	DWORD PTR -176[rbp], eax
	jmp	.L9
.L11:
	cmp	DWORD PTR -192[rbp], 4
	jne	.L12
	cmp	DWORD PTR -188[rbp], 3
	jg	.L12
	mov	eax, DWORD PTR -188[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -192[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -160[rbp+rax*4]
	add	DWORD PTR -172[rbp], eax
	jmp	.L9
.L12:
	cmp	DWORD PTR -192[rbp], 5
	jne	.L9
	cmp	DWORD PTR -188[rbp], 4
	jg	.L9
	mov	eax, DWORD PTR -188[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -192[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -160[rbp+rax*4]
	add	DWORD PTR -168[rbp], eax
.L9:
	add	DWORD PTR -188[rbp], 1
.L7:
	cmp	DWORD PTR -188[rbp], 5
	jle	.L13
	add	DWORD PTR -192[rbp], 1
.L6:
	cmp	DWORD PTR -192[rbp], 5
	jle	.L14
	mov	edx, DWORD PTR -184[rbp]
	mov	eax, DWORD PTR -180[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -176[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -172[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -168[rbp]
	add	eax, edx
	mov	DWORD PTR -164[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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	"380725.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Digite o valor da matriz no indice: [%d]-[%d] \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012A soma dos elementos que estao abaixo da diagon"
	.ascii	"al principal e: %d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-156]
	mov	r3, #0
	str	r3, [fp, #-184]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L3
.L4:
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-184]
	ldr	r0, .L17+4
	bl	printf
	sub	r1, fp, #152
	ldr	r2, [fp, #-184]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-180]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L3:
	ldr	r3, [fp, #-180]
	cmp	r3, #5
	ble	.L4
	ldr	r3, [fp, #-184]
	add	r3, r3, #1
	str	r3, [fp, #-184]
.L2:
	ldr	r3, [fp, #-184]
	cmp	r3, #5
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-184]
	b	.L6
.L14:
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L7
.L13:
	ldr	r3, [fp, #-184]
	cmp	r3, #1
	bne	.L8
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	bne	.L8
	ldr	r2, [fp, #-184]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-180]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-148]
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	str	r3, [fp, #-176]
	b	.L9
.L8:
	ldr	r3, [fp, #-184]
	cmp	r3, #2
	bne	.L10
	ldr	r3, [fp, #-180]
	cmp	r3, #1
	bgt	.L10
	ldr	r2, [fp, #-184]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-180]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-148]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	str	r3, [fp, #-172]
	b	.L9
.L10:
	ldr	r3, [fp, #-184]
	cmp	r3, #3
	bne	.L11
	ldr	r3, [fp, #-180]
	cmp	r3, #2
	bgt	.L11
	ldr	r2, [fp, #-184]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-180]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-148]
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	str	r3, [fp, #-168]
	b	.L9
.L11:
	ldr	r3, [fp, #-184]
	cmp	r3, #4
	bne	.L12
	ldr	r3, [fp, #-180]
	cmp	r3, #3
	bgt	.L12
	ldr	r2, [fp, #-184]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-180]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-148]
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	str	r3, [fp, #-164]
	b	.L9
.L12:
	ldr	r3, [fp, #-184]
	cmp	r3, #5
	bne	.L9
	ldr	r3, [fp, #-180]
	cmp	r3, #4
	bgt	.L9
	ldr	r2, [fp, #-184]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-180]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-148]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	str	r3, [fp, #-160]
.L9:
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L7:
	ldr	r3, [fp, #-180]
	cmp	r3, #5
	ble	.L13
	ldr	r3, [fp, #-184]
	add	r3, r3, #1
	str	r3, [fp, #-184]
.L6:
	ldr	r3, [fp, #-184]
	cmp	r3, #5
	ble	.L14
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-172]
	add	r2, r2, r3
	ldr	r3, [fp, #-168]
	add	r2, r2, r3
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	str	r3, [fp, #-156]
	ldr	r1, [fp, #-156]
	ldr	r0, .L17+12
	bl	printf
	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	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
