	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_AddBotsMenu_UpEvent
_UI_AddBotsMenu_UpEvent:                ## @UI_AddBotsMenu_UpEvent
	.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:
	movq	_addBotsMenuInfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_2
## %bb.3:
	decq	%rcx
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_AddBotsMenu_SetBotNames     ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_addBotsMenuInfo,8,3            ## @addBotsMenuInfo
	.no_dead_strip	_UI_AddBotsMenu_UpEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_AddBotsMenu_UpEvent
_UI_AddBotsMenu_UpEvent:                ; @UI_AddBotsMenu_UpEvent
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _addBotsMenuInfo@GOTPAGE
Lloh4:
	ldr	x8, [x8, _addBotsMenuInfo@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	w10, w1
	ccmp	x9, #1, #8, eq
	b.ge	LBB0_2
; %bb.1:
	ret
LBB0_2:
	sub	x9, x9, #1
	str	x9, [x8]
	b	_UI_AddBotsMenu_SetBotNames
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_addBotsMenuInfo,8,3            ; @addBotsMenuInfo
	.no_dead_strip	_UI_AddBotsMenu_UpEvent
.subsections_via_symbols
