	.file	"403807.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Portuguese"
	.align 8
.LC2:
	.string	"Digite o maximo em milimetros que o reservatorio suporta= "
.LC3:
	.string	"%d"
	.align 8
.LC4:
	.string	"\n M\303\252s = %s \nQuanto de chuva ti vemos em milimetros? "
	.align 8
.LC5:
	.string	"Quanto foi gasto, em milimetros, do reservatorio? "
	.align 8
.LC6:
	.string	"Quantidade armazenada final no mes , em milimetros = %d \n"
.LC7:
	.string	"Reservat\303\263rio vazio"
.LC8:
	.string	"Reservat\303\263rio cheio"
.LC9:
	.string	"\n\tConsumo por m\303\252s \n"
	.align 8
.LC10:
	.string	" %s  consumido: %d milimetros  \n"
	.align 32
.LC0:
	.string	" Jan"
	.zero	45
	.string	"Fev"
	.zero	46
	.string	"Mar"
	.zero	46
	.string	"Abr"
	.zero	46
	.string	"Mai"
	.zero	46
	.string	"Jun"
	.zero	46
	.string	"Jul"
	.zero	46
	.string	"Ago"
	.zero	46
	.string	"Set"
	.zero	46
	.string	"Out"
	.zero	46
	.string	"Nov"
	.zero	46
	.string	"Dez"
	.zero	46
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC1[rip]
	mov	edi, 6
	call	setlocale@PLT
	mov	DWORD PTR -8632[rbp], 0
	mov	DWORD PTR -8628[rbp], 0
	lea	rax, -8624[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 75
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -8636[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	DWORD PTR -8632[rbp], 0
	jmp	.L2
.L6:
	lea	rcx, -8624[rbp]
	mov	eax, DWORD PTR -8632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -8016[rbp]
	mov	eax, DWORD PTR -8632[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -4016[rbp]
	mov	eax, DWORD PTR -8632[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -8632[rbp]
	cdqe
	mov	edx, DWORD PTR -8016[rbp+rax*4]
	mov	eax, DWORD PTR -8632[rbp]
	cdqe
	mov	ecx, DWORD PTR -4016[rbp+rax*4]
	mov	eax, edx
	sub	eax, ecx
	add	DWORD PTR -8628[rbp], eax
	cmp	DWORD PTR -8628[rbp], 0
	jle	.L3
	mov	eax, DWORD PTR -8636[rbp]
	cmp	DWORD PTR -8628[rbp], eax
	jge	.L3
	mov	eax, DWORD PTR -8628[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	cmp	DWORD PTR -8628[rbp], 0
	jg	.L5
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L4
.L5:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L4:
	add	DWORD PTR -8632[rbp], 1
.L2:
	cmp	DWORD PTR -8632[rbp], 11
	jle	.L6
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -8632[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -8632[rbp]
	cdqe
	mov	edx, DWORD PTR -4016[rbp+rax*4]
	lea	rsi, -8624[rbp]
	mov	eax, DWORD PTR -8632[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8632[rbp], 1
.L7:
	cmp	DWORD PTR -8632[rbp], 11
	jle	.L8
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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	"403807.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Portuguese\000"
	.align	2
.LC2:
	.ascii	"Digite o maximo em milimetros que o reservatorio su"
	.ascii	"porta= \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"\012 M\303\252s = %s \012Quanto de chuva ti vemos e"
	.ascii	"m milimetros? \000"
	.align	2
.LC5:
	.ascii	"Quanto foi gasto, em milimetros, do reservatorio? \000"
	.align	2
.LC6:
	.ascii	"Quantidade armazenada final no mes , em milimetros "
	.ascii	"= %d \012\000"
	.align	2
.LC7:
	.ascii	"Reservat\303\263rio vazio\000"
	.align	2
.LC8:
	.ascii	"Reservat\303\263rio cheio\000"
	.align	2
.LC9:
	.ascii	"\012\011Consumo por m\303\252s \012\000"
	.align	2
.LC10:
	.ascii	" %s  consumido: %d milimetros  \012\000"
	.align	2
.LC0:
	.ascii	" Jan\000"
	.space	45
	.ascii	"Fev\000"
	.space	46
	.ascii	"Mar\000"
	.space	46
	.ascii	"Abr\000"
	.space	46
	.ascii	"Mai\000"
	.space	46
	.ascii	"Jun\000"
	.space	46
	.ascii	"Jul\000"
	.space	46
	.ascii	"Ago\000"
	.space	46
	.ascii	"Set\000"
	.space	46
	.ascii	"Out\000"
	.space	46
	.ascii	"Nov\000"
	.space	46
	.ascii	"Dez\000"
	.space	46
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8616
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8576
	sub	sp, sp, #40
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L11+4
	mov	r0, #6
	bl	setlocale
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-420]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-416]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, .L11+8
	sub	r3, r3, #412
	mov	r1, r2
	mov	r2, #600
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L11+12
	bl	printf
	sub	r3, fp, #8576
	sub	r3, r3, #4
	sub	r3, r3, #40
	mov	r1, r3
	ldr	r0, .L11+16
	bl	scanf_s
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-420]
	b	.L2
.L6:
	sub	r2, fp, #8576
	sub	r2, r2, #4
	sub	r2, r2, #28
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-420]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
	sub	r3, fp, #8000
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #4
	ldr	r2, [r2, #-420]
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+16
	bl	__isoc99_scanf
	ldr	r0, .L11+24
	bl	printf
	sub	r3, fp, #4000
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #4
	ldr	r2, [r2, #-420]
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+16
	bl	__isoc99_scanf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-420]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3908]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-420]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-4004]
	sub	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #4
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #4
	ldr	r2, [r2, #-416]
	add	r3, r2, r3
	str	r3, [r1, #-416]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-416]
	cmp	r3, #0
	ble	.L3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-424]
	sub	r2, fp, #8192
	sub	r2, r2, #4
	ldr	r2, [r2, #-416]
	cmp	r2, r3
	bge	.L3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-416]
	ldr	r0, .L11+28
	bl	printf
	b	.L4
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-416]
	cmp	r3, #0
	bgt	.L5
	ldr	r0, .L11+32
	bl	puts
	b	.L4
.L5:
	ldr	r0, .L11+36
	bl	puts
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-420]
	add	r3, r3, #1
	str	r3, [r2, #-420]
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-420]
	cmp	r3, #11
	ble	.L6
	ldr	r0, .L11+40
	bl	puts
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-420]
	b	.L7
.L8:
	sub	r2, fp, #8576
	sub	r2, r2, #4
	sub	r2, r2, #28
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-420]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r1, r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	mov	r2, r3
	ldr	r0, .L11+44
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-420]
	add	r3, r3, #1
	str	r3, [r2, #-420]
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-420]
	cmp	r3, #11
	ble	.L8
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC11
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
