	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_ParseScores
_CG_ParseScores:                        ## @CG_ParseScores
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%eax, %ecx
	cmovll	%ecx, %eax
	movq	_cg@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movl	$2, %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	16(%r12), %rcx
	movq	%rax, (%rcx)
	movl	$3, %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	16(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%r12), %rdi
	movl	$8, %r13d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rcx,%rbx)
	xorl	%eax, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx,%rbx), %rdx
	movq	_cgs@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%eax, %eax
	shlq	$4, %rax
	movq	%rdx, 8(%rsi,%rax)
	movl	%r14d, (%rsi,%rax)
	movl	4(%rsi,%rax), %eax
	movl	%eax, 4(%rcx,%rbx)
	incq	%r15
	movslq	(%r12), %rax
	addl	$14, %r13d
	addq	$104, %rbx
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-4(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%rbx)
	leal	-3(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 8(%rcx,%rbx)
	leal	-2(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 96(%rcx,%rbx)
	leal	-1(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 88(%rcx,%rbx)
	movl	%r13d, %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 80(%rcx,%rbx)
	leal	1(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	%rax, %r14
	leal	2(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 72(%rcx,%rbx)
	leal	3(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 64(%rcx,%rbx)
	leal	4(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 56(%rcx,%rbx)
	leal	5(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 48(%rcx,%rbx)
	leal	6(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 40(%rcx,%rbx)
	leal	7(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 32(%rcx,%rbx)
	leal	8(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 24(%rcx,%rbx)
	leal	9(%r13), %edi
	callq	_CG_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	8(%r12), %rcx
	movq	%rax, 16(%rcx,%rbx)
	movl	(%rcx,%rbx), %eax
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jl	LBB0_5
	jmp	LBB0_4
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,24,3                        ## @cg
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
	.comm	_cgs,8,3                        ## @cgs
	.no_dead_strip	_CG_ParseScores
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_ParseScores
_CG_ParseScores:                        ; @CG_ParseScores
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	w0, #1
	bl	_CG_Argv
	bl	_atoi
Lloh0:
	adrp	x21, _MAX_CLIENTS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_CLIENTS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w0
	csel	w8, w8, w0, lt
Lloh2:
	adrp	x22, _cg@GOTPAGE
Lloh3:
	ldr	x22, [x22, _cg@GOTPAGEOFF]
	str	w8, [x22]
	mov	w0, #2
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #16]
	str	x0, [x8]
	mov	w0, #3
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #16]
	str	x0, [x8, #8]
	ldr	x0, [x22, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	mov	w19, #8
Lloh4:
	adrp	x25, _cgs@GOTPAGE
Lloh5:
	ldr	x25, [x25, _cgs@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	str	wzr, [x10]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, x23
	ldr	x10, [x8, #8]
	ldr	x11, [x25]
	add	x9, x11, w9, uxtw #4
	str	x10, [x9, #8]
	str	w20, [x9]
	ldr	w9, [x9, #4]
	str	w9, [x8, #4]
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	w19, w19, #14
	add	x23, x23, #104
	cmp	x24, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w0, w19, #4
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	str	w0, [x8, x23]
	sub	w0, w19, #3
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #8]
	sub	w0, w19, #2
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #96]
	sub	w0, w19, #1
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #88]
	mov	x0, x19
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #80]
	add	w0, w19, #1
	bl	_CG_Argv
	bl	_atoi
	mov	x20, x0
	add	w0, w19, #2
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #72]
	add	w0, w19, #3
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #64]
	add	w0, w19, #4
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #56]
	add	w0, w19, #5
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #48]
	add	w0, w19, #6
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #40]
	add	w0, w19, #7
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #32]
	add	w0, w19, #8
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #24]
	add	w0, w19, #9
	bl	_CG_Argv
	bl	_atoi
	ldr	x8, [x22, #8]
	add	x10, x8, x23
	str	x0, [x10, #16]
	ldr	w9, [x10]
	tbnz	w9, #31, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x21]
	cmp	w9, w11
	b.lt	LBB0_3
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,24,3                        ; @cg
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
	.comm	_cgs,8,3                        ; @cgs
	.no_dead_strip	_CG_ParseScores
.subsections_via_symbols
