	.file	"602717.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"G"
.LC2:
	.string	"GPA"
	.text
	.globl	get_type
	.type	get_type, @function
get_type:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rax, -13[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	eax, 0
	jmp	.L5
.L2:
	lea	rax, -13[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 2
.L5:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_type, .-get_type
	.section	.rodata
.LC3:
	.string	"A+"
.LC5:
	.string	"A"
.LC7:
	.string	"A-"
.LC9:
	.string	"B+"
.LC11:
	.string	"B"
.LC13:
	.string	"B-"
.LC15:
	.string	"C+"
.LC17:
	.string	"C"
.LC19:
	.string	"C-"
	.text
	.globl	get_grade
	.type	get_grade, @function
get_grade:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -11[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rax, -11[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	movss	xmm0, DWORD PTR .LC4[rip]
	jmp	.L18
.L8:
	lea	rax, -11[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	movss	xmm0, DWORD PTR .LC6[rip]
	jmp	.L18
.L10:
	lea	rax, -11[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	movss	xmm0, DWORD PTR .LC8[rip]
	jmp	.L18
.L11:
	lea	rax, -11[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	movss	xmm0, DWORD PTR .LC10[rip]
	jmp	.L18
.L12:
	lea	rax, -11[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	movss	xmm0, DWORD PTR .LC12[rip]
	jmp	.L18
.L13:
	lea	rax, -11[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	movss	xmm0, DWORD PTR .LC14[rip]
	jmp	.L18
.L14:
	lea	rax, -11[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	movss	xmm0, DWORD PTR .LC16[rip]
	jmp	.L18
.L15:
	lea	rax, -11[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	movss	xmm0, DWORD PTR .LC18[rip]
	jmp	.L18
.L16:
	lea	rax, -11[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	movss	xmm0, DWORD PTR .LC20[rip]
	jmp	.L18
.L17:
	movss	xmm0, DWORD PTR .LC21[rip]
.L18:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_grade, .-get_grade
	.section	.rodata
.LC22:
	.string	"%f"
	.text
	.globl	get_gpa
	.type	get_gpa, @function
get_gpa:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC23[rip]
	jp	.L21
	ucomiss	xmm0, DWORD PTR .LC23[rip]
	jne	.L21
	movss	xmm0, DWORD PTR .LC4[rip]
	jmp	.L40
.L21:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC24[rip]
	jp	.L24
	ucomiss	xmm0, DWORD PTR .LC24[rip]
	jne	.L24
	movss	xmm0, DWORD PTR .LC6[rip]
	jmp	.L40
.L24:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC25[rip]
	jp	.L26
	ucomiss	xmm0, DWORD PTR .LC25[rip]
	jne	.L26
	movss	xmm0, DWORD PTR .LC8[rip]
	jmp	.L40
.L26:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC26[rip]
	jp	.L28
	ucomiss	xmm0, DWORD PTR .LC26[rip]
	jne	.L28
	movss	xmm0, DWORD PTR .LC10[rip]
	jmp	.L40
.L28:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC27[rip]
	jp	.L30
	ucomiss	xmm0, DWORD PTR .LC27[rip]
	jne	.L30
	movss	xmm0, DWORD PTR .LC12[rip]
	jmp	.L40
.L30:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC28[rip]
	jp	.L32
	ucomiss	xmm0, DWORD PTR .LC28[rip]
	jne	.L32
	movss	xmm0, DWORD PTR .LC14[rip]
	jmp	.L40
.L32:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC29[rip]
	jp	.L34
	ucomiss	xmm0, DWORD PTR .LC29[rip]
	jne	.L34
	movss	xmm0, DWORD PTR .LC16[rip]
	jmp	.L40
.L34:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC30[rip]
	jp	.L36
	ucomiss	xmm0, DWORD PTR .LC30[rip]
	jne	.L36
	movss	xmm0, DWORD PTR .LC18[rip]
	jmp	.L40
.L36:
	movss	xmm0, DWORD PTR -12[rbp]
	ucomiss	xmm0, DWORD PTR .LC31[rip]
	jp	.L38
	ucomiss	xmm0, DWORD PTR .LC31[rip]
	jne	.L38
	movss	xmm0, DWORD PTR .LC20[rip]
	jmp	.L40
.L38:
	movss	xmm0, DWORD PTR .LC21[rip]
.L40:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_gpa, .-get_gpa
	.section	.rodata
.LC32:
	.string	"90-100"
.LC33:
	.string	"85-89"
.LC34:
	.string	"80-84"
.LC35:
	.string	"77-79"
.LC36:
	.string	"73-76"
.LC37:
	.string	"70-72"
.LC38:
	.string	"67-69"
.LC39:
	.string	"63-66"
.LC40:
	.string	"60-62"
	.text
	.globl	get_score
	.type	get_score, @function
get_score:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -15[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rax, -15[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	movss	xmm0, DWORD PTR .LC4[rip]
	jmp	.L62
.L52:
	lea	rax, -15[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L54
	movss	xmm0, DWORD PTR .LC6[rip]
	jmp	.L62
.L54:
	lea	rax, -15[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L55
	movss	xmm0, DWORD PTR .LC8[rip]
	jmp	.L62
.L55:
	lea	rax, -15[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	movss	xmm0, DWORD PTR .LC10[rip]
	jmp	.L62
.L56:
	lea	rax, -15[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L57
	movss	xmm0, DWORD PTR .LC12[rip]
	jmp	.L62
.L57:
	lea	rax, -15[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L58
	movss	xmm0, DWORD PTR .LC14[rip]
	jmp	.L62
.L58:
	lea	rax, -15[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	movss	xmm0, DWORD PTR .LC16[rip]
	jmp	.L62
.L59:
	lea	rax, -15[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L60
	movss	xmm0, DWORD PTR .LC18[rip]
	jmp	.L62
.L60:
	lea	rax, -15[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	movss	xmm0, DWORD PTR .LC20[rip]
	jmp	.L62
.L61:
	movss	xmm0, DWORD PTR .LC21[rip]
.L62:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_score, .-get_score
	.globl	get_avg
	.type	get_avg, @function
get_avg:
.LFB10:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L65
.L70:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L66
	cmp	eax, 2
	ja	.L67
	test	eax, eax
	je	.L68
	cmp	eax, 1
	je	.L69
	jmp	.L67
.L68:
	mov	eax, 0
	call	get_grade
	movss	xmm1, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L67
.L69:
	mov	eax, 0
	call	get_gpa
	movss	xmm1, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L67
.L66:
	mov	eax, 0
	call	get_score
	movss	xmm1, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	nop
.L67:
	add	DWORD PTR -8[rbp], 1
.L65:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L70
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -4[rbp]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 12[rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get_avg, .-get_avg
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jbe	.L79
	mov	eax, -1
	jmp	.L74
.L79:
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jbe	.L80
	mov	eax, 1
	jmp	.L74
.L80:
	mov	eax, 0
.L74:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	cmp, .-cmp
	.section	.rodata
.LC42:
	.string	"%d"
.LC44:
	.string	"%s\n%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -236[rbp]
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -228[rbp], 0
	jmp	.L82
.L83:
	mov	eax, 0
	call	get_type
	mov	edx, DWORD PTR -228[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -224[rbp+rdx*4], eax
	add	DWORD PTR -228[rbp], 1
.L82:
	mov	eax, DWORD PTR -236[rbp]
	cmp	DWORD PTR -228[rbp], eax
	jl	.L83
	lea	rax, -232[rbp]
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -228[rbp], 0
	jmp	.L84
.L85:
	mov	edx, DWORD PTR -236[rbp]
	lea	rcx, -176[rbp]
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	sal	rax, 4
	add	rcx, rax
	lea	rax, -224[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	get_avg
	add	DWORD PTR -228[rbp], 1
.L84:
	mov	eax, DWORD PTR -232[rbp]
	cmp	DWORD PTR -228[rbp], eax
	jl	.L85
	mov	eax, DWORD PTR -232[rbp]
	movsx	rsi, eax
	lea	rax, -176[rbp]
	lea	rcx, cmp[rip]
	mov	edx, 16
	mov	rdi, rax
	call	qsort@PLT
	mov	DWORD PTR -228[rbp], 0
	jmp	.L86
.L87:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 164
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC43[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	lea	rcx, -176[rbp]
	mov	edx, DWORD PTR -228[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rcx, rdx
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -228[rbp], 1
.L86:
	cmp	DWORD PTR -228[rbp], 2
	jle	.L87
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC4:
	.long	1119748096
	.align 4
.LC6:
	.long	1118699520
	.align 4
.LC8:
	.long	1118044160
	.align 4
.LC10:
	.long	1117519872
	.align 4
.LC12:
	.long	1117126656
	.align 4
.LC14:
	.long	1116471296
	.align 4
.LC16:
	.long	1116209152
	.align 4
.LC18:
	.long	1115815936
	.align 4
.LC20:
	.long	1114636288
	.align 4
.LC21:
	.long	1112014848
	.align 4
.LC23:
	.long	1082759578
	.align 4
.LC24:
	.long	1082130432
	.align 4
.LC25:
	.long	1080872141
	.align 4
.LC26:
	.long	1079194419
	.align 4
.LC27:
	.long	1077936128
	.align 4
.LC28:
	.long	1076677837
	.align 4
.LC29:
	.long	1075000115
	.align 4
.LC30:
	.long	1073741824
	.align 4
.LC31:
	.long	1071225242
	.align 8
.LC43:
	.long	0
	.long	1071644672
	.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	"602717.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"G\000"
	.align	2
.LC2:
	.ascii	"GPA\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_type
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_type, %function
get_type:
	@ 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, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L7+4
	bl	__isoc99_scanf
	bl	getchar
	sub	r3, fp, #16
	ldr	r1, .L7+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L5
.L2:
	sub	r3, fp, #16
	ldr	r1, .L7+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	mov	r3, #1
	b	.L5
.L4:
	mov	r3, #2
.L5:
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	get_type, .-get_type
	.section	.rodata
	.align	2
.LC4:
	.ascii	"A+\000"
	.align	2
.LC5:
	.ascii	"A\000"
	.align	2
.LC6:
	.ascii	"A-\000"
	.align	2
.LC7:
	.ascii	"B+\000"
	.align	2
.LC8:
	.ascii	"B\000"
	.align	2
.LC9:
	.ascii	"B-\000"
	.align	2
.LC10:
	.ascii	"C+\000"
	.align	2
.LC11:
	.ascii	"C\000"
	.align	2
.LC12:
	.ascii	"C-\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_grade
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_grade, %function
get_grade:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	bl	getchar
	sub	r3, fp, #12
	ldr	r1, .L22+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L22+12
	b	.L20
.L10:
	sub	r3, fp, #12
	ldr	r1, .L22+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L22+20
	b	.L20
.L12:
	sub	r3, fp, #12
	ldr	r1, .L22+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L22+28
	b	.L20
.L13:
	sub	r3, fp, #12
	ldr	r1, .L22+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L22+36
	b	.L20
.L14:
	sub	r3, fp, #12
	ldr	r1, .L22+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L22+44
	b	.L20
.L15:
	sub	r3, fp, #12
	ldr	r1, .L22+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L22+52
	b	.L20
.L16:
	sub	r3, fp, #12
	ldr	r1, .L22+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L22+60
	b	.L20
.L17:
	sub	r3, fp, #12
	ldr	r1, .L22+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L22+68
	b	.L20
.L18:
	sub	r3, fp, #12
	ldr	r1, .L22+72
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L22+76
	b	.L20
.L19:
	ldr	r3, .L22+80
.L20:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC13
	.word	.LC0
	.word	.LC4
	.word	1119748096
	.word	.LC5
	.word	1118699520
	.word	.LC6
	.word	1118044160
	.word	.LC7
	.word	1117519872
	.word	.LC8
	.word	1117126656
	.word	.LC9
	.word	1116471296
	.word	.LC10
	.word	1116209152
	.word	.LC11
	.word	1115815936
	.word	.LC12
	.word	1114636288
	.word	1112014848
	.size	get_grade, .-get_grade
	.section	.rodata
	.align	2
.LC14:
	.ascii	"%f\000"
	.global	__aeabi_fcmpeq
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_gpa
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_gpa, %function
get_gpa:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L64+4
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+8
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	ldr	r3, .L64+12
	b	.L44
.L55:
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+16
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L56
	ldr	r3, .L64+20
	b	.L44
.L56:
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+24
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L57
	ldr	r3, .L64+28
	b	.L44
.L57:
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+32
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L64+36
	b	.L44
.L58:
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+40
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L59
	ldr	r3, .L64+44
	b	.L44
.L59:
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+48
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	ldr	r3, .L64+52
	b	.L44
.L60:
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+56
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	ldr	r3, .L64+60
	b	.L44
.L61:
	ldr	r3, [fp, #-12]	@ float
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L64+64
	b	.L44
.L62:
	ldr	r3, [fp, #-12]	@ float
	ldr	r1, .L64+68
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	ldr	r3, .L64+72
	b	.L44
.L63:
	ldr	r3, .L64+76
.L44:
	ldr	r2, .L64
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC15
	.word	.LC14
	.word	1082759578
	.word	1119748096
	.word	1082130432
	.word	1118699520
	.word	1080872141
	.word	1118044160
	.word	1079194419
	.word	1117519872
	.word	1077936128
	.word	1117126656
	.word	1076677837
	.word	1116471296
	.word	1075000115
	.word	1116209152
	.word	1115815936
	.word	1071225242
	.word	1114636288
	.word	1112014848
	.size	get_gpa, .-get_gpa
	.section	.rodata
	.align	2
.LC16:
	.ascii	"90-100\000"
	.align	2
.LC17:
	.ascii	"85-89\000"
	.align	2
.LC18:
	.ascii	"80-84\000"
	.align	2
.LC19:
	.ascii	"77-79\000"
	.align	2
.LC20:
	.ascii	"73-76\000"
	.align	2
.LC21:
	.ascii	"70-72\000"
	.align	2
.LC22:
	.ascii	"67-69\000"
	.align	2
.LC23:
	.ascii	"63-66\000"
	.align	2
.LC24:
	.ascii	"60-62\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_score
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_score, %function
get_score:
	@ 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, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L79+4
	bl	__isoc99_scanf
	bl	getchar
	sub	r3, fp, #16
	ldr	r1, .L79+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	ldr	r3, .L79+12
	b	.L77
.L67:
	sub	r3, fp, #16
	ldr	r1, .L79+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L69
	ldr	r3, .L79+20
	b	.L77
.L69:
	sub	r3, fp, #16
	ldr	r1, .L79+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L70
	ldr	r3, .L79+28
	b	.L77
.L70:
	sub	r3, fp, #16
	ldr	r1, .L79+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L71
	ldr	r3, .L79+36
	b	.L77
.L71:
	sub	r3, fp, #16
	ldr	r1, .L79+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	ldr	r3, .L79+44
	b	.L77
.L72:
	sub	r3, fp, #16
	ldr	r1, .L79+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	ldr	r3, .L79+52
	b	.L77
.L73:
	sub	r3, fp, #16
	ldr	r1, .L79+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L74
	ldr	r3, .L79+60
	b	.L77
.L74:
	sub	r3, fp, #16
	ldr	r1, .L79+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L75
	ldr	r3, .L79+68
	b	.L77
.L75:
	sub	r3, fp, #16
	ldr	r1, .L79+72
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L76
	ldr	r3, .L79+76
	b	.L77
.L76:
	ldr	r3, .L79+80
.L77:
	ldr	r2, .L79
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC25
	.word	.LC0
	.word	.LC16
	.word	1119748096
	.word	.LC17
	.word	1118699520
	.word	.LC18
	.word	1118044160
	.word	.LC19
	.word	1117519872
	.word	.LC20
	.word	1117126656
	.word	.LC21
	.word	1116471296
	.word	.LC22
	.word	1116209152
	.word	.LC23
	.word	1115815936
	.word	.LC24
	.word	1114636288
	.word	1112014848
	.size	get_score, .-get_score
	.global	__aeabi_fadd
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
	.global	get_avg
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_avg, %function
get_avg:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L88
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L82
.L87:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L83
	cmp	r3, #2
	bhi	.L84
	cmp	r3, #0
	beq	.L85
	cmp	r3, #1
	beq	.L86
	b	.L84
.L85:
	bl	get_grade
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	b	.L84
.L86:
	bl	get_gpa
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	b	.L84
.L83:
	bl	get_score
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	nop
.L84:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L82:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L87
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]	@ float
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L89:
	.align	2
.L88:
	.word	.LC0
	.size	get_avg, .-get_avg
	.global	__aeabi_fcmpgt
	.global	__aeabi_fcmplt
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L98
	mvn	r3, #0
	b	.L93
.L98:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	mov	r3, #1
	b	.L93
.L99:
	mov	r3, #0
.L93:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cmp, .-cmp
	.section	.rodata
	.align	2
.LC26:
	.ascii	"%d\000"
	.global	__aeabi_f2d
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.align	2
.LC27:
	.ascii	"%s\012%d\012\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #220
	ldr	r3, .L109
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #228
	mov	r1, r3
	ldr	r0, .L109+4
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L101
.L102:
	bl	get_type
	mov	r2, r0
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-204]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L101:
	ldr	r3, [fp, #-228]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	blt	.L102
	sub	r3, fp, #224
	mov	r1, r3
	ldr	r0, .L109+4
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L103
.L104:
	sub	r2, fp, #176
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-228]
	sub	r1, fp, #216
	mov	r0, r3
	bl	get_avg
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L103:
	ldr	r3, [fp, #-224]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	blt	.L104
	ldr	r3, [fp, #-224]
	mov	r1, r3
	sub	r0, fp, #176
	ldr	r3, .L109+8
	mov	r2, #16
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L105
.L106:
	sub	r2, fp, #176
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #4
	add	r4, r2, r3
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #4
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-152]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L109+12
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L109+16
	bl	printf
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L105:
	ldr	r3, [fp, #-220]
	cmp	r3, #2
	ble	.L106
	mov	r3, #0
	ldr	r2, .L109
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L108
	bl	__stack_chk_fail
.L108:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC28
	.word	.LC26
	.word	cmp
	.word	1071644672
	.word	.LC27
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
