	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_CTF                   ## -- Begin function BotMatch_CTF
	.p2align	4, 0x90
_BotMatch_CTF:                          ## @BotMatch_CTF
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_NETNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.1:
	movq	_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-176(%rbp), %rdx
	movq	%r15, %rdi
	movl	$128, %ecx
	callq	_trap_BotMatchVariable
	movl	(%r15), %eax
	movq	_ST_GOTFLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rsi
	leaq	-176(%rbp), %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	$1, 4(%r14)
	movq	%r14, %rdi
	callq	_BotTeam
	movq	_TEAM_RED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_6:
	movq	_NETNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_trap_BotMatchVariable
	movq	%r12, %rdi
	callq	_ClientFromName
	movq	%rax, 16(%r14)
LBB0_7:
	movl	$1, 8(%r14)
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, 24(%r14)
	jmp	LBB0_15
LBB0_8:
	movq	_ST_CAPTUREDFLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	$0, (%r14)
	movq	$0, 16(%r14)
LBB0_14:
	movl	$1, 8(%r14)
LBB0_15:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1, (%r14)
	movq	%r14, %rdi
	callq	_BotTeam
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
	jmp	LBB0_7
LBB0_10:
	movq	_ST_RETURNEDFLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.11:
	leaq	L_.str(%rip), %rsi
	leaq	-176(%rbp), %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	$0, 4(%r14)
	jmp	LBB0_14
LBB0_12:
	movl	$0, (%r14)
	jmp	LBB0_14
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NETNAME,4,2                ## @MAX_NETNAME
	.comm	_gametype,8,3                   ## @gametype
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_FLAG,4,2                       ## @FLAG
	.comm	_ST_GOTFLAG,4,2                 ## @ST_GOTFLAG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"red"

	.comm	_TEAM_BLUE,8,3                  ## @TEAM_BLUE
	.comm	_NETNAME,4,2                    ## @NETNAME
	.comm	_TEAM_RED,8,3                   ## @TEAM_RED
	.comm	_ST_CAPTUREDFLAG,4,2            ## @ST_CAPTUREDFLAG
	.comm	_ST_RETURNEDFLAG,4,2            ## @ST_RETURNEDFLAG
	.comm	_GT_1FCTF,8,3                   ## @GT_1FCTF
	.comm	_ST_1FCTFGOTFLAG,4,2            ## @ST_1FCTFGOTFLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_CTF                   ; -- Begin function BotMatch_CTF
	.p2align	2
_BotMatch_CTF:                          ; @BotMatch_CTF
	.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, #144
	mov	x20, x1
	mov	x19, x0
	mov	x23, sp
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_NETNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NETNAME@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
Lloh8:
	adrp	x8, _gametype@GOTPAGE
Lloh9:
	ldr	x8, [x8, _gametype@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _GT_CTF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GT_CTF@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.1:
Lloh14:
	adrp	x8, _FLAG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FLAG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	sub	x2, x29, #184
	mov	x0, x20
	mov	w3, #128
	bl	_trap_BotMatchVariable
	ldr	w8, [x20]
Lloh17:
	adrp	x9, _ST_GOTFLAG@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ST_GOTFLAG@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #184
	bl	_Q_stricmp
	mov	w8, #1
	cbz	w0, LBB0_7
; %bb.3:
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_BotTeam
Lloh22:
	adrp	x8, _TEAM_RED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TEAM_RED@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh24:
	adrp	x9, _ST_CAPTUREDFLAG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ST_CAPTUREDFLAG@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.5:
	str	xzr, [x19]
	str	xzr, [x19, #16]
LBB0_6:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_11
LBB0_7:
	str	w8, [x19]
	mov	x0, x19
	bl	_BotTeam
Lloh27:
	adrp	x8, _TEAM_BLUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TEAM_BLUE@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:
Lloh29:
	adrp	x8, _NETNAME@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NETNAME@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_trap_BotMatchVariable
	mov	x0, x22
	bl	_ClientFromName
	str	x0, [x19, #16]
LBB0_10:
	mov	w8, #1
	str	w8, [x19, #8]
	bl	_FloatTime
	str	w0, [x19, #24]
LBB0_11:
	mov	sp, x23
	ldur	x8, [x29, #-56]
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_17
; %bb.12:
	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_13:
Lloh35:
	adrp	x9, _ST_RETURNEDFLAG@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ST_RETURNEDFLAG@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.14:
Lloh38:
	adrp	x1, l_.str@PAGE
Lloh39:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #184
	bl	_Q_stricmp
	cbz	w0, LBB0_16
; %bb.15:
	str	wzr, [x19, #4]
	b	LBB0_6
LBB0_16:
	str	wzr, [x19]
	b	LBB0_6
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NETNAME,4,2                ; @MAX_NETNAME
	.comm	_gametype,8,3                   ; @gametype
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_FLAG,4,2                       ; @FLAG
	.comm	_ST_GOTFLAG,4,2                 ; @ST_GOTFLAG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"red"

	.comm	_TEAM_BLUE,8,3                  ; @TEAM_BLUE
	.comm	_NETNAME,4,2                    ; @NETNAME
	.comm	_TEAM_RED,8,3                   ; @TEAM_RED
	.comm	_ST_CAPTUREDFLAG,4,2            ; @ST_CAPTUREDFLAG
	.comm	_ST_RETURNEDFLAG,4,2            ; @ST_RETURNEDFLAG
	.comm	_GT_1FCTF,8,3                   ; @GT_1FCTF
	.comm	_ST_1FCTFGOTFLAG,4,2            ; @ST_1FCTFGOTFLAG
.subsections_via_symbols
