	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_InitBots                     ## -- Begin function G_InitBots
	.p2align	4, 0x90
_G_InitBots:                            ## @G_InitBots
	.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
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_QPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MAX_INFO_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%eax, %eax
	callq	_G_LoadBots
	xorl	%eax, %eax
	callq	_G_LoadArenas
	movq	_CVAR_SERVERINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_bot_minplayers@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %r13
	movq	%r13, %rdx
	callq	_trap_Cvar_Register
	movq	_g_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_SINGLE_PLAYER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_trap_GetServerinfo
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_Info_ValueForKey
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_Q_strncpyz
	movq	%r15, %rdi
	callq	_G_GetArenaInfoByMap
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r15
	leaq	L_.str.3(%rip), %r12
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, %r14d
	testl	%eax, %eax
	cmovneq	%rbx, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_trap_Cvar_Set
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_Info_ValueForKey
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_atoi
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_trap_Cvar_Set
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rsi
	callq	_trap_Cvar_Set
	testl	%r14d, %r14d
	je	LBB0_4
LBB0_6:
	movq	_BOT_BEGIN_DELAY_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_Info_ValueForKey
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdi
	callq	_Q_stricmp
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:
	leal	10000(%r14), %ebx
	testq	%rax, %rax
	cmovnel	%r14d, %ebx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_G_SpawnBots
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_trap_Cvar_Set
	jmp	LBB0_5
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QPATH,4,2                  ## @MAX_QPATH
	.comm	_MAX_INFO_STRING,4,2            ## @MAX_INFO_STRING
	.comm	_bot_minplayers,4,2             ## @bot_minplayers
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bot_minplayers"

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

	.comm	_CVAR_SERVERINFO,4,2            ## @CVAR_SERVERINFO
	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_SINGLE_PLAYER,8,3           ## @GT_SINGLE_PLAYER
L_.str.2:                               ## @.str.2
	.asciz	"mapname"

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

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

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

	.comm	_BOT_BEGIN_DELAY_BASE,4,2       ## @BOT_BEGIN_DELAY_BASE
L_.str.6:                               ## @.str.6
	.asciz	"special"

L_.str.7:                               ## @.str.7
	.asciz	"training"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_InitBots                     ; -- Begin function G_InitBots
	.p2align	2
_G_InitBots:                            ; @G_InitBots
	.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
	mov	x19, x0
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_QPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _MAX_INFO_STRING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	mov	x9, x23
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
	bl	_G_LoadBots
	bl	_G_LoadArenas
Lloh13:
	adrp	x8, _CVAR_SERVERINFO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CVAR_SERVERINFO@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x0, _bot_minplayers@GOTPAGE
Lloh17:
	ldr	x0, [x0, _bot_minplayers@GOTPAGEOFF]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
Lloh20:
	adrp	x22, l_.str.1@PAGE
Lloh21:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_trap_Cvar_Register
Lloh22:
	adrp	x8, _g_gametype@GOTPAGE
Lloh23:
	ldr	x8, [x8, _g_gametype@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _GT_SINGLE_PLAYER@GOTPAGE
Lloh26:
	ldr	x9, [x9, _GT_SINGLE_PLAYER@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x24
	mov	x1, x23
	bl	_trap_GetServerinfo
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_Info_ValueForKey
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_Q_strncpyz
	mov	x0, x21
	bl	_G_GetArenaInfoByMap
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
Lloh30:
	adrp	x23, l_.str.3@PAGE
Lloh31:
	add	x23, x23, l_.str.3@PAGEOFF
	mov	x1, x23
	bl	_Info_ValueForKey
	mov	x24, x0
	bl	_atoi
	mov	x21, x0
	cmp	w0, #0
	csel	x1, x22, x24, eq
	mov	x0, x23
	bl	_trap_Cvar_Set
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_Info_ValueForKey
	mov	x22, x0
	bl	_atoi
	cbz	w0, LBB0_4
LBB0_3:
Lloh34:
	adrp	x0, l_.str.4@PAGE
Lloh35:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x22
	bl	_trap_Cvar_Set
	b	LBB0_5
LBB0_4:
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trap_Cvar_Set
	cbz	w21, LBB0_9
LBB0_5:
Lloh40:
	adrp	x8, _BOT_BEGIN_DELAY_BASE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BOT_BEGIN_DELAY_BASE@GOTPAGEOFF]
Lloh42:
	ldr	w21, [x8]
Lloh43:
	adrp	x1, l_.str.6@PAGE
Lloh44:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_Info_ValueForKey
Lloh45:
	adrp	x1, l_.str.7@PAGE
Lloh46:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_Q_stricmp
	cbnz	w19, LBB0_7
; %bb.6:
	mov	w8, #10000
	add	w8, w21, w8
	cmp	x0, #0
	csel	w19, w8, w21, eq
Lloh47:
	adrp	x1, l_.str.8@PAGE
Lloh48:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_Info_ValueForKey
	mov	x1, x19
	bl	_G_SpawnBots
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh49:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh50:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	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_9:
Lloh52:
	adrp	x0, l_.str.3@PAGE
Lloh53:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh54:
	adrp	x1, l_.str.5@PAGE
Lloh55:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_trap_Cvar_Set
Lloh56:
	adrp	x22, l_.str.1@PAGE
Lloh57:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QPATH,4,2                  ; @MAX_QPATH
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.comm	_bot_minplayers,4,2             ; @bot_minplayers
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bot_minplayers"

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

	.comm	_CVAR_SERVERINFO,4,2            ; @CVAR_SERVERINFO
	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_SINGLE_PLAYER,8,3           ; @GT_SINGLE_PLAYER
l_.str.2:                               ; @.str.2
	.asciz	"mapname"

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

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

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

	.comm	_BOT_BEGIN_DELAY_BASE,4,2       ; @BOT_BEGIN_DELAY_BASE
l_.str.6:                               ; @.str.6
	.asciz	"special"

l_.str.7:                               ; @.str.7
	.asciz	"training"

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

.subsections_via_symbols
