	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_AddBotsMenu_FightEvent
_UI_AddBotsMenu_FightEvent:             ## @UI_AddBotsMenu_FightEvent
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_QM_ACTIVATED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_addBotsMenuInfo@GOTPCREL(%rip), %rbx
	movq	32(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movl	24(%rbx), %edx
	incl	%edx
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%rbx), %rax
	movq	(%rbx), %rsi
	movl	(%rax,%rsi,4), %esi
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rdi
	callq	_va
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_trap_Cmd_ExecuteText
	addl	$1500, 8(%rbx)                  ## imm = 0x5DC
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_addBotsMenuInfo,48,3           ## @addBotsMenuInfo
	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"addbot %s %i %s %i\n"

	.no_dead_strip	_UI_AddBotsMenu_FightEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_AddBotsMenu_FightEvent
_UI_AddBotsMenu_FightEvent:             ; @UI_AddBotsMenu_FightEvent
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
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	x20, _addBotsMenuInfo@GOTPAGE
Lloh4:
	ldr	x20, [x20, _addBotsMenuInfo@GOTPAGEOFF]
	ldp	x8, x9, [x20, #32]
	ldr	x3, [x8, x9, lsl #3]
	ldr	w8, [x20, #24]
	add	w2, w8, #1
Lloh5:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	ldr	w1, [x8, x9, lsl #2]
	ldr	w4, [x20, #8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_va
	mov	x1, x0
	mov	x0, x19
	bl	_trap_Cmd_ExecuteText
	ldr	w8, [x20, #8]
	add	w8, w8, #1500
	str	w8, [x20, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_addBotsMenuInfo,48,3           ; @addBotsMenuInfo
	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"addbot %s %i %s %i\n"

	.no_dead_strip	_UI_AddBotsMenu_FightEvent
.subsections_via_symbols
