	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_TeamOrdersMenu_ListEvent
_UI_TeamOrdersMenu_ListEvent:           ## @UI_TeamOrdersMenu_ListEvent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_QM_ACTIVATED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_12
## %bb.1:
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	movq	_ID_LIST_BOTS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_8
## %bb.2:
	movq	_teamOrdersMenuInfo@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	8(%rcx), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	_ID_LIST_CTF_ORDERS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	cltq
	movq	_ID_LIST_CTF_ORDERS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
## %bb.10:
	movq	_ctfMessages@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_6:
	movq	_ID_LIST_TEAM_ORDERS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_7
## %bb.5:
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_UI_TeamOrdersMenu_SetList      ## TAILCALL
LBB0_9:
	movq	_teamMessages@GOTPCREL(%rip), %rcx
LBB0_11:
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edx
	movq	_teamOrdersMenuInfo@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movslq	(%rax), %rax
	movl	(%rcx,%rax,4), %ecx
	leaq	-288(%rbp), %r14
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_Com_sprintf
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_va
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_trap_Cmd_ExecuteText
	xorl	%eax, %eax
	callq	_UI_PopMenu
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_7
## %bb.13:
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_ID_LIST_BOTS,4,2               ## @ID_LIST_BOTS
	.comm	_teamOrdersMenuInfo,24,3        ## @teamOrdersMenuInfo
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_ID_LIST_CTF_ORDERS,4,2         ## @ID_LIST_CTF_ORDERS
	.comm	_ID_LIST_TEAM_ORDERS,4,2        ## @ID_LIST_TEAM_ORDERS
	.comm	_ctfMessages,8,3                ## @ctfMessages
	.comm	_teamMessages,8,3               ## @teamMessages
	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"say_team \"%s\"\n"

	.no_dead_strip	_UI_TeamOrdersMenu_ListEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_TeamOrdersMenu_ListEvent
_UI_TeamOrdersMenu_ListEvent:           ; @UI_TeamOrdersMenu_ListEvent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_5
; %bb.1:
	ldp	w9, w8, [x0]
Lloh6:
	adrp	x10, _ID_LIST_BOTS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ID_LIST_BOTS@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _teamOrdersMenuInfo@GOTPAGE
Lloh10:
	ldr	x8, [x8, _teamOrdersMenuInfo@GOTPAGEOFF]
	str	w9, [x8]
	ldr	x8, [x8, #8]
Lloh11:
	adrp	x9, _GT_CTF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GT_CTF@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
Lloh14:
	adrp	x8, _ID_LIST_CTF_ORDERS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ID_LIST_CTF_ORDERS@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	sxtw	x9, w9
Lloh16:
	adrp	x10, _ID_LIST_CTF_ORDERS@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ID_LIST_CTF_ORDERS@GOTPAGEOFF]
Lloh18:
	adrp	x11, _ctfMessages@GOTPAGE
Lloh19:
	ldr	x11, [x11, _ctfMessages@GOTPAGEOFF]
Lloh20:
	adrp	x12, _teamMessages@GOTPAGE
Lloh21:
	ldr	x12, [x12, _teamMessages@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	cmp	w8, w10
	csel	x8, x11, x12, eq
	ldr	x8, [x8]
	ldr	w2, [x8, x9, lsl #2]
Lloh23:
	adrp	x8, _teamOrdersMenuInfo@GOTPAGE
Lloh24:
	ldr	x8, [x8, _teamOrdersMenuInfo@GOTPAGEOFF]
	ldr	x9, [x8, #16]
	ldrsw	x8, [x8]
	ldr	w3, [x9, x8, lsl #2]
	add	x0, sp, #8
	mov	w1, #256
	bl	_Com_sprintf
Lloh25:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh27:
	ldr	w19, [x8]
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_va
	mov	x1, x0
	mov	x0, x19
	bl	_trap_Cmd_ExecuteText
	bl	_UI_PopMenu
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.6:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_7:
Lloh33:
	adrp	x8, _ID_LIST_TEAM_ORDERS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ID_LIST_TEAM_ORDERS@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldur	x8, [x29, #-24]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #304
	b	_UI_TeamOrdersMenu_SetList
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh22
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_ID_LIST_BOTS,4,2               ; @ID_LIST_BOTS
	.comm	_teamOrdersMenuInfo,24,3        ; @teamOrdersMenuInfo
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_ID_LIST_CTF_ORDERS,4,2         ; @ID_LIST_CTF_ORDERS
	.comm	_ID_LIST_TEAM_ORDERS,4,2        ; @ID_LIST_TEAM_ORDERS
	.comm	_ctfMessages,8,3                ; @ctfMessages
	.comm	_teamMessages,8,3               ; @teamMessages
	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"say_team \"%s\"\n"

	.no_dead_strip	_UI_TeamOrdersMenu_ListEvent
.subsections_via_symbols
