	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BotMatch_WhereAreYou
LCPI0_0:
	.long	0x497423f0                      ## float 999999
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fd999999999999a              ## double 0.40000000000000002
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotMatch_WhereAreYou
	.p2align	4, 0x90
_BotMatch_WhereAreYou:                  ## @BotMatch_WhereAreYou
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_TeamPlayIsOn
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_BotAddressedToBot
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	$-1, %r14d
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	leaq	l___const.BotMatch_WhereAreYou.nearbyitems(%rip), %r12
	xorl	%r15d, %r15d
	leaq	-92(%rbp), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movss	%xmm0, -68(%rbp)                ## 4-byte Spill
	movq	(%r12), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_BotNearestVisibleItem
	movss	-68(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	cmoval	%r15d, %r14d
	minss	%xmm1, %xmm0
	incq	%r15
	addq	$8, %r12
	cmpq	$17, %r15
	jne	LBB0_3
## %bb.4:
	cmpl	$-1, %r14d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_13
## %bb.5:
	movq	_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.6:
	movl	4(%r13), %esi
	movl	8(%r13), %edi
	movq	_ctf_redflag@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TFL_DEFAULT@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	callq	_trap_AAS_AreaTravelTimeToGoalArea
	movl	%eax, %ebx
	movl	4(%r13), %esi
	movl	8(%r13), %edi
	movq	_ctf_blueflag@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	callq	_trap_AAS_AreaTravelTimeToGoalArea
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	addl	%eax, %ebx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	mulsd	LCPI0_1(%rip), %xmm0
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_8
## %bb.7:
	movslq	%r14d, %rax
	leaq	l___const.BotMatch_WhereAreYou.nearbyitems(%rip), %rcx
	movq	(%rcx,%rax,8), %rdx
	leaq	L_.str.17(%rip), %rsi
	leaq	L_.str.18(%rip), %rcx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_BotAI_BotInitialChat
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_10:
	movslq	%r14d, %rax
	leaq	l___const.BotMatch_WhereAreYou.nearbyitems(%rip), %rcx
	movq	(%rcx,%rax,8), %rdx
LBB0_11:
	leaq	L_.str.20(%rip), %rsi
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_BotAI_BotInitialChat
LBB0_12:
	movq	_NETNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_trap_BotMatchVariable
	movq	%rbx, %rdi
	callq	_ClientFromName
	movl	(%r13), %edi
	movq	_CHAT_TELL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	callq	_trap_BotEnterChat
LBB0_13:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	ucomisd	%xmm1, %xmm0
	movslq	%r14d, %rax
	leaq	l___const.BotMatch_WhereAreYou.nearbyitems(%rip), %rcx
	movq	(%rcx,%rax,8), %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jbe	LBB0_11
## %bb.9:
	leaq	L_.str.17(%rip), %rsi
	leaq	L_.str.19(%rip), %rcx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_BotAI_BotInitialChat
	jmp	LBB0_12
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ## @MAX_MESSAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Shotgun"

L_.str.1:                               ## @.str.1
	.asciz	"Grenade Launcher"

L_.str.2:                               ## @.str.2
	.asciz	"Rocket Launcher"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"Lightning Gun"

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

L_.str.7:                               ## @.str.7
	.asciz	"Quad Damage"

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

L_.str.9:                               ## @.str.9
	.asciz	"Battle Suit"

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

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

L_.str.12:                              ## @.str.12
	.asciz	"Flight"

L_.str.13:                              ## @.str.13
	.asciz	"Armor"

L_.str.14:                              ## @.str.14
	.asciz	"Heavy Armor"

L_.str.15:                              ## @.str.15
	.asciz	"Red Flag"

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

	.section	__DATA,__const
	.p2align	4                               ## @__const.BotMatch_WhereAreYou.nearbyitems
l___const.BotMatch_WhereAreYou.nearbyitems:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	L_.str.10
	.quad	L_.str.11
	.quad	L_.str.12
	.quad	L_.str.13
	.quad	L_.str.14
	.quad	L_.str.15
	.quad	L_.str.16
	.quad	0

	.comm	_gametype,8,3                   ## @gametype
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_ctf_redflag,4,2                ## @ctf_redflag
	.comm	_TFL_DEFAULT,4,2                ## @TFL_DEFAULT
	.comm	_ctf_blueflag,4,2               ## @ctf_blueflag
	.section	__TEXT,__cstring,cstring_literals
L_.str.17:                              ## @.str.17
	.asciz	"teamlocation"

L_.str.18:                              ## @.str.18
	.asciz	"red"

L_.str.19:                              ## @.str.19
	.asciz	"blue"

L_.str.20:                              ## @.str.20
	.asciz	"location"

	.comm	_NETNAME,4,2                    ## @NETNAME
	.comm	_CHAT_TELL,4,2                  ## @CHAT_TELL
	.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	_redobelisk,4,2                 ## @redobelisk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_WhereAreYou           ; -- Begin function BotMatch_WhereAreYou
	.p2align	2
_BotMatch_WhereAreYou:                  ; @BotMatch_WhereAreYou
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh3:
	adrp	x8, _MAX_MESSAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MESSAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	bl	_TeamPlayIsOn
	cbz	w0, LBB0_14
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_BotAddressedToBot
	cbz	w0, LBB0_14
; %bb.2:
	mov	x23, #0
	mov	w25, #-1
	mov	w8, #9200
	movk	w8, #18804, lsl #16
	fmov	s8, w8
Lloh8:
	adrp	x26, l___const.BotMatch_WhereAreYou.nearbyitems@PAGE
Lloh9:
	add	x26, x26, l___const.BotMatch_WhereAreYou.nearbyitems@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x26, x23, lsl #3]
	sub	x2, x29, #108
	mov	x0, x19
	bl	_BotNearestVisibleItem
	fcmp	s0, s8
	csel	w25, w23, w25, mi
	fcsel	s8, s0, s8, mi
	add	x23, x23, #1
	cmp	x23, #17
	b.ne	LBB0_3
; %bb.4:
	cmn	w25, #1
	b.eq	LBB0_14
; %bb.5:
Lloh10:
	adrp	x8, _gametype@GOTPAGE
Lloh11:
	ldr	x8, [x8, _gametype@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _GT_CTF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GT_CTF@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldp	w1, w0, [x19, #4]
Lloh16:
	adrp	x8, _ctf_redflag@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ctf_redflag@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x27, _TFL_DEFAULT@GOTPAGE
Lloh20:
	ldr	x27, [x27, _TFL_DEFAULT@GOTPAGEOFF]
	ldr	w3, [x27]
	bl	_trap_AAS_AreaTravelTimeToGoalArea
	mov	x23, x0
	ldp	w1, w0, [x19, #4]
Lloh21:
	adrp	x8, _ctf_blueflag@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ctf_blueflag@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	w3, [x27]
	bl	_trap_AAS_AreaTravelTimeToGoalArea
	scvtf	d1, w23
	add	w8, w0, w23
	scvtf	d0, w8
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16345, lsl #48
	fmov	d2, x8
	fmul	d0, d0, d2
	fcmp	d0, d1
	b.le	LBB0_10
; %bb.7:
	ldr	x2, [x26, w25, sxtw #3]
	str	xzr, [sp, #-16]!
Lloh24:
	adrp	x1, l_.str.17@PAGE
Lloh25:
	add	x1, x1, l_.str.17@PAGEOFF
Lloh26:
	adrp	x3, l_.str.18@PAGE
Lloh27:
	add	x3, x3, l_.str.18@PAGEOFF
	b	LBB0_12
LBB0_8:
	ldr	x2, [x26, w25, sxtw #3]
LBB0_9:
Lloh28:
	adrp	x1, l_.str.20@PAGE
Lloh29:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_BotAI_BotInitialChat
	b	LBB0_13
LBB0_10:
	scvtf	d1, w0
	ldr	x2, [x26, w25, sxtw #3]
	fcmp	d0, d1
	b.le	LBB0_9
; %bb.11:
	str	xzr, [sp, #-16]!
Lloh30:
	adrp	x1, l_.str.17@PAGE
Lloh31:
	add	x1, x1, l_.str.17@PAGEOFF
Lloh32:
	adrp	x3, l_.str.19@PAGE
Lloh33:
	add	x3, x3, l_.str.19@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_BotAI_BotInitialChat
	add	sp, sp, #16
LBB0_13:
Lloh34:
	adrp	x8, _NETNAME@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NETNAME@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_trap_BotMatchVariable
	mov	x0, x22
	bl	_ClientFromName
	mov	x1, x0
	ldr	w0, [x19]
Lloh37:
	adrp	x8, _CHAT_TELL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CHAT_TELL@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	bl	_trap_BotEnterChat
LBB0_14:
	mov	sp, x24
	ldur	x8, [x29, #-104]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #96
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ; @MAX_MESSAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Shotgun"

l_.str.1:                               ; @.str.1
	.asciz	"Grenade Launcher"

l_.str.2:                               ; @.str.2
	.asciz	"Rocket Launcher"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"Lightning Gun"

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

l_.str.7:                               ; @.str.7
	.asciz	"Quad Damage"

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

l_.str.9:                               ; @.str.9
	.asciz	"Battle Suit"

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

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

l_.str.12:                              ; @.str.12
	.asciz	"Flight"

l_.str.13:                              ; @.str.13
	.asciz	"Armor"

l_.str.14:                              ; @.str.14
	.asciz	"Heavy Armor"

l_.str.15:                              ; @.str.15
	.asciz	"Red Flag"

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

	.section	__DATA,__const
	.p2align	3                               ; @__const.BotMatch_WhereAreYou.nearbyitems
l___const.BotMatch_WhereAreYou.nearbyitems:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	l_.str.12
	.quad	l_.str.13
	.quad	l_.str.14
	.quad	l_.str.15
	.quad	l_.str.16
	.quad	0

	.comm	_gametype,8,3                   ; @gametype
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_ctf_redflag,4,2                ; @ctf_redflag
	.comm	_TFL_DEFAULT,4,2                ; @TFL_DEFAULT
	.comm	_ctf_blueflag,4,2               ; @ctf_blueflag
	.section	__TEXT,__cstring,cstring_literals
l_.str.17:                              ; @.str.17
	.asciz	"teamlocation"

l_.str.18:                              ; @.str.18
	.asciz	"red"

l_.str.19:                              ; @.str.19
	.asciz	"blue"

l_.str.20:                              ; @.str.20
	.asciz	"location"

	.comm	_NETNAME,4,2                    ; @NETNAME
	.comm	_CHAT_TELL,4,2                  ; @CHAT_TELL
	.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	_redobelisk,4,2                 ; @redobelisk
.subsections_via_symbols
