	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cmd_Team_f                     ## -- Begin function Cmd_Team_f
	.p2align	4, 0x90
_Cmd_Team_f:                            ## @Cmd_Team_f
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAX_TOKEN_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_trap_Argc
	movq	(%r14), %rcx
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.12:
	movq	(%rcx), %rax
	movq	_level@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jle	LBB0_15
## %bb.13:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_21
## %bb.14:
	shlq	$3, %rax
	subq	%rax, %r14
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	movl	8(%rcx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_19
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_21
## %bb.11:
	shlq	$3, %rax
	subq	%rax, %r14
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_15:
	movq	_g_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TOURNAMENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_18
## %bb.16:
	cmpl	$130, 8(%rcx)
	jne	LBB0_18
## %bb.17:
	incl	12(%rcx)
LBB0_18:
	movl	$1, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_trap_Argv
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_SetTeam
	movl	$5000, %eax                     ## imm = 0x1388
	addq	(%r12), %rax
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_21
## %bb.7:
	shlq	$3, %rax
	subq	%rax, %r14
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_8:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_21
## %bb.9:
	shlq	$3, %rax
	subq	%rax, %r14
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_21
## %bb.4:
	shlq	$3, %rax
	subq	%rax, %r14
	leaq	L_.str(%rip), %rsi
LBB0_5:
	movq	%r14, %rdi
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_SendServerCommand         ## TAILCALL
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ## @MAX_TOKEN_CHARS
	.comm	_g_entities,4,2                 ## @g_entities
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"print \"Blue team\n\""

L_.str.1:                               ## @.str.1
	.asciz	"print \"Red team\n\""

L_.str.2:                               ## @.str.2
	.asciz	"print \"Free team\n\""

L_.str.3:                               ## @.str.3
	.asciz	"print \"Spectator team\n\""

	.comm	_level,8,3                      ## @level
L_.str.4:                               ## @.str.4
	.asciz	"print \"May not switch teams more than once per 5 seconds.\n\""

	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ## @GT_TOURNAMENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cmd_Team_f                     ; -- Begin function Cmd_Team_f
	.p2align	2
_Cmd_Team_f:                            ; @Cmd_Team_f
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #16
	mov	x19, x0
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	x8, _MAX_TOKEN_CHARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_TOKEN_CHARS@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	bl	_trap_Argc
	ldr	x8, [x19]
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.1:
	ldr	x9, [x8]
Lloh8:
	adrp	x22, _level@GOTPAGE
Lloh9:
	ldr	x22, [x22, _level@GOTPAGEOFF]
	ldr	x10, [x22]
	cmp	x9, x10
	b.le	LBB0_8
; %bb.2:
Lloh10:
	adrp	x8, _g_entities@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	ldur	x9, [x29, #-40]
Lloh13:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_21
; %bb.3:
	sub	x0, x19, x8, lsl #3
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_20
LBB0_4:
	ldr	w8, [x8, #8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.5:
Lloh18:
	adrp	x9, lJTI0_0@PAGE
Lloh19:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
Lloh20:
	adrp	x8, _g_entities@GOTPAGE
Lloh21:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh22:
	ldrsw	x8, [x8]
	ldur	x9, [x29, #-40]
Lloh23:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_21
; %bb.7:
	sub	x0, x19, x8, lsl #3
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_8:
Lloh28:
	adrp	x9, _g_gametype@GOTPAGE
Lloh29:
	ldr	x9, [x9, _g_gametype@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
Lloh31:
	adrp	x10, _GT_TOURNAMENT@GOTPAGE
Lloh32:
	ldr	x10, [x10, _GT_TOURNAMENT@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.9:
	ldr	w9, [x8, #8]
	cmp	w9, #130
	b.ne	LBB0_11
; %bb.10:
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
LBB0_11:
	mov	w0, #1
	mov	x1, x21
	mov	x2, x20
	bl	_trap_Argv
	mov	x0, x19
	mov	x1, x21
	bl	_SetTeam
	ldr	x8, [x22]
	mov	w9, #5000
	add	x8, x8, x9
	ldr	x9, [x19]
	str	x8, [x9]
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.13:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh37:
	adrp	x8, _g_entities@GOTPAGE
Lloh38:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh39:
	ldrsw	x8, [x8]
	ldur	x9, [x29, #-40]
Lloh40:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_21
; %bb.15:
	sub	x0, x19, x8, lsl #3
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_16:
Lloh45:
	adrp	x8, _g_entities@GOTPAGE
Lloh46:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh47:
	ldrsw	x8, [x8]
	ldur	x9, [x29, #-40]
Lloh48:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh49:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_21
; %bb.17:
	sub	x0, x19, x8, lsl #3
Lloh51:
	adrp	x1, l_.str.2@PAGE
Lloh52:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_18:
Lloh53:
	adrp	x8, _g_entities@GOTPAGE
Lloh54:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh55:
	ldrsw	x8, [x8]
	ldur	x9, [x29, #-40]
Lloh56:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_21
; %bb.19:
	sub	x0, x19, x8, lsl #3
Lloh59:
	adrp	x1, l_.str@PAGE
Lloh60:
	add	x1, x1, l_.str@PAGEOFF
LBB0_20:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_trap_SendServerCommand
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
                                        ; -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ; @MAX_TOKEN_CHARS
	.comm	_g_entities,4,2                 ; @g_entities
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"print \"Blue team\n\""

l_.str.1:                               ; @.str.1
	.asciz	"print \"Red team\n\""

l_.str.2:                               ; @.str.2
	.asciz	"print \"Free team\n\""

l_.str.3:                               ; @.str.3
	.asciz	"print \"Spectator team\n\""

	.comm	_level,8,3                      ; @level
l_.str.4:                               ; @.str.4
	.asciz	"print \"May not switch teams more than once per 5 seconds.\n\""

	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ; @GT_TOURNAMENT
.subsections_via_symbols
