	.file	"280007.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter your score over 10 in CSC201: "
.LC1:
	.string	"%f"
	.align 8
.LC2:
	.string	"Enter your score over 10 in CSC205: "
	.align 8
.LC3:
	.string	"Enter your score over 10 in STA205: "
.LC5:
	.string	"Please input score over 10"
.LC6:
	.string	"Your total score is: %f \n"
.LC8:
	.string	"Your average score is: %f \n"
	.align 8
.LC11:
	.string	"Your score in percentage is: %f percent \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
.L6:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -32[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L2
	movss	xmm0, DWORD PTR -28[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L2
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L2
	jmp	.L5
.L2:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L5:
	movss	xmm0, DWORD PTR -32[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L6
	movss	xmm0, DWORD PTR -28[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L6
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L6
	mov	edi, 10
	call	putchar@PLT
	movss	xmm1, DWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -20[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC7[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -16[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC9[rip]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC10[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -12[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC4:
	.long	1092616192
	.align 4
.LC7:
	.long	1077936128
	.align 4
.LC9:
	.long	1106247680
	.align 4
.LC10:
	.long	1120403456
	.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	"280007.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter your score over 10 in CSC201: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.align	2
.LC2:
	.ascii	"Enter your score over 10 in CSC205: \000"
	.align	2
.LC3:
	.ascii	"Enter your score over 10 in STA205: \000"
	.global	__aeabi_fcmpgt
	.align	2
.LC4:
	.ascii	"Please input score over 10\000"
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"Your total score is: %f \012\000"
	.global	__aeabi_fdiv
	.align	2
.LC6:
	.ascii	"Your average score is: %f \012\000"
	.global	__aeabi_fmul
	.align	2
.LC7:
	.ascii	"Your score in percentage is: %f percent \012\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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L6:
	ldr	r0, .L9+4
	bl	puts
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L9+8
	bl	__isoc99_scanf
	ldr	r0, .L9+12
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L9+8
	bl	__isoc99_scanf
	ldr	r0, .L9+16
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L9+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-32]	@ float
	ldr	r1, .L9+20
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L9+20
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-24]	@ float
	ldr	r1, .L9+20
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	b	.L5
.L2:
	ldr	r0, .L9+24
	bl	printf
	mov	r0, #10
	bl	putchar
.L5:
	ldr	r3, [fp, #-32]	@ float
	ldr	r1, .L9+20
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L9+20
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-24]	@ float
	ldr	r1, .L9+20
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-28]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L9+28
	bl	printf
	ldr	r1, .L9+32
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L9+36
	bl	printf
	ldr	r1, .L9+40
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L9+44
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L9+48
	bl	printf
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1092616192
	.word	.LC4
	.word	.LC5
	.word	1077936128
	.word	.LC6
	.word	1106247680
	.word	1120403456
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
