	.file	"520696.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Press E to exit."
.LC1:
	.string	"Enter course type(H/M/F): "
.LC2:
	.string	"%c%*c"
.LC3:
	.string	"Invalid Input!"
	.align 8
.LC4:
	.string	"\nCourse\tNo of students\tTotal income"
.LC6:
	.string	"\nH\t%d\t\t%.2f"
.LC8:
	.string	"\nM\t%d\t\t%.2f"
.LC10:
	.string	"\nF\t%d\t\t%.2f"
	.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 -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L11:
	lea	rdi, .LC1[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, 69
	je	.L3
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 101
	je	.L3
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 72
	je	.L4
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 104
	jne	.L5
.L4:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L6
.L5:
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 77
	je	.L7
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 109
	jne	.L8
.L7:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L6
.L8:
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 70
	je	.L9
	movzx	eax, BYTE PTR -25[rbp]
	cmp	al, 102
	jne	.L10
.L9:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L6
.L10:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	sub	DWORD PTR -24[rbp], 1
.L6:
	add	DWORD PTR -24[rbp], 1
.L2:
	cmp	DWORD PTR -24[rbp], 100
	jle	.L11
.L3:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm1, xmm0
	movq	rdx, xmm1
	mov	eax, DWORD PTR -20[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm1, xmm0
	movq	rdx, xmm1
	mov	eax, DWORD PTR -16[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	movq	rdx, xmm1
	mov	eax, DWORD PTR -12[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	0
	.long	1083666432
	.align 8
.LC7:
	.long	0
	.long	1084178432
	.align 8
.LC9:
	.long	0
	.long	1084459008
	.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	"520696.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Press E to exit.\000"
	.align	2
.LC1:
	.ascii	"Enter course type(H/M/F): \000"
	.align	2
.LC2:
	.ascii	"%c%*c\000"
	.align	2
.LC3:
	.ascii	"Invalid Input!\000"
	.align	2
.LC4:
	.ascii	"\012Course\011No of students\011Total income\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.align	2
.LC5:
	.ascii	"\012H\011%d\011\011%.2f\000"
	.align	2
.LC6:
	.ascii	"\012M\011%d\011\011%.2f\000"
	.align	2
.LC7:
	.ascii	"\012F\011%d\011\011%.2f\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L14+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L11:
	ldr	r0, .L14+8
	bl	printf
	sub	r3, fp, #33
	mov	r1, r3
	ldr	r0, .L14+12
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #69
	beq	.L3
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #101
	beq	.L3
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #72
	beq	.L4
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #104
	bne	.L5
.L4:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L6
.L5:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #77
	beq	.L7
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L8
.L7:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L6
.L8:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #70
	beq	.L9
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L10
.L9:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L6
.L10:
	ldr	r0, .L14+16
	bl	puts
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L6:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #100
	ble	.L11
.L3:
	ldr	r0, .L14+20
	bl	printf
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L14+28
	bl	printf
	ldr	r4, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L14+36
	bl	printf
	ldr	r4, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L14+44
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	1083666432
	.word	.LC5
	.word	1084178432
	.word	.LC6
	.word	1084459008
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
