	.file	"561361.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter player %d's jersey number:\n"
.LC1:
	.string	" %d"
.LC2:
	.string	"Enter player %d's rating:\n"
.LC3:
	.string	"ROSTER"
	.align 8
.LC4:
	.string	"Player %d -- Jersey number: %d, Rating: %d\n"
.LC5:
	.string	"MENU"
.LC6:
	.string	"u - Update player rating"
	.align 8
.LC7:
	.string	"a - Output players above a rating"
.LC8:
	.string	"r - Replace player"
.LC9:
	.string	"o - Output roster"
.LC10:
	.string	"q - Quit"
.LC11:
	.string	"Choose an option:"
.LC12:
	.string	" %c"
.LC13:
	.string	"Enter a jersey number:"
	.align 8
.LC14:
	.string	"Enter a new rating for player:"
.LC15:
	.string	"Enter a rating: "
.LC16:
	.string	"ABOVE %d\n"
.LC17:
	.string	"Enter a new jersey number:"
	.align 8
.LC18:
	.string	"Enter a new rating for the new player:"
	.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -88[rbp], 1
.L2:
	cmp	DWORD PTR -88[rbp], 4
	jle	.L3
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -84[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	edx, DWORD PTR -32[rbp+rax*4]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	ecx, DWORD PTR -84[rbp]
	lea	esi, 1[rcx]
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -84[rbp], 1
.L4:
	cmp	DWORD PTR -84[rbp], 4
	jle	.L5
	mov	edi, 10
	call	putchar@PLT
.L24:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rax, -101[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -101[rbp]
	movsx	eax, al
	sub	eax, 97
	cmp	eax, 20
	ja	.L6
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L8[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L8[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L12-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L11-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L9-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L7-.L8
	.text
.L7:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, -100[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	edx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -100[rbp]
	cmp	edx, eax
	jne	.L14
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	DWORD PTR -32[rbp+rax*4], edx
.L14:
	add	DWORD PTR -80[rbp], 1
.L13:
	cmp	DWORD PTR -80[rbp], 4
	jle	.L15
	jmp	.L6
.L12:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -32[rbp+rax*4]
	mov	eax, DWORD PTR -92[rbp]
	cmp	edx, eax
	jle	.L17
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -32[rbp+rax*4]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	ecx, DWORD PTR -76[rbp]
	lea	esi, 1[rcx]
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L17:
	add	DWORD PTR -76[rbp], 1
.L16:
	cmp	DWORD PTR -76[rbp], 4
	jle	.L18
	mov	edi, 10
	call	putchar@PLT
	jmp	.L6
.L9:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, -100[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -72[rbp], 0
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	edx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -100[rbp]
	cmp	edx, eax
	jne	.L20
	mov	edx, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	DWORD PTR -32[rbp+rax*4], edx
.L20:
	add	DWORD PTR -72[rbp], 1
.L19:
	cmp	DWORD PTR -72[rbp], 4
	jle	.L21
	jmp	.L6
.L11:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -68[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	edx, DWORD PTR -32[rbp+rax*4]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	ecx, DWORD PTR -68[rbp]
	lea	esi, 1[rcx]
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -68[rbp], 1
.L22:
	cmp	DWORD PTR -68[rbp], 4
	jle	.L23
	mov	edi, 10
	call	putchar@PLT
	nop
.L6:
	movzx	eax, BYTE PTR -101[rbp]
	cmp	al, 113
	jne	.L24
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"561361.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter player %d's jersey number:\012\000"
	.align	2
.LC1:
	.ascii	" %d\000"
	.align	2
.LC2:
	.ascii	"Enter player %d's rating:\012\000"
	.align	2
.LC3:
	.ascii	"ROSTER\000"
	.align	2
.LC4:
	.ascii	"Player %d -- Jersey number: %d, Rating: %d\012\000"
	.align	2
.LC5:
	.ascii	"MENU\000"
	.align	2
.LC6:
	.ascii	"u - Update player rating\000"
	.align	2
.LC7:
	.ascii	"a - Output players above a rating\000"
	.align	2
.LC8:
	.ascii	"r - Replace player\000"
	.align	2
.LC9:
	.ascii	"o - Output roster\000"
	.align	2
.LC10:
	.ascii	"q - Quit\000"
	.align	2
.LC11:
	.ascii	"Choose an option:\000"
	.align	2
.LC12:
	.ascii	" %c\000"
	.align	2
.LC13:
	.ascii	"Enter a jersey number:\000"
	.align	2
.LC14:
	.ascii	"Enter a new rating for player:\000"
	.align	2
.LC15:
	.ascii	"Enter a rating: \000"
	.align	2
.LC16:
	.ascii	"ABOVE %d\012\000"
	.align	2
.LC17:
	.ascii	"Enter a new jersey number:\000"
	.align	2
.LC18:
	.ascii	"Enter a new rating for the new player:\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L2
.L3:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L27+4
	bl	printf
	sub	r2, fp, #48
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L27+12
	bl	printf
	sub	r2, fp, #28
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L2:
	ldr	r3, [fp, #-72]
	cmp	r3, #4
	ble	.L3
	ldr	r0, .L27+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L4
.L5:
	ldr	r3, [fp, #-68]
	add	r1, r3, #1
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r3, [r3, #-24]
	ldr	r0, .L27+20
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L4:
	ldr	r3, [fp, #-68]
	cmp	r3, #4
	ble	.L5
	mov	r0, #10
	bl	putchar
.L24:
	ldr	r0, .L27+24
	bl	puts
	ldr	r0, .L27+28
	bl	puts
	ldr	r0, .L27+32
	bl	puts
	ldr	r0, .L27+36
	bl	puts
	ldr	r0, .L27+40
	bl	puts
	ldr	r0, .L27+44
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, .L27+48
	bl	puts
	sub	r3, fp, #85
	mov	r1, r3
	ldr	r0, .L27+52
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	sub	r3, r3, #97
	cmp	r3, #20
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L12
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L11
	.word	.L6
	.word	.L6
	.word	.L9
	.word	.L6
	.word	.L6
	.word	.L7
.L7:
	ldr	r0, .L27+56
	bl	puts
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r0, .L27+60
	bl	puts
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L13
.L15:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	bne	.L14
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-24]
.L14:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L13:
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	ble	.L15
	b	.L6
.L12:
	ldr	r0, .L27+64
	bl	printf
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-76]
	mov	r1, r3
	ldr	r0, .L27+68
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L16
.L18:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-24]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L17
	ldr	r3, [fp, #-60]
	add	r1, r3, #1
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r3, [r3, #-24]
	ldr	r0, .L27+20
	bl	printf
.L17:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L16:
	ldr	r3, [fp, #-60]
	cmp	r3, #4
	ble	.L18
	mov	r0, #10
	bl	putchar
	b	.L6
.L9:
	ldr	r0, .L27+56
	bl	puts
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r0, .L27+72
	bl	puts
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r0, .L27+76
	bl	puts
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L19
.L21:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	bne	.L20
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-24]
.L20:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L19:
	ldr	r3, [fp, #-56]
	cmp	r3, #4
	ble	.L21
	b	.L6
.L11:
	ldr	r0, .L27+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L22
.L23:
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r3, [r3, #-24]
	ldr	r0, .L27+20
	bl	printf
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L22:
	ldr	r3, [fp, #-52]
	cmp	r3, #4
	ble	.L23
	mov	r0, #10
	bl	putchar
	nop
.L6:
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	cmp	r3, #113
	bne	.L24
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC19
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
