	.file	"211081084.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Enter Account %d type : "
.LC2:
	.string	"%d"
.LC3:
	.string	"Initial amount : "
.LC4:
	.string	"%lf"
.LC6:
	.string	"Invalid type\n"
.LC8:
	.string	"the_stack_data/211081084.c"
.LC9:
	.string	"checkEligibility(1000) == 2"
.LC11:
	.string	"checkEligibility(5000) == 1"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 1
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[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, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -32[rbp]
	movq	xmm0, rdx
	mov	edi, eax
	call	calculateAmount
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR .LC5[rip]
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jp	.L3
	movsd	xmm0, QWORD PTR .LC5[rip]
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jne	.L3
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L2
.L3:
	mov	rax, QWORD PTR .LC7[rip]
	movq	xmm0, rax
	call	checkEligibility
	cmp	eax, 2
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 36
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L5:
	mov	rax, QWORD PTR .LC10[rip]
	movq	xmm0, rax
	call	checkEligibility
	cmp	eax, 1
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 37
	lea	rsi, .LC8[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L6:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	edi, eax
	call	printDetails
	add	DWORD PTR -28[rbp], 1
.L2:
	cmp	DWORD PTR -28[rbp], 5
	jle	.L7
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	calculateAmount
	.type	calculateAmount, @function
calculateAmount:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	movsd	QWORD PTR -32[rbp], xmm0
	cmp	DWORD PTR -20[rbp], 3
	je	.L12
	cmp	DWORD PTR -20[rbp], 3
	jg	.L13
	cmp	DWORD PTR -20[rbp], 1
	je	.L14
	cmp	DWORD PTR -20[rbp], 2
	je	.L15
	jmp	.L13
.L14:
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC12[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC13[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L16
.L15:
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC14[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC13[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L16
.L12:
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC13[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L16
.L13:
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -8[rbp], xmm0
.L16:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	calculateAmount, .-calculateAmount
	.section	.rodata
.LC16:
	.string	"\nAccount type : %d\n"
.LC17:
	.string	"Initial Amount : %.2f\n"
	.align 8
.LC18:
	.string	"Amount of the account at the end of the year : %.2f\n"
.LC19:
	.string	"Eligibility : Eligible"
.LC20:
	.string	"Eligibility : Not Eligible"
	.text
	.globl	printDetails
	.type	printDetails, @function
printDetails:
.LFB2:
	.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	DWORD PTR -20[rbp], edi
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	QWORD PTR -40[rbp], xmm1
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	checkEligibility
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	DWORD PTR -4[rbp], 1
	jne	.L19
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L20
.L19:
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L20:
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	printDetails, .-printDetails
	.globl	checkEligibility
	.type	checkEligibility, @function
checkEligibility:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -4[rbp], 2
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, QWORD PTR .LC10[rip]
	jb	.L22
	mov	DWORD PTR -4[rbp], 1
.L22:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	checkEligibility, .-checkEligibility
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.align 8
.LC5:
	.long	0
	.long	-1074790400
	.align 8
.LC7:
	.long	0
	.long	1083129856
	.align 8
.LC10:
	.long	0
	.long	1085507584
	.align 8
.LC12:
	.long	0
	.long	1074790400
	.align 8
.LC13:
	.long	0
	.long	1079574528
	.align 8
.LC14:
	.long	0
	.long	1075576832
	.align 8
.LC15:
	.long	0
	.long	1076101120
	.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	"211081084.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter Account %d type : \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Initial amount : \000"
	.align	2
.LC3:
	.ascii	"%lf\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC4:
	.ascii	"Invalid type\012\000"
	.align	2
.LC5:
	.ascii	"the_stack_data/211081084.c\000"
	.align	2
.LC6:
	.ascii	"checkEligibility(1000) == 2\000"
	.align	2
.LC7:
	.ascii	"checkEligibility(5000) == 1\000"
	.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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L2
.L7:
	ldr	r1, [fp, #-32]
	ldr	r0, .L12+4
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L12+8
	bl	__isoc99_scanf
	ldr	r0, .L12+12
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L12+16
	bl	__isoc99_scanf
	ldr	r1, [fp, #-36]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	calculateAmount
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r2, #0
	ldr	r3, .L12+20
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L12+24
	bl	puts
	b	.L2
.L11:
	mov	r0, #0
	ldr	r1, .L12+28
	bl	checkEligibility
	mov	r3, r0
	cmp	r3, #2
	beq	.L5
	ldr	r3, .L12+32
	mov	r2, #36
	ldr	r1, .L12+36
	ldr	r0, .L12+40
	bl	__assert_fail
.L5:
	mov	r0, #0
	ldr	r1, .L12+44
	bl	checkEligibility
	mov	r3, r0
	cmp	r3, #1
	beq	.L6
	ldr	r3, .L12+32
	mov	r2, #37
	ldr	r1, .L12+36
	ldr	r0, .L12+48
	bl	__assert_fail
.L6:
	ldr	ip, [fp, #-36]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	mov	r0, ip
	bl	printDetails
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	ble	.L7
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	-1074790400
	.word	.LC4
	.word	1083129856
	.word	__PRETTY_FUNCTION__.4630
	.word	.LC5
	.word	.LC6
	.word	1085507584
	.word	.LC7
	.size	main, .-main
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
	.global	calculateAmount
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculateAmount, %function
calculateAmount:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L15
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bgt	.L16
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L17
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L18
	b	.L16
.L17:
	mov	r2, #0
	ldr	r3, .L21
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L21+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L19
.L18:
	mov	r2, #0
	ldr	r3, .L21+8
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L21+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L19
.L15:
	mov	r2, #0
	ldr	r3, .L21+12
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L21+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L19
.L16:
	mov	r2, #0
	ldr	r3, .L21+16
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.L19:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	1074790400
	.word	1079574528
	.word	1075576832
	.word	1076101120
	.word	-1074790400
	.size	calculateAmount, .-calculateAmount
	.section	.rodata
	.align	2
.LC9:
	.ascii	"\012Account type : %d\012\000"
	.align	2
.LC10:
	.ascii	"Initial Amount : %.2f\012\000"
	.align	2
.LC11:
	.ascii	"Amount of the account at the end of the year : %.2f"
	.ascii	"\012\000"
	.align	2
.LC12:
	.ascii	"Eligibility : Eligible\000"
	.align	2
.LC13:
	.ascii	"Eligibility : Not Eligible\000"
	.text
	.align	2
	.global	printDetails
	.syntax unified
	.arm
	.fpu softvfp
	.type	printDetails, %function
printDetails:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldmib	fp, {r0-r1}
	bl	checkEligibility
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, .L26
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L26+4
	bl	printf
	ldmib	fp, {r2-r3}
	ldr	r0, .L26+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L24
	ldr	r0, .L26+12
	bl	puts
	b	.L25
.L24:
	ldr	r0, .L26+16
	bl	puts
.L25:
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	printDetails, .-printDetails
	.global	__aeabi_dcmpge
	.align	2
	.global	checkEligibility
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkEligibility, %function
checkEligibility:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-8]
	mov	r2, #0
	ldr	r3, .L33
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	mov	r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	1085507584
	.size	checkEligibility, .-checkEligibility
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4630, %object
	.size	__PRETTY_FUNCTION__.4630, 5
__PRETTY_FUNCTION__.4630:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
