	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TeamMain_MenuEvent
_TeamMain_MenuEvent:                    ## @TeamMain_MenuEvent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_QM_ACTIVATED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_2
## %bb.3:
	cltq
	leaq	l_reltable.TeamMain_MenuEvent(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_trap_Cmd_ExecuteText
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_ForceMenuOff                ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd team red\n"

L_.str.1:                               ## @.str.1
	.asciz	"cmd team blue\n"

L_.str.2:                               ## @.str.2
	.asciz	"cmd team free\n"

L_.str.3:                               ## @.str.3
	.asciz	"cmd team spectator\n"

	.no_dead_strip	_TeamMain_MenuEvent
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.TeamMain_MenuEvent
l_reltable.TeamMain_MenuEvent:
	.long	L_.str.3-l_reltable.TeamMain_MenuEvent
	.long	L_.str-l_reltable.TeamMain_MenuEvent
	.long	L_.str.2-l_reltable.TeamMain_MenuEvent
	.long	L_.str.1-l_reltable.TeamMain_MenuEvent

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TeamMain_MenuEvent
_TeamMain_MenuEvent:                    ; @TeamMain_MenuEvent
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, l_switch.table.TeamMain_MenuEvent@PAGE
Lloh4:
	add	x9, x9, l_switch.table.TeamMain_MenuEvent@PAGEOFF
	ldr	x1, [x9, w8, sxtw #3]
Lloh5:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_trap_Cmd_ExecuteText
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_UI_ForceMenuOff
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd team red\n"

l_.str.1:                               ; @.str.1
	.asciz	"cmd team blue\n"

l_.str.2:                               ; @.str.2
	.asciz	"cmd team free\n"

l_.str.3:                               ; @.str.3
	.asciz	"cmd team spectator\n"

	.no_dead_strip	_TeamMain_MenuEvent
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.TeamMain_MenuEvent
l_switch.table.TeamMain_MenuEvent:
	.quad	l_.str.3
	.quad	l_.str
	.quad	l_.str.2
	.quad	l_.str.1

.subsections_via_symbols
