	.file	"11830.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Enter interest rate: "
.LC2:
	.string	"%d"
.LC3:
	.string	"Enter number of years: "
.LC4:
	.string	"Years\t"
.LC5:
	.string	"%d\t"
.LC6:
	.string	"%d%%\t\t"
.LC9:
	.string	"%.2f\t\t"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -16[rbp], xmm0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L2
.L11:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L3
.L10:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L4
	cmp	DWORD PTR -40[rbp], 0
	jne	.L4
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L4:
	cmp	DWORD PTR -44[rbp], 0
	jle	.L6
	cmp	DWORD PTR -40[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L6:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L7
	cmp	DWORD PTR -40[rbp], 0
	jle	.L7
	mov	eax, DWORD PTR -56[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cdqe
	movss	xmm0, DWORD PTR -32[rbp+rax*4]
	movss	DWORD PTR -48[rbp], xmm0
	mov	DWORD PTR -36[rbp], 1
	jmp	.L8
.L9:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -48[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm3, QWORD PTR .LC7[rip]
	divsd	xmm0, xmm3
	movsd	xmm3, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	add	DWORD PTR -36[rbp], 1
.L8:
	cmp	DWORD PTR -36[rbp], 12
	jle	.L9
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cdqe
	movss	xmm0, DWORD PTR -48[rbp]
	movss	DWORD PTR -32[rbp+rax*4], xmm0
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cdqe
	movss	xmm0, DWORD PTR -32[rbp+rax*4]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
.L5:
	add	DWORD PTR -40[rbp], 1
.L3:
	cmp	DWORD PTR -40[rbp], 5
	jle	.L10
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -44[rbp], 1
.L2:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jle	.L11
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, 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
	.section	.rodata
	.align 4
.LC0:
	.long	1120403456
	.align 8
.LC7:
	.long	0
	.long	1076363264
	.align 8
.LC8:
	.long	0
	.long	1079574528
	.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	"11830.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter interest rate: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Enter number of years: \000"
	.align	2
.LC4:
	.ascii	"Years\011\000"
	.align	2
.LC5:
	.ascii	"%d\011\000"
	.align	2
.LC6:
	.ascii	"%d%%\011\011\000"
	.global	__aeabi_f2d
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.align	2
.LC7:
	.ascii	"%.2f\011\011\000"
	.align	2
.LC0:
	.word	1120403456
	.word	1120403456
	.word	1120403456
	.word	1120403456
	.word	1120403456
	.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 = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, .L14+4
	sub	ip, fp, #44
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r0, .L14+8
	bl	printf
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L14+12
	bl	__isoc99_scanf
	ldr	r0, .L14+16
	bl	printf
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L14+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L2
.L11:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L3
.L10:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L14+20
	bl	printf
	b	.L5
.L4:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L6
	ldr	r1, [fp, #-56]
	ldr	r0, .L14+24
	bl	printf
	b	.L5
.L6:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L7
	ldr	r3, [fp, #-68]
	sub	r2, r3, #1
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L14+28
	bl	printf
	b	.L5
.L7:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-24]	@ float
	str	r3, [fp, #-60]	@ float
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L8
.L9:
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-68]
	sub	r2, r3, #1
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L14+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L8:
	ldr	r3, [fp, #-48]
	cmp	r3, #12
	ble	.L9
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [fp, #-60]	@ float
	str	r2, [r3, #-24]	@ float
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+40
	bl	printf
.L5:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L3:
	ldr	r3, [fp, #-52]
	cmp	r3, #5
	ble	.L10
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	ble	.L11
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1076363264
	.word	1079574528
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
