	.file	"566191.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Enter the room type: "
.LC2:
	.string	" %c"
.LC3:
	.string	"Enter the no of  rooms: "
.LC4:
	.string	"%d"
.LC5:
	.string	"Enter the no of nights: "
.LC6:
	.string	"Enter the paying method: "
.LC7:
	.string	"Invalid type!"
.LC9:
	.string	"Invalid method!"
	.align 8
.LC10:
	.string	"Do you want to continue? (Y/N): "
.LC11:
	.string	""
.LC12:
	.string	"Total payment: %.2f\n"
	.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
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
.L13:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -27[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, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[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
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -26[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -27[rbp]
	cmp	al, 68
	jne	.L2
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, edx
	imul	eax, eax, 31000
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L3
.L2:
	movzx	eax, BYTE PTR -27[rbp]
	cmp	al, 83
	jne	.L4
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, edx
	imul	eax, eax, 35000
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L3
.L4:
	movzx	eax, BYTE PTR -27[rbp]
	cmp	al, 67
	jne	.L5
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, edx
	imul	eax, eax, 50000
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L3
.L5:
	movzx	eax, BYTE PTR -27[rbp]
	cmp	al, 69
	jne	.L6
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, edx
	imul	eax, eax, 75000
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L3
.L6:
	movzx	eax, BYTE PTR -27[rbp]
	cmp	al, 80
	jne	.L7
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, edx
	imul	eax, eax, 100000
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L3
.L7:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L3:
	movzx	eax, BYTE PTR -26[rbp]
	movsx	eax, al
	cmp	eax, 67
	je	.L8
	cmp	eax, 77
	je	.L17
	jmp	.L16
.L8:
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -16[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR .LC8[rip]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L11
.L16:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L14
.L17:
	nop
.L11:
	movss	xmm0, DWORD PTR -12[rbp]
	addss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR -12[rbp], xmm0
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -25[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 89
	je	.L13
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 121
	je	.L13
	lea	rdi, .LC11[rip]
	call	puts@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -12[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L14:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC8:
	.long	-1717986918
	.long	1069128089
	.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	"566191.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the room type: \000"
	.align	2
.LC1:
	.ascii	" %c\000"
	.align	2
.LC2:
	.ascii	"Enter the no of  rooms: \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Enter the no of nights: \000"
	.align	2
.LC5:
	.ascii	"Enter the paying method: \000"
	.global	__aeabi_i2f
	.align	2
.LC6:
	.ascii	"Invalid type!\000"
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.align	2
.LC7:
	.ascii	"Invalid method!\000"
	.global	__aeabi_fadd
	.align	2
.LC8:
	.ascii	"Do you want to continue? (Y/N): \000"
	.align	2
.LC9:
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"Total payment: %.2f\012\000"
	.align	2
.LC11:
	.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, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
.L13:
	ldr	r0, .L18+4
	bl	printf
	sub	r3, fp, #35
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r0, .L18+12
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L18+16
	bl	__isoc99_scanf
	ldr	r0, .L18+20
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L18+16
	bl	__isoc99_scanf
	ldr	r0, .L18+24
	bl	printf
	sub	r3, fp, #34
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-35]	@ zero_extendqisi2
	cmp	r3, #68
	bne	.L2
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L3
.L2:
	ldrb	r3, [fp, #-35]	@ zero_extendqisi2
	cmp	r3, #83
	bne	.L4
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, .L18+28
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L3
.L4:
	ldrb	r3, [fp, #-35]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L5
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, .L18+32
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L3
.L5:
	ldrb	r3, [fp, #-35]	@ zero_extendqisi2
	cmp	r3, #69
	bne	.L6
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, .L18+36
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L3
.L6:
	ldrb	r3, [fp, #-35]	@ zero_extendqisi2
	cmp	r3, #80
	bne	.L7
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, .L18+40
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L3
.L7:
	ldr	r0, .L18+44
	bl	puts
.L3:
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	cmp	r3, #67
	beq	.L8
	cmp	r3, #77
	beq	.L17
	b	.L16
.L8:
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L18+48
	ldr	r3, .L18+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L11
.L16:
	ldr	r0, .L18+56
	bl	puts
	mov	r3, #1
	b	.L14
.L17:
	nop
.L11:
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r0, .L18+60
	bl	printf
	sub	r3, fp, #33
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L13
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L13
	ldr	r0, .L18+64
	bl	puts
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+68
	bl	printf
	mov	r3, #0
.L14:
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	35000
	.word	50000
	.word	75000
	.word	100000
	.word	.LC6
	.word	-1717986918
	.word	1069128089
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
