	.file	"492432.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Input Room Option : "
.LC1:
	.string	" %d"
.LC2:
	.string	"Number of guests : "
.LC3:
	.string	"Number of Days : "
.LC4:
	.string	"Total Price : %d"
.LC5:
	.string	"You select invalid option."
	.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 -12[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 3
	je	.L2
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L4
	cmp	eax, 2
	je	.L5
	jmp	.L3
.L4:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[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
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jg	.L6
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 45000
	mov	DWORD PTR -12[rbp], eax
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	jg	.L8
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 44000
	mov	DWORD PTR -12[rbp], eax
	jmp	.L7
.L8:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 43000
	mov	DWORD PTR -12[rbp], eax
.L7:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	additional_tot
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L5:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[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
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jg	.L10
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 40000
	mov	DWORD PTR -12[rbp], eax
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	jg	.L12
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 38000
	mov	DWORD PTR -12[rbp], eax
	jmp	.L11
.L12:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 35000
	mov	DWORD PTR -12[rbp], eax
.L11:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	additional_tot
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L2:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[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
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jg	.L13
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 37500
	mov	DWORD PTR -12[rbp], eax
	jmp	.L14
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	jg	.L15
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 35000
	mov	DWORD PTR -12[rbp], eax
	jmp	.L14
.L15:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	imul	eax, eax, 32000
	mov	DWORD PTR -12[rbp], eax
.L14:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	additional_tot
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L3:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L9:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.string	"Do you need any additional tours ( y/n) : "
.LC7:
	.string	" %c"
.LC8:
	.string	"Input your option : "
	.text
	.globl	additional_tot
	.type	additional_tot, @function
additional_tot:
.LFB1:
	.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 -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L19
.L27:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -21[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -21[rbp]
	movsx	eax, al
	cmp	eax, 121
	je	.L20
	cmp	eax, 121
	jg	.L19
	cmp	eax, 110
	je	.L21
	cmp	eax, 110
	jg	.L19
	cmp	eax, 78
	je	.L21
	cmp	eax, 89
	jne	.L19
.L20:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 4
	je	.L22
	cmp	eax, 4
	jg	.L19
	cmp	eax, 3
	je	.L24
	cmp	eax, 3
	jg	.L19
	cmp	eax, 1
	je	.L25
	cmp	eax, 2
	je	.L26
	jmp	.L19
.L25:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax, 3500
	add	DWORD PTR -16[rbp], eax
	jmp	.L23
.L26:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax, 1000
	add	DWORD PTR -16[rbp], eax
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax, 1500
	add	DWORD PTR -16[rbp], eax
	jmp	.L23
.L22:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax, 2000
	add	DWORD PTR -16[rbp], eax
	nop
.L23:
	jmp	.L19
.L21:
	mov	DWORD PTR -12[rbp], 2
	nop
.L19:
	cmp	DWORD PTR -12[rbp], 0
	jle	.L27
	mov	eax, DWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	additional_tot, .-additional_tot
	.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	"492432.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input Room Option : \000"
	.align	2
.LC1:
	.ascii	" %d\000"
	.align	2
.LC2:
	.ascii	"Number of guests : \000"
	.align	2
.LC3:
	.ascii	"Number of Days : \000"
	.align	2
.LC4:
	.ascii	"Total Price : %d\000"
	.align	2
.LC5:
	.ascii	"You select invalid option.\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L18+4
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	beq	.L2
	cmp	r3, #3
	bgt	.L3
	cmp	r3, #1
	beq	.L4
	cmp	r3, #2
	beq	.L5
	b	.L3
.L4:
	ldr	r0, .L18+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r0, .L18+16
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bgt	.L6
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	ldr	r2, .L18+20
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L7
.L6:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	bgt	.L8
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	ldr	r2, .L18+24
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r1, r2, r3
	mov	r2, r1
	lsl	r2, r2, #1
	add	r2, r2, r1
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r1
	lsl	r3, r3, #3
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	additional_tot
	mov	r2, r0
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L18+28
	bl	printf
	b	.L9
.L5:
	ldr	r0, .L18+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r0, .L18+16
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bgt	.L10
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	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, #2
	add	r3, r3, r2
	lsl	r3, r3, #6
	str	r3, [fp, #-12]
	b	.L11
.L10:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	bgt	.L12
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r1, r3, #5
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	str	r3, [fp, #-12]
	b	.L11
.L12:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	ldr	r2, .L18+32
	mul	r3, r2, r3
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	additional_tot
	mov	r2, r0
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L18+28
	bl	printf
	b	.L9
.L2:
	ldr	r0, .L18+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r0, .L18+16
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bgt	.L13
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	ldr	r2, .L18+36
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L14
.L13:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	bgt	.L15
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	ldr	r2, .L18+32
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L14
.L15:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #8
	str	r3, [fp, #-12]
.L14:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	additional_tot
	mov	r2, r0
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L18+28
	bl	printf
	b	.L9
.L3:
	ldr	r0, .L18+40
	bl	printf
	nop
.L9:
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	45000
	.word	44000
	.word	.LC4
	.word	35000
	.word	37500
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Do you need any additional tours ( y/n) : \000"
	.align	2
.LC8:
	.ascii	" %c\000"
	.align	2
.LC9:
	.ascii	"Input your option : \000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	additional_tot
	.syntax unified
	.arm
	.fpu softvfp
	.type	additional_tot, %function
additional_tot:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L21
.L30:
	ldr	r0, .L33+4
	bl	printf
	sub	r3, fp, #21
	mov	r1, r3
	ldr	r0, .L33+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L22
	cmp	r3, #121
	bgt	.L21
	cmp	r3, #110
	beq	.L23
	cmp	r3, #110
	bgt	.L21
	cmp	r3, #78
	beq	.L23
	cmp	r3, #89
	bne	.L21
.L22:
	ldr	r0, .L33+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L33+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L21
.L26:
	.word	.L29
	.word	.L28
	.word	.L27
	.word	.L25
.L29:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	b	.L24
.L28:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	b	.L24
.L27:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	b	.L24
.L25:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	nop
.L24:
	b	.L21
.L23:
	mov	r3, #2
	str	r3, [fp, #-12]
	nop
.L21:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L30
	ldr	r3, [fp, #-16]
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC10
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC1
	.size	additional_tot, .-additional_tot
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
