	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ServerOptions_InitBotNames
_ServerOptions_InitBotNames:            ## @ServerOptions_InitBotNames
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INFO_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_s_serveroptions@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jge	LBB0_26
## %bb.1:
	movl	24(%r12), %edi
	callq	_UI_GetArenaInfoByMap
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	callq	_Info_ValueForKey
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	_Q_strncpyz
	movb	(%rbx), %cl
	movq	_PLAYER_SLOTS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	$1, %r14d
	testb	%cl, %cl
	je	LBB0_16
## %bb.2:
	cmpl	$2, %eax
	jl	LBB0_16
## %bb.3:
	movl	$1, %r14d
	leaq	L_.str.5(%rip), %r15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rbx, %rdi
	incq	%rbx
	cmpb	$32, %cl
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rdi), %ecx
	incq	%rdi
	incq	%rbx
	cmpb	$32, %cl
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	testb	%cl, %cl
	je	LBB0_16
	.p2align	4, 0x90
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testb	%cl, %cl
	je	LBB0_10
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, %cl
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movzbl	(%rbx), %ecx
	incq	%rbx
	testb	%cl, %cl
	jne	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	decq	%rbx
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, -1(%rbx)
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_UI_GetBotInfoByName
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %edi
	callq	_UI_GetBotInfoByNumber
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_Info_ValueForKey
	movq	8(%r12), %rcx
	movq	(%rcx,%r14,8), %rdi
	movq	%rax, %rsi
	movl	$8, %edx
	callq	_Q_strncpyz
	incq	%r14
	movb	(%rbx), %cl
	movl	(%r13), %eax
	testb	%cl, %cl
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%eax, %rdx
	cmpq	%rdx, %r14
	jl	LBB0_4
LBB0_16:
	movl	%r14d, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %r14d
	movq	_s_serveroptions@GOTPCREL(%rip), %r14
	jge	LBB0_19
## %bb.17:
	leaq	L_.str.6(%rip), %rbx
	movq	%r12, %r15
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	incq	%r15
	movl	(%r13), %eax
	cmpl	%r15d, %eax
	jg	LBB0_18
LBB0_19:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$7, %edx
	ja	LBB0_21
## %bb.20:
	shlq	$2, %r12
	movq	_s_serveroptions@GOTPCREL(%rip), %rax
	addq	16(%rax), %r12
	movl	$7, %eax
	subl	%edx, %eax
	leaq	4(,%rax,4), %rsi
	movq	%r12, %rdi
	callq	___bzero
	movl	(%r13), %eax
	movl	$8, %edx
LBB0_21:
	cmpl	%eax, %edx
	jge	LBB0_33
## %bb.22:
	movq	_s_serveroptions@GOTPCREL(%rip), %rcx
	movq	16(%rcx), %rcx
	movl	%edx, %edx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rdx
	cmpl	%edx, %eax
	jle	LBB0_33
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$1, (%rcx,%rdx,4)
	jne	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	$2, (%rcx,%rdx,4)
	movl	(%r13), %eax
	jmp	LBB0_23
LBB0_26:
	movq	8(%r12), %rax
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	8(%r12), %rax
	movq	16(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	jne	LBB0_28
## %bb.27:
	movq	8(%r12), %rax
	movq	24(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	16(%r12), %rax
	jmp	LBB0_29
LBB0_28:
	movq	16(%r12), %rax
	movl	$2, 12(%rax)
LBB0_29:
	movabsq	$8589934594, %rbx               ## imm = 0x200000002
	movq	%rbx, 16(%rax)
	movq	8(%r12), %rax
	movq	48(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	8(%r12), %rax
	movq	56(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	8(%r12), %rax
	movq	64(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	jne	LBB0_31
## %bb.30:
	movq	8(%r12), %rax
	movq	72(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$16, %edx
	callq	_Q_strncpyz
	movq	16(%r12), %rax
	jmp	LBB0_32
LBB0_31:
	movq	16(%r12), %rax
	movl	$2, 36(%rax)
LBB0_32:
	movq	%rbx, 40(%rax)
LBB0_33:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.34:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INFO_STRING,4,2            ## @MAX_INFO_STRING
	.comm	_s_serveroptions,32,3           ## @s_serveroptions
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"grunt"

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

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

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

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

	.comm	_PLAYER_SLOTS,4,2               ## @PLAYER_SLOTS
L_.str.5:                               ## @.str.5
	.asciz	"name"

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

	.no_dead_strip	_ServerOptions_InitBotNames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ServerOptions_InitBotNames
_ServerOptions_InitBotNames:            ; @ServerOptions_InitBotNames
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_INFO_STRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x22, _s_serveroptions@GOTPAGE
Lloh9:
	ldr	x22, [x22, _s_serveroptions@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh10:
	adrp	x21, _GT_TEAM@GOTPAGE
Lloh11:
	ldr	x21, [x21, _GT_TEAM@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ge	LBB0_12
; %bb.1:
	ldr	w0, [x22, #24]
	bl	_UI_GetArenaInfoByMap
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Info_ValueForKey
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_Q_strncpyz
	ldrb	w9, [x20]
Lloh14:
	adrp	x23, _PLAYER_SLOTS@GOTPAGE
Lloh15:
	ldr	x23, [x23, _PLAYER_SLOTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w9, #0
	mov	w19, #1
	ccmp	w8, #2, #8, ne
	b.ge	LBB0_14
LBB0_2:
	cmp	w19, w8
	b.ge	LBB0_5
; %bb.3:
	mov	w21, w19
Lloh16:
	adrp	x20, l_.str.6@PAGE
Lloh17:
	add	x20, x20, l_.str.6@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	x0, [x8, x21, lsl #3]
	mov	x1, x20
	bl	_strcpy
	add	x21, x21, #1
	ldr	w8, [x23]
	cmp	w8, w21
	b.gt	LBB0_4
LBB0_5:
	cmp	w19, #7
	b.hi	LBB0_7
; %bb.6:
	ldr	x8, [x22, #16]
	add	x0, x8, w19, uxtw #2
	mov	w8, #7
	sub	w8, w8, w19
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_bzero
	ldr	w8, [x23]
	mov	w19, #8
LBB0_7:
	cmp	w19, w8
	b.ge	LBB0_32
; %bb.8:
	ldr	x9, [x22, #16]
	mov	w10, w19
	mov	w11, #2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x10, x10, #1
	cmp	w8, w10
	b.le	LBB0_32
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x10, lsl #2]
	cmp	w12, #1
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	str	w11, [x9, x10, lsl #2]
	ldr	w8, [x23]
	b	LBB0_9
LBB0_12:
	ldr	x8, [x22, #8]
	ldr	x0, [x8, #8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x22, #8]
	ldr	x0, [x8, #16]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.13:
	ldr	x8, [x22, #8]
	ldr	x0, [x8, #24]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x22, #16]
	b	LBB0_28
LBB0_14:
Lloh24:
	adrp	x21, l_.str.5@PAGE
Lloh25:
	add	x21, x21, l_.str.5@PAGEOFF
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	mov	x0, x20
LBB0_16:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x20, x20, #1
	cmp	w9, #32
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldrb	w9, [x0, #1]!
	b	LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	cbz	w9, LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	w9, LBB0_22
LBB0_20:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, #32
	b.eq	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldrb	w9, [x20], #1
	cbnz	w9, LBB0_20
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
	sub	x20, x20, #1
	bl	_UI_GetBotInfoByName
	cbnz	x0, LBB0_25
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	sturb	wzr, [x20, #-1]
	bl	_UI_GetBotInfoByName
	cbnz	x0, LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	bl	_UI_GetBotInfoByNumber
LBB0_25:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x1, x21
	bl	_Info_ValueForKey
	mov	x1, x0
	ldr	x8, [x22, #8]
	ldr	x0, [x8, x19, lsl #3]
	mov	w2, #8
	bl	_Q_strncpyz
	add	x19, x19, #1
	ldrb	w9, [x20]
	ldr	w8, [x23]
	cbz	w9, LBB0_2
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=1
	sxtw	x10, w8
	cmp	x19, x10
	b.lt	LBB0_15
	b	LBB0_2
LBB0_27:
	ldr	x8, [x22, #16]
	mov	w9, #2
	str	w9, [x8, #12]
LBB0_28:
	movi.2s	v0, #2
	str	d0, [x8, #16]
	ldr	x8, [x22, #8]
	ldr	x0, [x8, #48]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x22, #8]
	ldr	x0, [x8, #56]
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x22, #8]
	ldr	x0, [x8, #64]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.29:
	ldr	x8, [x22, #8]
	ldr	x0, [x8, #72]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #16
	bl	_Q_strncpyz
	ldr	x8, [x22, #16]
	b	LBB0_31
LBB0_30:
	ldr	x8, [x22, #16]
	mov	w9, #2
	str	w9, [x8, #36]
LBB0_31:
	movi.2s	v0, #2
	str	d0, [x8, #40]
LBB0_32:
	ldur	x8, [x29, #-56]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.comm	_s_serveroptions,32,3           ; @s_serveroptions
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"grunt"

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

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

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

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

	.comm	_PLAYER_SLOTS,4,2               ; @PLAYER_SLOTS
l_.str.5:                               ; @.str.5
	.asciz	"name"

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

	.no_dead_strip	_ServerOptions_InitBotNames
.subsections_via_symbols
