	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotSetupDeathmatchAI           ## -- Begin function BotSetupDeathmatchAI
	.p2align	4, 0x90
_BotSetupDeathmatchAI:                  ## @BotSetupDeathmatchAI
	.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	$136, %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)
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_VariableIntegerValue
	movq	_gametype@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movq	_bot_rocketjump@GOTPCREL(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %r14
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	_bot_grapple@GOTPCREL(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rbx
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	_bot_fastchat@GOTPCREL(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	_bot_nochat@GOTPCREL(%rip), %rdi
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	_bot_testrchat@GOTPCREL(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	_bot_challenge@GOTPCREL(%rip), %rdi
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	_bot_predictobstacles@GOTPCREL(%rip), %rdi
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	_g_spSkill@GOTPCREL(%rip), %rdi
	leaq	L_.str.10(%rip), %rsi
	leaq	L_.str.11(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_trap_Cvar_Register
	movq	(%r15), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	leaq	L_.str.12(%rip), %rsi
	movq	_ctf_redflag@GOTPCREL(%rip), %rdx
	movl	$-1, %edi
	callq	_trap_BotGetLevelItemGoal
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	movq	_PRT_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_BotAI_Print
LBB0_3:
	leaq	L_.str.14(%rip), %rsi
	movq	_ctf_blueflag@GOTPCREL(%rip), %rdx
	movl	$-1, %edi
	callq	_trap_BotGetLevelItemGoal
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	movq	_PRT_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
	callq	_BotAI_Print
LBB0_5:
	movq	_max_bspmodelindex@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	xorl	%edi, %edi
	callq	_trap_AAS_NextBSPEntity
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movl	%eax, %ebx
	leaq	-175(%rbp), %r14
	leaq	L_.str.16(%rip), %r15
	leaq	-176(%rbp), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
	callq	_trap_AAS_NextBSPEntity
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$128, %ecx
	callq	_trap_AAS_ValueForBSPEpairKey
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$42, -176(%rbp)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_atoi
	cmpl	(%r13), %eax
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, (%r13)
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	callq	_BotInitWaypoints
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"g_gametype"

	.comm	_gametype,8,3                   ## @gametype
	.comm	_bot_rocketjump,4,2             ## @bot_rocketjump
L_.str.1:                               ## @.str.1
	.asciz	"bot_rocketjump"

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

	.comm	_bot_grapple,4,2                ## @bot_grapple
L_.str.3:                               ## @.str.3
	.asciz	"bot_grapple"

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

	.comm	_bot_fastchat,4,2               ## @bot_fastchat
L_.str.5:                               ## @.str.5
	.asciz	"bot_fastchat"

	.comm	_bot_nochat,4,2                 ## @bot_nochat
L_.str.6:                               ## @.str.6
	.asciz	"bot_nochat"

	.comm	_bot_testrchat,4,2              ## @bot_testrchat
L_.str.7:                               ## @.str.7
	.asciz	"bot_testrchat"

	.comm	_bot_challenge,4,2              ## @bot_challenge
L_.str.8:                               ## @.str.8
	.asciz	"bot_challenge"

	.comm	_bot_predictobstacles,4,2       ## @bot_predictobstacles
L_.str.9:                               ## @.str.9
	.asciz	"bot_predictobstacles"

	.comm	_g_spSkill,4,2                  ## @g_spSkill
L_.str.10:                              ## @.str.10
	.asciz	"g_spSkill"

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

	.comm	_GT_CTF,8,3                     ## @GT_CTF
L_.str.12:                              ## @.str.12
	.asciz	"Red Flag"

	.comm	_ctf_redflag,4,2                ## @ctf_redflag
	.comm	_PRT_WARNING,4,2                ## @PRT_WARNING
L_.str.13:                              ## @.str.13
	.asciz	"CTF without Red Flag\n"

L_.str.14:                              ## @.str.14
	.asciz	"Blue Flag"

	.comm	_ctf_blueflag,4,2               ## @ctf_blueflag
L_.str.15:                              ## @.str.15
	.asciz	"CTF without Blue Flag\n"

	.comm	_max_bspmodelindex,4,2          ## @max_bspmodelindex
L_.str.16:                              ## @.str.16
	.asciz	"model"

	.comm	_GT_1FCTF,8,3                   ## @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ## @GT_HARVESTER
	.comm	_GT_OBELISK,8,3                 ## @GT_OBELISK
	.comm	_blueobelisk,4,2                ## @blueobelisk
	.comm	_ctf_neutralflag,4,2            ## @ctf_neutralflag
	.comm	_neutralobelisk,4,2             ## @neutralobelisk
	.comm	_redobelisk,4,2                 ## @redobelisk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotSetupDeathmatchAI           ; -- Begin function BotSetupDeathmatchAI
	.p2align	2
_BotSetupDeathmatchAI:                  ; @BotSetupDeathmatchAI
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_VariableIntegerValue
Lloh5:
	adrp	x21, _gametype@GOTPAGE
Lloh6:
	ldr	x21, [x21, _gametype@GOTPAGEOFF]
	str	x0, [x21]
Lloh7:
	adrp	x0, _bot_rocketjump@GOTPAGE
Lloh8:
	ldr	x0, [x0, _bot_rocketjump@GOTPAGEOFF]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh11:
	adrp	x19, l_.str.2@PAGE
Lloh12:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x2, x19
	mov	w3, #0
	bl	_trap_Cvar_Register
Lloh13:
	adrp	x0, _bot_grapple@GOTPAGE
Lloh14:
	ldr	x0, [x0, _bot_grapple@GOTPAGEOFF]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh17:
	adrp	x20, l_.str.4@PAGE
Lloh18:
	add	x20, x20, l_.str.4@PAGEOFF
	mov	x2, x20
	mov	w3, #0
	bl	_trap_Cvar_Register
Lloh19:
	adrp	x0, _bot_fastchat@GOTPAGE
Lloh20:
	ldr	x0, [x0, _bot_fastchat@GOTPAGEOFF]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x20
	mov	w3, #0
	bl	_trap_Cvar_Register
Lloh23:
	adrp	x0, _bot_nochat@GOTPAGE
Lloh24:
	ldr	x0, [x0, _bot_nochat@GOTPAGEOFF]
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x20
	mov	w3, #0
	bl	_trap_Cvar_Register
Lloh27:
	adrp	x0, _bot_testrchat@GOTPAGE
Lloh28:
	ldr	x0, [x0, _bot_testrchat@GOTPAGEOFF]
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x20
	mov	w3, #0
	bl	_trap_Cvar_Register
Lloh31:
	adrp	x0, _bot_challenge@GOTPAGE
Lloh32:
	ldr	x0, [x0, _bot_challenge@GOTPAGEOFF]
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x20
	mov	w3, #0
	bl	_trap_Cvar_Register
Lloh35:
	adrp	x0, _bot_predictobstacles@GOTPAGE
Lloh36:
	ldr	x0, [x0, _bot_predictobstacles@GOTPAGEOFF]
Lloh37:
	adrp	x1, l_.str.9@PAGE
Lloh38:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x19
	mov	w3, #0
	bl	_trap_Cvar_Register
Lloh39:
	adrp	x0, _g_spSkill@GOTPAGE
Lloh40:
	ldr	x0, [x0, _g_spSkill@GOTPAGEOFF]
Lloh41:
	adrp	x1, l_.str.10@PAGE
Lloh42:
	add	x1, x1, l_.str.10@PAGEOFF
Lloh43:
	adrp	x2, l_.str.11@PAGE
Lloh44:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	w3, #0
	bl	_trap_Cvar_Register
	ldr	x8, [x21]
Lloh45:
	adrp	x9, _GT_CTF@GOTPAGE
Lloh46:
	ldr	x9, [x9, _GT_CTF@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
Lloh48:
	adrp	x1, l_.str.12@PAGE
Lloh49:
	add	x1, x1, l_.str.12@PAGEOFF
Lloh50:
	adrp	x2, _ctf_redflag@GOTPAGE
Lloh51:
	ldr	x2, [x2, _ctf_redflag@GOTPAGEOFF]
	mov	w0, #-1
	bl	_trap_BotGetLevelItemGoal
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh52:
	adrp	x8, _PRT_WARNING@GOTPAGE
Lloh53:
	ldr	x8, [x8, _PRT_WARNING@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x1, l_.str.13@PAGE
Lloh56:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_BotAI_Print
LBB0_3:
Lloh57:
	adrp	x1, l_.str.14@PAGE
Lloh58:
	add	x1, x1, l_.str.14@PAGEOFF
Lloh59:
	adrp	x2, _ctf_blueflag@GOTPAGE
Lloh60:
	ldr	x2, [x2, _ctf_blueflag@GOTPAGEOFF]
	mov	w0, #-1
	bl	_trap_BotGetLevelItemGoal
	tbz	x0, #63, LBB0_5
; %bb.4:
Lloh61:
	adrp	x8, _PRT_WARNING@GOTPAGE
Lloh62:
	ldr	x8, [x8, _PRT_WARNING@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
Lloh64:
	adrp	x1, l_.str.15@PAGE
Lloh65:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_BotAI_Print
LBB0_5:
Lloh66:
	adrp	x22, _max_bspmodelindex@GOTPAGE
Lloh67:
	ldr	x22, [x22, _max_bspmodelindex@GOTPAGEOFF]
	str	wzr, [x22]
	mov	w0, #0
	bl	_trap_AAS_NextBSPEntity
	cbz	w0, LBB0_12
; %bb.6:
	mov	x19, x0
	add	x8, sp, #8
	add	x20, x8, #1
Lloh68:
	adrp	x21, l_.str.16@PAGE
Lloh69:
	add	x21, x21, l_.str.16@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_trap_AAS_NextBSPEntity
	mov	x19, x0
	cbz	w0, LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	mov	w3, #128
	bl	_trap_AAS_ValueForBSPEpairKey
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [sp, #8]
	cmp	w8, #42
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_atoi
	ldr	w8, [x22]
	cmp	w0, w8
	b.le	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	str	w0, [x22]
	b	LBB0_7
LBB0_12:
	bl	_BotInitWaypoints
	ldur	x8, [x29, #-40]
Lloh70:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh71:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"g_gametype"

	.comm	_gametype,8,3                   ; @gametype
	.comm	_bot_rocketjump,4,2             ; @bot_rocketjump
l_.str.1:                               ; @.str.1
	.asciz	"bot_rocketjump"

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

	.comm	_bot_grapple,4,2                ; @bot_grapple
l_.str.3:                               ; @.str.3
	.asciz	"bot_grapple"

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

	.comm	_bot_fastchat,4,2               ; @bot_fastchat
l_.str.5:                               ; @.str.5
	.asciz	"bot_fastchat"

	.comm	_bot_nochat,4,2                 ; @bot_nochat
l_.str.6:                               ; @.str.6
	.asciz	"bot_nochat"

	.comm	_bot_testrchat,4,2              ; @bot_testrchat
l_.str.7:                               ; @.str.7
	.asciz	"bot_testrchat"

	.comm	_bot_challenge,4,2              ; @bot_challenge
l_.str.8:                               ; @.str.8
	.asciz	"bot_challenge"

	.comm	_bot_predictobstacles,4,2       ; @bot_predictobstacles
l_.str.9:                               ; @.str.9
	.asciz	"bot_predictobstacles"

	.comm	_g_spSkill,4,2                  ; @g_spSkill
l_.str.10:                              ; @.str.10
	.asciz	"g_spSkill"

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

	.comm	_GT_CTF,8,3                     ; @GT_CTF
l_.str.12:                              ; @.str.12
	.asciz	"Red Flag"

	.comm	_ctf_redflag,4,2                ; @ctf_redflag
	.comm	_PRT_WARNING,4,2                ; @PRT_WARNING
l_.str.13:                              ; @.str.13
	.asciz	"CTF without Red Flag\n"

l_.str.14:                              ; @.str.14
	.asciz	"Blue Flag"

	.comm	_ctf_blueflag,4,2               ; @ctf_blueflag
l_.str.15:                              ; @.str.15
	.asciz	"CTF without Blue Flag\n"

	.comm	_max_bspmodelindex,4,2          ; @max_bspmodelindex
l_.str.16:                              ; @.str.16
	.asciz	"model"

	.comm	_GT_1FCTF,8,3                   ; @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ; @GT_HARVESTER
	.comm	_GT_OBELISK,8,3                 ; @GT_OBELISK
	.comm	_blueobelisk,4,2                ; @blueobelisk
	.comm	_ctf_neutralflag,4,2            ; @ctf_neutralflag
	.comm	_neutralobelisk,4,2             ; @neutralobelisk
	.comm	_redobelisk,4,2                 ; @redobelisk
.subsections_via_symbols
