	.file	"27210.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"[%d]\n"
	.align 8
.LC2:
	.string	"    x%2d parcelas de     R$%.2f\n"
	.align 8
.LC3:
	.string	"    Valor pago no ano:  R$%.2f\n"
	.align 8
.LC5:
	.string	"    Reajuste:           R$%.2f\n"
	.align 8
.LC6:
	.string	"############################################"
	.align 8
.LC7:
	.string	"Valor inicial:          R$%.2f\n"
	.align 8
.LC8:
	.string	"Total de reajuste:      R$%.2f\n\n"
	.align 8
.LC9:
	.string	"Valor real pago:        R$%.2f\n"
	.align 8
.LC10:
	.string	"Reajuste [%%]:           %.2f%%\n"
	.text
	.globl	calcula_igpm
	.type	calcula_igpm, @function
calcula_igpm:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	movss	DWORD PTR -56[rbp], xmm0
	mov	DWORD PTR -60[rbp], esi
	movss	DWORD PTR -64[rbp], xmm1
	movss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR -36[rbp], xmm0
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	mov	ecx, DWORD PTR -60[rbp]
	mov	edx, ecx
	mov	eax, 2863311531
	imul	rax, rdx
	shr	rax, 32
	mov	edx, eax
	shr	edx, 3
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	lea	eax, 1[rdx]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L7:
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	test	rax, rax
	js	.L3
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L4
.L3:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L4:
	movss	xmm1, DWORD PTR -40[rbp]
	divss	xmm1, xmm0
	movss	DWORD PTR -24[rbp], xmm1
	mov	eax, 12
	cmp	DWORD PTR -32[rbp], 12
	cmovbe	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	test	rax, rax
	js	.L5
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L6
.L5:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L6:
	movss	xmm1, DWORD PTR -24[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -24[rbp]
	movq	rdx, xmm2
	mov	eax, DWORD PTR -8[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -20[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -32[rbp], eax
	movss	xmm0, DWORD PTR -40[rbp]
	subss	xmm0, DWORD PTR -20[rbp]
	movss	DWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, DWORD PTR -64[rbp]
	movss	xmm1, DWORD PTR .LC4[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -40[rbp]
	addss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	addss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR -36[rbp], xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -16[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jb	.L7
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR .LC4[rip]
	mulss	xmm0, xmm1
	divss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -56[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -36[rbp]
	subss	xmm0, DWORD PTR -56[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -36[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	calcula_igpm, .-calcula_igpm
	.section	.rodata
.LC11:
	.string	"clear"
.LC12:
	.string	"\n"
	.align 8
.LC13:
	.string	"Indice Geral de Precos do Mercado - IGPM"
.LC14:
	.string	"Valor do Imovel:    R$"
.LC15:
	.string	"%f"
.LC16:
	.string	"Numero de Parcelas: "
.LC17:
	.string	"%d"
.LC18:
	.string	"Ano Base:           "
.LC19:
	.string	"IGPM Fixo [%%]:      "
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC11[rip]
	call	system@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	movss	xmm0, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -16[rbp]
	movaps	xmm1, xmm0
	mov	esi, ecx
	movd	xmm0, edx
	mov	edi, eax
	call	calcula_igpm
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC4:
	.long	1120403456
	.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	"27210.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"[%d]\012\000"
	.global	__aeabi_ui2f
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"    x%2d parcelas de     R$%.2f\012\000"
	.align	2
.LC2:
	.ascii	"    Valor pago no ano:  R$%.2f\012\000"
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.align	2
.LC3:
	.ascii	"    Reajuste:           R$%.2f\012\000"
	.align	2
.LC4:
	.ascii	"############################################\000"
	.align	2
.LC5:
	.ascii	"Valor inicial:          R$%.2f\012\000"
	.align	2
.LC6:
	.ascii	"Total de reajuste:      R$%.2f\012\012\000"
	.align	2
.LC7:
	.ascii	"Valor real pago:        R$%.2f\012\000"
	.align	2
.LC8:
	.ascii	"Reajuste [%%]:           %.2f%%\012\000"
	.text
	.align	2
	.global	calcula_igpm
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcula_igpm, %function
calcula_igpm:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]	@ float
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]	@ float
	ldr	r3, [fp, #-52]	@ float
	str	r3, [fp, #-44]	@ float
	mov	r3, #0
	str	r3, [fp, #-28]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-52]	@ float
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-56]
	ldr	r3, .L4
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L3:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L4+4
	bl	printf
	ldr	r0, [fp, #-36]
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-36]
	cmp	r3, #12
	movcc	r3, r3
	movcs	r3, #12
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-12]
	ldr	r0, .L4+8
	bl	printf
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+12
	bl	printf
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L4+16
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+20
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L3
	ldr	r0, .L4+24
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r1, .L4+16
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-52]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+28
	bl	printf
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+32
	bl	printf
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+36
	bl	printf
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+40
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	-1431655765
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1120403456
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	calcula_igpm, .-calcula_igpm
	.section	.rodata
	.align	2
.LC9:
	.ascii	"clear\000"
	.align	2
.LC10:
	.ascii	"\012\000"
	.align	2
.LC11:
	.ascii	"Indice Geral de Precos do Mercado - IGPM\000"
	.align	2
.LC12:
	.ascii	"Valor do Imovel:    R$\000"
	.align	2
.LC13:
	.ascii	"%f\000"
	.align	2
.LC14:
	.ascii	"Numero de Parcelas: \000"
	.align	2
.LC15:
	.ascii	"%d\000"
	.align	2
.LC16:
	.ascii	"Ano Base:           \000"
	.align	2
.LC17:
	.ascii	"IGPM Fixo [%%]:      \000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L9+4
	bl	system
	ldr	r0, .L9+8
	bl	puts
	ldr	r0, .L9+12
	bl	puts
	ldr	r0, .L9+16
	bl	puts
	ldr	r0, .L9+12
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, .L9+20
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L9+24
	bl	__isoc99_scanf
	ldr	r0, .L9+28
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L9+32
	bl	__isoc99_scanf
	ldr	r0, .L9+36
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L9+32
	bl	__isoc99_scanf
	ldr	r0, .L9+40
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L9+24
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L9+12
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-16]
	ldr	r1, [fp, #-24]	@ float
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]	@ float
	bl	calcula_igpm
	mov	r0, #10
	bl	putchar
	ldr	r0, .L9+12
	bl	puts
	ldr	r0, .L9+8
	bl	puts
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC18
	.word	.LC9
	.word	.LC10
	.word	.LC4
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
