	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotSameTeam                    ## -- Begin function BotSameTeam
	.p2align	4, 0x90
_BotSameTeam:                           ## @BotSameTeam
	.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	$2056, %rsp                     ## imm = 0x808
	.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)
	movq	(%rdi), %rdi
	movq	_qfalse@GOTPCREL(%rip), %r13
	testq	%rdi, %rdi
	js	LBB0_7
## %bb.1:
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rdi
	jge	LBB0_7
## %bb.2:
	movl	%esi, %ebx
	testl	%esi, %esi
	js	LBB0_7
## %bb.3:
	cmpl	%ebx, %eax
	jle	LBB0_7
## %bb.4:
	movq	_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.5:
	movq	_CS_PLAYERS@GOTPCREL(%rip), %r15
	addl	(%r15), %edi
	leaq	-1072(%rbp), %r14
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r14, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_trap_GetConfigstring
	addl	(%r15), %ebx
	leaq	-2096(%rbp), %r15
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_trap_GetConfigstring
	leaq	L_.str(%rip), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_Info_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_Info_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	cmpq	%rax, %rbx
	jne	LBB0_7
## %bb.6:
	movq	_qtrue@GOTPCREL(%rip), %r13
LBB0_7:
	movl	(%r13), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$2056, %rsp                     ## imm = 0x808
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_gametype,8,3                   ## @gametype
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.comm	_CS_PLAYERS,4,2                 ## @CS_PLAYERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"t"

	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotSameTeam                    ; -- Begin function BotSameTeam
	.p2align	2
_BotSameTeam:                           ; @BotSameTeam
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #2064
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_7
; %bb.1:
Lloh3:
	adrp	x9, _MAX_CLIENTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_CLIENTS@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x9]
	cmp	x8, x10
	b.ge	LBB0_7
; %bb.2:
	mov	x19, x1
Lloh6:
	adrp	x9, _qfalse@GOTPAGE
Lloh7:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
	tbnz	w1, #31, LBB0_8
; %bb.3:
	cmp	w10, w19
	b.le	LBB0_8
; %bb.4:
Lloh8:
	adrp	x9, _gametype@GOTPAGE
Lloh9:
	ldr	x9, [x9, _gametype@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _GT_TEAM@GOTPAGE
Lloh12:
	ldr	x10, [x10, _GT_TEAM@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.lt	LBB0_7
; %bb.5:
Lloh14:
	adrp	x20, _CS_PLAYERS@GOTPAGE
Lloh15:
	ldr	x20, [x20, _CS_PLAYERS@GOTPAGEOFF]
	ldr	w9, [x20]
	add	w0, w9, w8
	add	x1, sp, #1032
	mov	w2, #1024
	bl	_trap_GetConfigstring
	ldr	w8, [x20]
	add	w0, w8, w19
	add	x1, sp, #8
	mov	w2, #1024
	bl	_trap_GetConfigstring
Lloh16:
	adrp	x19, l_.str@PAGE
Lloh17:
	add	x19, x19, l_.str@PAGEOFF
	add	x0, sp, #1032
	mov	x1, x19
	bl	_Info_ValueForKey
	bl	_atoi
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_Info_ValueForKey
	bl	_atoi
	cmp	x20, x0
	b.ne	LBB0_7
; %bb.6:
Lloh18:
	adrp	x9, _qtrue@GOTPAGE
Lloh19:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh20:
	adrp	x9, _qfalse@GOTPAGE
Lloh21:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x9]
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	add	sp, sp, #2064
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_gametype,8,3                   ; @gametype
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.comm	_CS_PLAYERS,4,2                 ; @CS_PLAYERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"t"

	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
