	.file	"477962.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the choice :\n1. Simple Interest\n2.Compound Interest"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Enter the value of amount, number of years, and rate of interest"
.LC3:
	.string	"%d%d%f"
.LC5:
	.string	"\nThe simple interest is = %f"
	.align 8
.LC7:
	.string	"\nThe compound interest is = %f"
.LC8:
	.string	"\nEnter the correct choice"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -12[rbp]
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 1
	je	.L2
	cmp	eax, 2
	je	.L3
	jmp	.L4
.L2:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, edx
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -12[rbp]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC4[rip]
	divss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
.L3:
	mov	eax, DWORD PTR -24[rbp]
	pxor	xmm5, xmm5
	cvtsi2sd	xmm5, eax
	movsd	QWORD PTR -40[rbp], xmm5
	mov	eax, DWORD PTR -20[rbp]
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, eax
	movss	xmm0, DWORD PTR -12[rbp]
	movss	xmm2, DWORD PTR .LC4[rip]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC6[rip]
	addss	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movapd	xmm1, xmm3
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
.L4:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC4:
	.long	1120403456
	.align 4
.LC6:
	.long	1065353216
	.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	"477962.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the choice :\0121. Simple Interest\0122.Compo"
	.ascii	"und Interest\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter the value of amount, number of years, and rat"
	.ascii	"e of interest\000"
	.align	2
.LC3:
	.ascii	"%d%d%f\000"
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC4:
	.ascii	"\012The simple interest is = %f\000"
	.global	__aeabi_i2d
	.global	__aeabi_fadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.align	2
.LC5:
	.ascii	"\012The compound interest is = %f\000"
	.align	2
.LC6:
	.ascii	"\012Enter the correct choice\000"
	.align	2
.LC7:
	.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	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, .L7+4
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L7+8
	bl	__isoc99_scanf
	ldr	r0, .L7+12
	bl	printf
	sub	r3, fp, #28
	sub	r2, fp, #36
	sub	r1, fp, #40
	ldr	r0, .L7+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L2
	cmp	r3, #2
	beq	.L3
	b	.L4
.L2:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-28]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L7+20
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L7+24
	bl	printf
.L3:
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L7+20
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L7+28
	bl	printf
.L4:
	ldr	r0, .L7+32
	bl	printf
	nop
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1120403456
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
