	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_BuildPlayerList
_UI_BuildPlayerList:                    ## @UI_BuildPlayerList
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INFO_STRING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	-56(%rbp), %rdi
	callq	_trap_GetClientState
	movq	_CS_PLAYERS@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %edi
	addl	(%rax), %edi
	movl	(%rbx), %edx
	movq	%r13, %rsi
	callq	_trap_GetConfigString
	movl	-56(%rbp), %eax
	movq	_uiInfo@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_Info_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	movq	%rax, 40(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_Info_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_CS_SERVERINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_trap_GetConfigString
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_Info_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	leaq	L_.str.3(%rip), %r12
	movq	_MAX_NAME_LENGTH@GOTPCREL(%rip), %r14
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r15d
	cmpl	%r15d, -80(%rbp)                ## 4-byte Folded Reload
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CS_PLAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r15d, %edi
	movq	_MAX_INFO_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_trap_GetConfigString
	cmpb	$0, (%r13)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	48(%rbx), %rcx
	movq	%r13, %rbx
	movl	(%rcx,%rax,4), %r13d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_Info_ValueForKey
	movl	(%r14), %edx
	movl	%r13d, %edi
	movq	%rbx, %r13
	movq	_uiInfo@GOTPCREL(%rip), %rbx
	movl	%eax, %esi
	callq	_Q_strncpyz
	movq	8(%rbx), %rax
	movq	48(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_Q_CleanStr
	incq	8(%rbx)
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Info_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	cmpl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rax
	movq	32(%rbx), %rcx
	movl	(%rcx,%rax,4), %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_Info_ValueForKey
	movl	(%r14), %edx
	movl	%ebx, %edi
	movq	_uiInfo@GOTPCREL(%rip), %rbx
	movl	%eax, %esi
	callq	_Q_strncpyz
	movq	16(%rbx), %rax
	movq	32(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_Q_CleanStr
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	%r15d, (%rcx,%rax,4)
	cmpl	(%rbx), %r15d
	movq	16(%rbx), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmovel	%eax, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	incq	%rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_6
LBB0_1:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_7:
	cmpq	$0, 40(%rbx)
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_va
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_trap_Cvar_Set
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	movl	%eax, %ecx
	movq	16(%rbx), %rdx
	xorl	%esi, %esi
	cmpq	%rcx, %rdx
	cmovbq	%rsi, %rcx
	testl	%eax, %eax
	cmovsq	%rsi, %rcx
	cmpq	%rcx, %rdx
	jbe	LBB0_11
## %bb.10:
	movq	32(%rbx), %rax
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_trap_Cvar_Set
LBB0_11:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INFO_STRING,4,2            ## @MAX_INFO_STRING
	.comm	_CS_PLAYERS,4,2                 ## @CS_PLAYERS
	.comm	_uiInfo,56,3                    ## @uiInfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tl"

L_.str.1:                               ## @.str.1
	.asciz	"t"

	.comm	_CS_SERVERINFO,4,2              ## @CS_SERVERINFO
L_.str.2:                               ## @.str.2
	.asciz	"sv_maxclients"

L_.str.3:                               ## @.str.3
	.asciz	"n"

	.comm	_MAX_NAME_LENGTH,4,2            ## @MAX_NAME_LENGTH
L_.str.4:                               ## @.str.4
	.asciz	"cg_selectedPlayer"

L_.str.5:                               ## @.str.5
	.asciz	"%d"

L_.str.6:                               ## @.str.6
	.asciz	"cg_selectedPlayerName"

	.no_dead_strip	_UI_BuildPlayerList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_BuildPlayerList
_UI_BuildPlayerList:                    ; @UI_BuildPlayerList
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x8, sp
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x20, _MAX_INFO_STRING@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MAX_INFO_STRING@GOTPAGEOFF]
	ldr	w21, [x20]
	mov	x9, x21
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	sub	x0, x29, #96
	bl	_trap_GetClientState
Lloh7:
	adrp	x26, _CS_PLAYERS@GOTPAGE
Lloh8:
	ldr	x26, [x26, _CS_PLAYERS@GOTPAGEOFF]
	ldr	w8, [x26]
	ldur	w9, [x29, #-96]
	add	w0, w9, w8
	ldr	w2, [x20]
	mov	x1, x19
	bl	_trap_GetConfigString
	ldur	w8, [x29, #-96]
Lloh9:
	adrp	x27, _uiInfo@GOTPAGE
Lloh10:
	ldr	x27, [x27, _uiInfo@GOTPAGEOFF]
	str	w8, [x27]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	bl	_atoi
	str	x0, [x27, #40]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	bl	_atoi
	mov	x20, x0
Lloh15:
	adrp	x8, _CS_SERVERINFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CS_SERVERINFO@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x21
	bl	_trap_GetConfigString
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	bl	_atoi
	mov	x22, x0
	stp	xzr, xzr, [x27, #8]
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w24, #0
	mov	w21, #0
Lloh20:
	adrp	x23, l_.str.3@PAGE
Lloh21:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh22:
	adrp	x28, _MAX_NAME_LENGTH@GOTPAGE
Lloh23:
	ldr	x28, [x28, _MAX_NAME_LENGTH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	cmp	w22, w24
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	add	w0, w24, w8
Lloh24:
	adrp	x8, _MAX_INFO_STRING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_trap_GetConfigString
	ldrb	w8, [x19]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27, #48]
	ldr	x9, [x27, #8]
	ldr	w25, [x8, x9, lsl #2]
	mov	x0, x19
	mov	x1, x23
	bl	_Info_ValueForKey
	mov	x1, x0
	ldr	w2, [x28]
	mov	x0, x25
	bl	_Q_strncpyz
	ldr	x8, [x27, #48]
	ldr	x9, [x27, #8]
	ldr	w0, [x8, x9, lsl #2]
	bl	_Q_CleanStr
	ldr	x8, [x27, #8]
	add	x8, x8, #1
	str	x8, [x27, #8]
	mov	x0, x19
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Info_ValueForKey
	bl	_atoi
	cmp	w0, w20
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27, #32]
	ldr	x9, [x27, #16]
	ldr	w25, [x8, x9, lsl #2]
	mov	x0, x19
	mov	x1, x23
	bl	_Info_ValueForKey
	mov	x1, x0
	ldr	w2, [x28]
	mov	x0, x25
	bl	_Q_strncpyz
	ldr	x8, [x27, #32]
	ldr	x9, [x27, #16]
	ldr	w0, [x8, x9, lsl #2]
	bl	_Q_CleanStr
	ldp	x9, x8, [x27, #16]
	str	w24, [x8, x9, lsl #2]
	ldr	w8, [x27]
	ldr	x9, [x27, #16]
	cmp	w24, w8
	csel	w21, w9, w21, eq
	add	x8, x9, #1
	str	x8, [x27, #16]
	b	LBB0_2
LBB0_6:
	mov	w21, #0
LBB0_7:
	ldr	x8, [x27, #40]
	cbnz	x8, LBB0_9
; %bb.8:
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_va
	mov	x1, x0
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_trap_Cvar_Set
LBB0_9:
Lloh33:
	adrp	x0, l_.str.4@PAGE
Lloh34:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	w8, w0
	ldr	x9, [x27, #16]
	cmp	x9, x8
	ccmp	w0, #0, #8, hs
	csel	x8, xzr, x8, lt
	cmp	x9, x8
	b.ls	LBB0_11
; %bb.10:
	ldr	x9, [x27, #32]
	ldr	w1, [x9, x8, lsl #2]
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_trap_Cvar_Set
LBB0_11:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.comm	_CS_PLAYERS,4,2                 ; @CS_PLAYERS
	.comm	_uiInfo,56,3                    ; @uiInfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tl"

l_.str.1:                               ; @.str.1
	.asciz	"t"

	.comm	_CS_SERVERINFO,4,2              ; @CS_SERVERINFO
l_.str.2:                               ; @.str.2
	.asciz	"sv_maxclients"

l_.str.3:                               ; @.str.3
	.asciz	"n"

	.comm	_MAX_NAME_LENGTH,4,2            ; @MAX_NAME_LENGTH
l_.str.4:                               ; @.str.4
	.asciz	"cg_selectedPlayer"

l_.str.5:                               ; @.str.5
	.asciz	"%d"

l_.str.6:                               ; @.str.6
	.asciz	"cg_selectedPlayerName"

	.no_dead_strip	_UI_BuildPlayerList
.subsections_via_symbols
