	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_BotSelectMenu_LeftEvent
_UI_BotSelectMenu_LeftEvent:            ## @UI_BotSelectMenu_LeftEvent
	.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	_botSelectInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.3:
	decl	%ecx
	movl	%ecx, (%rax)
	movq	_MAX_MODELSPERPAGE@GOTPCREL(%rip), %rdx
	imull	(%rdx), %ecx
	movl	%ecx, 4(%rax)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_BotSelectMenu_UpdateGrid    ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_botSelectInfo,8,2              ## @botSelectInfo
	.comm	_MAX_MODELSPERPAGE,4,2          ## @MAX_MODELSPERPAGE
	.no_dead_strip	_UI_BotSelectMenu_LeftEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_BotSelectMenu_LeftEvent
_UI_BotSelectMenu_LeftEvent:            ; @UI_BotSelectMenu_LeftEvent
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _botSelectInfo@GOTPAGE
Lloh4:
	ldr	x8, [x8, _botSelectInfo@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w10, w1
	ccmp	w9, #1, #8, eq
	b.ge	LBB0_2
; %bb.1:
	ret
LBB0_2:
	sub	w9, w9, #1
Lloh5:
	adrp	x10, _MAX_MODELSPERPAGE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MAX_MODELSPERPAGE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	mul	w10, w10, w9
	stp	w9, w10, [x8]
	b	_UI_BotSelectMenu_UpdateGrid
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_botSelectInfo,8,2              ; @botSelectInfo
	.comm	_MAX_MODELSPERPAGE,4,2          ; @MAX_MODELSPERPAGE
	.no_dead_strip	_UI_BotSelectMenu_LeftEvent
.subsections_via_symbols
