	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_TeamOrdersMenu_BuildBotList
_UI_TeamOrdersMenu_BuildBotList:        ## @UI_TeamOrdersMenu_BuildBotList
	.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), %r13
	movl	(%r13), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_teamOrdersMenuInfo@GOTPCREL(%rip), %r15
	movq	8(%r15), %rax
	movq	24(%r15), %rcx
	movl	(%rax), %edx
	movl	%edx, (%rcx)
	movl	4(%rax), %edx
	movl	%edx, 4(%rcx)
	movl	8(%rax), %edx
	movl	%edx, 8(%rcx)
	movl	12(%rax), %edx
	movl	%edx, 12(%rcx)
	movl	16(%rax), %edx
	movl	%edx, 16(%rcx)
	movl	20(%rax), %edx
	movl	%edx, 20(%rcx)
	movl	24(%rax), %edx
	movl	%edx, 24(%rcx)
	movl	28(%rax), %edx
	movl	%edx, 28(%rcx)
	movl	32(%rax), %eax
	movl	%eax, 32(%rcx)
	leaq	-56(%rbp), %rdi
	callq	_trap_GetClientState
	movq	8(%r15), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movl	$1, (%r15)
	movq	_CS_SERVERINFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_trap_GetConfigString
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_atoi
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_atoi
	movq	%rax, 16(%r15)
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.1:
	cmpl	$8, (%r15)
	jg	LBB0_10
## %bb.2:
	movslq	%r14d, %r12
	movb	$51, -49(%rbp)                  ## 1-byte Folded Spill
	xorl	%r14d, %r14d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CS_PLAYERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r14, %rdi
	movl	(%r13), %edx
	movq	%rbx, %rsi
	callq	_trap_GetConfigString
	movl	-56(%rbp), %eax
	movq	%rbx, %rdi
	cmpq	%rax, %r14
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.3(%rip), %rsi
	callq	_Info_ValueForKey
	movzbl	(%rax), %eax
	movb	%al, -49(%rbp)                  ## 1-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.4(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_atoi
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_Info_ValueForKey
	movzbl	-49(%rbp), %ecx                 ## 1-byte Folded Reload
	cmpb	%cl, (%rax)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	movq	%r15, %r12
	movq	%r13, %r15
	movl	(%rax,%rcx,4), %r13d
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_Info_ValueForKey
	movl	%r13d, %edi
	movq	%r15, %r13
	movq	%r12, %r15
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_Q_CleanStr
	incl	(%r15)
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	cmpq	%r12, %r14
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$9, (%r15)
	jl	LBB0_3
LBB0_10:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INFO_STRING,4,2            ## @MAX_INFO_STRING
	.comm	_teamOrdersMenuInfo,32,3        ## @teamOrdersMenuInfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Everyone"

	.comm	_CS_SERVERINFO,8,3              ## @CS_SERVERINFO
L_.str.1:                               ## @.str.1
	.asciz	"sv_maxclients"

L_.str.2:                               ## @.str.2
	.asciz	"g_gametype"

	.comm	_CS_PLAYERS,8,3                 ## @CS_PLAYERS
L_.str.3:                               ## @.str.3
	.asciz	"t"

L_.str.4:                               ## @.str.4
	.asciz	"skill"

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

	.no_dead_strip	_UI_TeamOrdersMenu_BuildBotList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_TeamOrdersMenu_BuildBotList
_UI_TeamOrdersMenu_BuildBotList:        ; @UI_TeamOrdersMenu_BuildBotList
	.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	x25, _MAX_INFO_STRING@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MAX_INFO_STRING@GOTPAGEOFF]
	ldr	w20, [x25]
	mov	x9, x20
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh7:
	adrp	x26, _teamOrdersMenuInfo@GOTPAGE
Lloh8:
	ldr	x26, [x26, _teamOrdersMenuInfo@GOTPAGEOFF]
	ldr	x8, [x26, #8]
	ldr	x9, [x26, #24]
	ldr	w10, [x8]
	str	w10, [x9]
	ldr	w10, [x8, #4]
	str	w10, [x9, #4]
	ldr	w10, [x8, #8]
	str	w10, [x9, #8]
	ldr	w10, [x8, #12]
	str	w10, [x9, #12]
	ldr	w10, [x8, #16]
	str	w10, [x9, #16]
	ldr	w10, [x8, #20]
	str	w10, [x9, #20]
	ldr	w10, [x8, #24]
	str	w10, [x9, #24]
	ldr	w10, [x8, #28]
	str	w10, [x9, #28]
	ldr	w8, [x8, #32]
	str	w8, [x9, #32]
	sub	x0, x29, #96
	bl	_trap_GetClientState
	ldr	x8, [x26, #8]
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	mov	w8, #1
	str	w8, [x26]
Lloh11:
	adrp	x8, _CS_SERVERINFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CS_SERVERINFO@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	mov	x1, x19
	mov	x2, x20
	bl	_trap_GetConfigString
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	bl	_atoi
	mov	x20, x0
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	bl	_atoi
	str	x0, [x26, #16]
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.1:
	ldr	w8, [x26]
	cmp	w8, #8
	b.gt	LBB0_10
; %bb.2:
	mov	x27, #0
	sxtw	x28, w20
	mov	w22, #51
Lloh18:
	adrp	x24, _CS_PLAYERS@GOTPAGE
Lloh19:
	ldr	x24, [x24, _CS_PLAYERS@GOTPAGEOFF]
Lloh20:
	adrp	x20, l_.str.3@PAGE
Lloh21:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh22:
	adrp	x21, l_.str.4@PAGE
Lloh23:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x0, x27, x8
	ldr	w2, [x25]
	mov	x1, x19
	bl	_trap_GetConfigString
	ldur	w8, [x29, #-96]
	mov	x0, x19
	cmp	x27, x8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x20
	bl	_Info_ValueForKey
	ldrb	w22, [x0]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x21
	bl	_Info_ValueForKey
	bl	_atoi
	cbz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_Info_ValueForKey
	ldrb	w8, [x0]
	cmp	w8, w22
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26, #8]
	ldrsw	x9, [x26]
	ldr	w23, [x8, x9, lsl #2]
	mov	x0, x19
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_Info_ValueForKey
	mov	x1, x0
	mov	x0, x23
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x26, #8]
	ldrsw	x9, [x26]
	ldr	w0, [x8, x9, lsl #2]
	bl	_Q_CleanStr
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	cmp	x27, x28
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	cmp	w8, #9
	b.lt	LBB0_3
LBB0_10:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	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_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.comm	_teamOrdersMenuInfo,32,3        ; @teamOrdersMenuInfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Everyone"

	.comm	_CS_SERVERINFO,8,3              ; @CS_SERVERINFO
l_.str.1:                               ; @.str.1
	.asciz	"sv_maxclients"

l_.str.2:                               ; @.str.2
	.asciz	"g_gametype"

	.comm	_CS_PLAYERS,8,3                 ; @CS_PLAYERS
l_.str.3:                               ; @.str.3
	.asciz	"t"

l_.str.4:                               ; @.str.4
	.asciz	"skill"

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

	.no_dead_strip	_UI_TeamOrdersMenu_BuildBotList
.subsections_via_symbols
