	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_SPLevelMenu_RightArrowEvent
_UI_SPLevelMenu_RightArrowEvent:        ## @UI_SPLevelMenu_RightArrowEvent
	.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	_selectedArenaSet@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_maxTier@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
LBB0_2:
	popq	%rbp
	retq
LBB0_3:
	incq	%rcx
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_SPLevelMenu_SetMenuItems    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_selectedArenaSet,8,3           ## @selectedArenaSet
	.comm	_maxTier,8,3                    ## @maxTier
	.no_dead_strip	_UI_SPLevelMenu_RightArrowEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_SPLevelMenu_RightArrowEvent
_UI_SPLevelMenu_RightArrowEvent:        ; @UI_SPLevelMenu_RightArrowEvent
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _selectedArenaSet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _selectedArenaSet@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh5:
	adrp	x10, _maxTier@GOTPAGE
Lloh6:
	ldr	x10, [x10, _maxTier@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
LBB0_2:
	ret
LBB0_3:
	add	x9, x9, #1
	str	x9, [x8]
	b	_UI_SPLevelMenu_SetMenuItems
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_selectedArenaSet,8,3           ; @selectedArenaSet
	.comm	_maxTier,8,3                    ; @maxTier
	.no_dead_strip	_UI_SPLevelMenu_RightArrowEvent
.subsections_via_symbols
