	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_DrawSelectedPlayerStatus
_CG_DrawSelectedPlayerStatus:           ## @CG_DrawSelectedPlayerStatus
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_cgs@GOTPCREL(%rip), %r14
	movq	16(%r14), %rbx
	movq	_sortedTeamPlayers@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%eax, %eax
	callq	_CG_GetSelectedPlayer
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.2:
	movq	_cg@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	4(%r14), %rax
	testl	$512, %ecx                      ## imm = 0x200
	je	LBB0_6
## %bb.3:
	movl	$-2500, %edx                    ## imm = 0xF63C
	addl	(%r14), %edx
	cmpl	%edx, %ecx
	jle	LBB0_6
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movslq	(%r12,%rax,4), %rax
	leaq	(%rbx,%rax,4), %rax
LBB0_6:
	movl	(%rax), %edi
	callq	_CG_StatusHandle
	movl	12(%r15), %edi
	movl	8(%r15), %esi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	movl	%eax, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_DrawPic                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,24,3                       ## @cgs
	.comm	_sortedTeamPlayers,8,3          ## @sortedTeamPlayers
	.comm	_cg,4,2                         ## @cg
	.no_dead_strip	_CG_DrawSelectedPlayerStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawSelectedPlayerStatus
_CG_DrawSelectedPlayerStatus:           ; @CG_DrawSelectedPlayerStatus
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _cgs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cgs@GOTPAGEOFF]
	ldr	x21, [x20, #16]
Lloh2:
	adrp	x8, _sortedTeamPlayers@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sortedTeamPlayers@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x8]
	bl	_CG_GetSelectedPlayer
	cbz	x21, LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _cg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20], #4
	tbz	w8, #9, LBB0_6
; %bb.3:
	sub	w9, w9, #2500
	cmp	w8, w9
	b.le	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldrsw	x8, [x22, x0, lsl #2]
	add	x20, x21, x8, lsl #2
LBB0_6:
	ldr	w0, [x20]
	bl	_CG_StatusHandle
	mov	x4, x0
	ldp	w1, w0, [x19, #8]
	ldp	w3, w2, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_CG_DrawPic
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,24,3                       ; @cgs
	.comm	_sortedTeamPlayers,8,3          ; @sortedTeamPlayers
	.comm	_cg,4,2                         ; @cg
	.no_dead_strip	_CG_DrawSelectedPlayerStatus
.subsections_via_symbols
