	.file	"281762.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Course Type : "
.LC1:
	.string	" %c"
.LC5:
	.string	"Invalid Course type"
	.align 8
.LC6:
	.string	"Do you want to add more ? (y/n) : "
	.align 8
.LC7:
	.string	"\nDiploma in Hospitality Management"
.LC8:
	.string	"\nDiploma in Marketing"
.LC9:
	.string	"\nDiploma in Finance"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -37[rbp], 121
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	QWORD PTR -20[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L2
.L12:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -38[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -38[rbp]
	cmp	al, 72
	je	.L3
	movzx	eax, BYTE PTR -38[rbp]
	cmp	al, 104
	jne	.L4
.L3:
	movss	xmm1, DWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR .LC2[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L4:
	movzx	eax, BYTE PTR -38[rbp]
	cmp	al, 77
	je	.L6
	movzx	eax, BYTE PTR -38[rbp]
	cmp	al, 109
	jne	.L7
.L6:
	movss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR .LC3[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -28[rbp], xmm0
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L5
.L7:
	movzx	eax, BYTE PTR -38[rbp]
	cmp	al, 70
	je	.L8
	movzx	eax, BYTE PTR -38[rbp]
	cmp	al, 102
	jne	.L9
.L8:
	movss	xmm1, DWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR .LC4[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L5
.L9:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L2
.L5:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -37[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -37[rbp]
	cmp	al, 110
	je	.L20
	add	DWORD PTR -36[rbp], 1
.L2:
	cmp	DWORD PTR -36[rbp], 100
	jg	.L11
	movzx	eax, BYTE PTR -37[rbp]
	cmp	al, 121
	je	.L12
	jmp	.L11
.L20:
	nop
.L11:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L13
.L17:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L14
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L15
.L14:
	cmp	DWORD PTR -36[rbp], 1
	jne	.L16
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L15
.L16:
	cmp	DWORD PTR -36[rbp], 2
	jne	.L15
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L15:
	mov	edx, DWORD PTR -36[rbp]
	lea	rcx, -20[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	printDetails
	add	DWORD PTR -36[rbp], 1
.L13:
	cmp	DWORD PTR -36[rbp], 2
	jle	.L17
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC10:
	.string	"\tTotal Registrations fee = %.2f"
.LC11:
	.string	"\n\tTotal no of Students = %d\n"
	.text
	.globl	printDetails
	.type	printDetails, @function
printDetails:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	printDetails, .-printDetails
	.section	.rodata
	.align 4
.LC2:
	.long	1153138688
	.align 4
.LC3:
	.long	1157234688
	.align 4
.LC4:
	.long	1159479296
	.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	"281762.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Course Type : \000"
	.align	2
.LC1:
	.ascii	" %c\000"
	.global	__aeabi_fadd
	.align	2
.LC2:
	.ascii	"Invalid Course type\000"
	.align	2
.LC3:
	.ascii	"Do you want to add more ? (y/n) : \000"
	.align	2
.LC4:
	.ascii	"\012Diploma in Hospitality Management\000"
	.align	2
.LC5:
	.ascii	"\012Diploma in Marketing\000"
	.align	2
.LC6:
	.ascii	"\012Diploma in Finance\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #121
	strb	r3, [fp, #-37]
	sub	r3, fp, #32
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L12:
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #38
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	cmp	r3, #72
	beq	.L3
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	cmp	r3, #104
	bne	.L4
.L3:
	ldr	r3, [fp, #-32]	@ float
	ldr	r1, .L21+12
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L5
.L4:
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	cmp	r3, #77
	beq	.L6
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L7
.L6:
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L21+16
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L5
.L7:
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	cmp	r3, #70
	beq	.L8
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L9
.L8:
	ldr	r3, [fp, #-24]	@ float
	ldr	r1, .L21+20
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L5
.L9:
	ldr	r0, .L21+24
	bl	puts
	b	.L2
.L5:
	ldr	r0, .L21+28
	bl	printf
	sub	r3, fp, #37
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L20
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r3, [fp, #-36]
	cmp	r3, #100
	bgt	.L11
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L12
	b	.L11
.L20:
	nop
.L11:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L13
.L17:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L21+32
	bl	puts
	b	.L15
.L14:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bne	.L16
	ldr	r0, .L21+36
	bl	puts
	b	.L15
.L16:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	bne	.L15
	ldr	r0, .L21+40
	bl	puts
.L15:
	sub	r1, fp, #20
	sub	r3, fp, #32
	ldr	r2, [fp, #-36]
	mov	r0, r3
	bl	printDetails
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L13:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	ble	.L17
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	1153138688
	.word	1157234688
	.word	1159479296
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\011Total Registrations fee = %.2f\000"
	.align	2
.LC9:
	.ascii	"\012\011Total no of Students = %d\012\000"
	.text
	.align	2
	.global	printDetails
	.syntax unified
	.arm
	.fpu softvfp
	.type	printDetails, %function
printDetails:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L24
	bl	printf
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC8
	.word	.LC9
	.size	printDetails, .-printDetails
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
