	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_LeadTheWay            ## -- Begin function BotMatch_LeadTheWay
	.p2align	4, 0x90
_BotMatch_LeadTheWay:                   ## @BotMatch_LeadTheWay
	.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	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	xorl	%eax, %eax
	callq	_TeamPlayIsOn
	testl	%eax, %eax
	je	LBB0_20
## %bb.1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_BotAddressedToBot
	testl	%eax, %eax
	je	LBB0_20
## %bb.2:
	movq	_ST_SOMEONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_6
## %bb.3:
	movq	_TEAMMATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_trap_BotMatchVariable
	movq	%rbx, %rdi
	callq	_FindClientByName
	movl	%eax, %r12d
	cmpl	(%r13), %eax
	je	LBB0_7
## %bb.4:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_BotSameTeam
	testl	%eax, %eax
	je	LBB0_20
## %bb.5:
	movq	_qtrue@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	jns	LBB0_10
LBB0_9:
	leaq	L_.str(%rip), %rsi
LBB0_17:
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_6:
	movq	_NETNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%rbx, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_trap_BotMatchVariable
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_ClientFromName
	movl	%eax, %r12d
LBB0_7:
	movq	_qfalse@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	js	LBB0_9
LBB0_10:
	movl	(%rax), %r14d
	movl	$-1, 48(%r13)
	leaq	-80(%rbp), %rsi
	movl	%r12d, %edi
	callq	_BotEntityInfo
	cmpq	$0, -72(%rbp)
	je	LBB0_13
## %bb.11:
	movl	-80(%rbp), %edi
	callq	_BotPointAreaNum
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%r12d, 48(%r13)
	movl	%eax, 52(%r13)
	movl	-80(%rbp), %edi
	movl	64(%r13), %esi
	callq	_VectorCopy
	movl	60(%r13), %edi
	movl	$-8, %esi
	movl	$-8, %edx
	movl	$-8, %ecx
	callq	_VectorSet
	movl	56(%r13), %edi
	movl	$8, %esi
	movl	$8, %edx
	movl	$8, %ecx
	callq	_VectorSet
LBB0_13:
	cmpq	$0, 40(%r13)
	js	LBB0_14
## %bb.19:
	movl	%r12d, 4(%r13)
	xorl	%eax, %eax
	callq	_FloatTime
	cltq
	movq	_TEAM_LEAD_TIME@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 24(%r13)
	movq	$0, 16(%r13)
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_random
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax,2), %eax
	negl	%eax
	movl	%eax, 8(%r13)
	jmp	LBB0_20
LBB0_14:
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.15:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
LBB0_18:
	xorl	%ecx, %ecx
	callq	_BotAI_BotInitialChat
	movl	(%r13), %esi
	movl	32(%r13), %edi
	movq	_CHAT_TEAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_trap_BotEnterChat
LBB0_20:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_17
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ## @MAX_MESSAGE_SIZE
	.comm	_ST_SOMEONE,4,2                 ## @ST_SOMEONE
	.comm	_TEAMMATE,4,2                   ## @TEAMMATE
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_NETNAME,4,2                    ## @NETNAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"whois"

	.comm	_CHAT_TEAM,4,2                  ## @CHAT_TEAM
L_.str.1:                               ## @.str.1
	.asciz	"whereis"

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

	.comm	_TEAM_LEAD_TIME,8,3             ## @TEAM_LEAD_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_LeadTheWay            ; -- Begin function BotMatch_LeadTheWay
	.p2align	2
_BotMatch_LeadTheWay:                   ; @BotMatch_LeadTheWay
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x22, x1
	mov	x19, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_MESSAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MESSAGE_SIZE@GOTPAGEOFF]
	ldr	w23, [x8]
	mov	x9, x23
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x23, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
	ldr	w24, [x8]
	mov	x9, x24
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	bl	_TeamPlayIsOn
	cbz	w0, LBB0_18
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	bl	_BotAddressedToBot
	cbz	w0, LBB0_18
; %bb.2:
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _ST_SOMEONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ST_SOMEONE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
Lloh12:
	adrp	x8, _TEAMMATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TEAMMATE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x24
	bl	_trap_BotMatchVariable
	mov	x0, x21
	bl	_FindClientByName
	mov	x22, x0
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.4:
	mov	x0, x19
	mov	x1, x22
	bl	_BotSameTeam
	cbz	w0, LBB0_18
; %bb.5:
Lloh15:
	adrp	x8, _qtrue@GOTPAGE
Lloh16:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	tbz	w22, #31, LBB0_10
LBB0_6:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	mov	x0, x19
	mov	x2, x20
	b	LBB0_17
LBB0_8:
Lloh19:
	adrp	x8, _NETNAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETNAME@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x20
	mov	x3, x23
	bl	_trap_BotMatchVariable
	mov	x0, x20
	bl	_ClientFromName
	mov	x22, x0
LBB0_9:
Lloh22:
	adrp	x8, _qfalse@GOTPAGE
Lloh23:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	tbnz	w22, #31, LBB0_6
LBB0_10:
	ldr	w23, [x8]
	mov	w8, #-1
	str	w8, [x19, #48]
	sub	x1, x29, #88
	mov	x0, x22
	bl	_BotEntityInfo
	ldur	x8, [x29, #-80]
	cbz	x8, LBB0_13
; %bb.11:
	ldur	w0, [x29, #-88]
	bl	_BotPointAreaNum
	cbz	w0, LBB0_13
; %bb.12:
	stp	w22, w0, [x19, #48]
	ldur	w0, [x29, #-88]
	ldr	w1, [x19, #64]
	bl	_VectorCopy
	ldr	w0, [x19, #60]
	mov	w1, #-8
	mov	w2, #-8
	mov	w3, #-8
	bl	_VectorSet
	ldr	w0, [x19, #56]
	mov	w1, #8
	mov	w2, #8
	mov	w3, #8
	bl	_VectorSet
LBB0_13:
	ldr	x8, [x19, #40]
	tbnz	x8, #63, LBB0_15
; %bb.14:
	str	w22, [x19, #4]
	bl	_FloatTime
Lloh24:
	adrp	x8, _TEAM_LEAD_TIME@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TEAM_LEAD_TIME@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw
	stp	xzr, x8, [x19, #16]
	bl	_FloatTime
	mov	x20, x0
	bl	_random
	add	w8, w20, w0, lsl #1
	neg	w8, w8
	str	w8, [x19, #8]
	b	LBB0_18
LBB0_15:
	cbz	w23, LBB0_20
; %bb.16:
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
LBB0_17:
	mov	x3, #0
	bl	_BotAI_BotInitialChat
	ldr	w0, [x19, #32]
	ldr	w1, [x19]
Lloh29:
	adrp	x8, _CHAT_TEAM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CHAT_TEAM@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	bl	_trap_BotEnterChat
LBB0_18:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.19:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_20:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ; @MAX_MESSAGE_SIZE
	.comm	_ST_SOMEONE,4,2                 ; @ST_SOMEONE
	.comm	_TEAMMATE,4,2                   ; @TEAMMATE
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_NETNAME,4,2                    ; @NETNAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"whois"

	.comm	_CHAT_TEAM,4,2                  ; @CHAT_TEAM
l_.str.1:                               ; @.str.1
	.asciz	"whereis"

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

	.comm	_TEAM_LEAD_TIME,8,3             ; @TEAM_LEAD_TIME
.subsections_via_symbols
