	.file	"708132.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\t|-----------------------------|"
	.align 8
.LC1:
	.string	"\t|  Welcome to the Ghost Hotel |"
	.align 8
.LC2:
	.string	"\t|-----------------------------|\n"
.LC3:
	.string	"\tAmount of days -> "
.LC4:
	.string	"%d"
.LC5:
	.string	"\tOur Rates are:"
.LC7:
	.string	"\tA-  Premium Rate: $%.2f |\n"
.LC9:
	.string	"\tB-  Middle Rate: $%.2f  |\n"
.LC11:
	.string	"\tC-  Low Rate: $%.2f     |\n"
.LC12:
	.string	"\tQ-  EXIT the Program     |"
.LC13:
	.string	"\tSelect your rate -> "
.LC14:
	.string	" %c"
.LC15:
	.string	"Invalid choice!"
.LC16:
	.string	"\tThe total will be %.2f\n"
.LC17:
	.string	"\tBye Bye"
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 0
.L5:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR .LC8[rip]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR .LC10[rip]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -17[rbp]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	BYTE PTR -17[rbp], al
	mov	edi, 10
	call	putchar@PLT
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 65
	je	.L2
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 66
	je	.L2
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 67
	je	.L2
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 81
	jne	.L3
.L2:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L4
.L3:
	lea	rdi, .LC15[rip]
	call	puts@PLT
.L4:
	cmp	DWORD PTR -12[rbp], 0
	je	.L5
	movzx	eax, BYTE PTR -17[rbp]
	movsx	eax, al
	cmp	eax, 81
	je	.L6
	cmp	eax, 81
	jg	.L7
	cmp	eax, 67
	je	.L8
	cmp	eax, 67
	jg	.L7
	cmp	eax, 65
	je	.L9
	cmp	eax, 66
	je	.L10
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC10[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L7
.L6:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	nop
.L7:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1077297152
	.align 8
.LC8:
	.long	0
	.long	1077133312
	.align 8
.LC10:
	.long	0
	.long	1076985856
	.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	"708132.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\011|-----------------------------|\000"
	.align	2
.LC1:
	.ascii	"\011|  Welcome to the Ghost Hotel |\000"
	.align	2
.LC2:
	.ascii	"\011|-----------------------------|\012\000"
	.align	2
.LC3:
	.ascii	"\011Amount of days -> \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"\011Our Rates are:\000"
	.align	2
.LC6:
	.ascii	"\011A-  Premium Rate: $%.2f |\012\000"
	.align	2
.LC7:
	.ascii	"\011B-  Middle Rate: $%.2f  |\012\000"
	.align	2
.LC8:
	.ascii	"\011C-  Low Rate: $%.2f     |\012\000"
	.align	2
.LC9:
	.ascii	"\011Q-  EXIT the Program     |\000"
	.align	2
.LC10:
	.ascii	"\011Select your rate -> \000"
	.align	2
.LC11:
	.ascii	" %c\000"
	.align	2
.LC12:
	.ascii	"Invalid choice!\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.align	2
.LC13:
	.ascii	"\011The total will be %.2f\012\000"
	.align	2
.LC14:
	.ascii	"\011Bye Bye\000"
	.align	2
.LC15:
	.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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L14+4
	bl	puts
	ldr	r0, .L14+8
	bl	puts
	ldr	r0, .L14+12
	bl	puts
	ldr	r0, .L14+16
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L14+20
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
.L5:
	ldr	r0, .L14+24
	bl	puts
	mov	r2, #0
	ldr	r3, .L14+28
	ldr	r0, .L14+32
	bl	printf
	mov	r2, #0
	ldr	r3, .L14+36
	ldr	r0, .L14+40
	bl	printf
	mov	r2, #0
	ldr	r3, .L14+44
	ldr	r0, .L14+48
	bl	printf
	ldr	r0, .L14+52
	bl	puts
	ldr	r0, .L14+56
	bl	printf
	sub	r3, fp, #17
	mov	r1, r3
	ldr	r0, .L14+60
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r3, r3, #255
	strb	r3, [fp, #-17]
	mov	r0, #10
	bl	putchar
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #65
	beq	.L2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #66
	beq	.L2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #67
	beq	.L2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #81
	bne	.L3
.L2:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L4
.L3:
	ldr	r0, .L14+64
	bl	puts
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L5
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	sub	r3, r3, #65
	cmp	r3, #16
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L7
.L11:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+68
	bl	printf
	b	.L6
.L10:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+68
	bl	printf
	b	.L6
.L9:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+68
	bl	printf
	b	.L6
.L7:
	ldr	r0, .L14+72
	bl	puts
	nop
.L6:
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1077297152
	.word	.LC6
	.word	1077133312
	.word	.LC7
	.word	1076985856
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
