	.file	"26700712.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"cls"
	.align 8
.LC1:
	.string	"Enter number of units consumed in kWh : "
.LC2:
	.string	"%f"
	.align 8
.LC13:
	.string	"\nYour electricity bill is :  %0.3f INR\n"
	.align 8
.LC14:
	.string	"\n Want to generate another bill (Y/n): "
.LC15:
	.string	"pause"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -17[rbp], 89
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
.L12:
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC3[rip]
	comiss	xmm0, xmm1
	jb	.L18
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC4[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L4
.L18:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC5[rip]
	comiss	xmm0, xmm1
	jb	.L19
	movss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR .LC3[rip]
	subss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L4
.L19:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC8[rip]
	comiss	xmm0, xmm1
	jb	.L20
	movss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR .LC5[rip]
	subss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L4
.L20:
	movss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	subss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
.L4:
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 10
	je	.L9
	cmp	BYTE PTR -17[rbp], 89
	je	.L9
	cmp	BYTE PTR -17[rbp], 121
	jne	.L10
.L9:
	mov	eax, 89
	jmp	.L11
.L10:
	mov	eax, 110
.L11:
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 89
	je	.L12
	cmp	BYTE PTR -17[rbp], 121
	je	.L12
	lea	rdi, .LC15[rip]
	call	system@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.long	1112014848
	.align 4
.LC4:
	.long	1056964608
	.align 4
.LC5:
	.long	1125515264
	.align 8
.LC6:
	.long	0
	.long	1072168960
	.align 8
.LC7:
	.long	0
	.long	1077477376
	.align 4
.LC8:
	.long	1132068864
	.align 8
.LC9:
	.long	858993459
	.long	1072902963
	.align 8
.LC10:
	.long	0
	.long	1079574528
	.align 8
.LC11:
	.long	0
	.long	1073217536
	.align 8
.LC12:
	.long	0
	.long	1080786944
	.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	"26700712.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"cls\000"
	.align	2
.LC1:
	.ascii	"Enter number of units consumed in kWh : \000"
	.align	2
.LC2:
	.ascii	"%f\000"
	.global	__aeabi_fcmple
	.global	__aeabi_fmul
	.global	__aeabi_fsub
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.align	2
.LC3:
	.ascii	"\012Your electricity bill is :  %0.3f INR\012\000"
	.align	2
.LC4:
	.ascii	"\012 Want to generate another bill (Y/n): \000"
	.align	2
.LC5:
	.ascii	"pause\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #89
	strb	r3, [fp, #-17]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L12:
	ldr	r0, .L21+8
	bl	system
	ldr	r0, .L21+12
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L21+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L21+20
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-16]	@ float
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L4
.L18:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L21+24
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L21+20
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L21+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L21+32
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L4
.L19:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L21+36
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L21+24
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L21+40
	ldr	r3, .L21+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L21+48
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L4
.L20:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L21+36
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L21+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L21+56
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
.L4:
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L21+60
	bl	printf
	ldr	r3, .L21+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L21+64
	bl	printf
	ldr	r3, .L21+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L9
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L9
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #121
	bne	.L10
.L9:
	mov	r3, #89
	b	.L11
.L10:
	mov	r3, #110
.L11:
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L12
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L12
	ldr	r0, .L21+68
	bl	system
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC6
	.word	stdin
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1112014848
	.word	1125515264
	.word	1072168960
	.word	1077477376
	.word	1132068864
	.word	858993459
	.word	1072902963
	.word	1079574528
	.word	1073217536
	.word	1080786944
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
