	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_right_cheat_delete_all
_action_right_cheat_delete_all:         ## @action_right_cheat_delete_all
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	$0, -276(%rbp)
	movq	_cheat_manager_state@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	cmpl	$4, %ecx
	jl	LBB0_2
## %bb.1:
	movb	$0, -272(%rbp)
	movl	$0, (%rax)
	movq	_CHEAT_HANDLER_TYPE_EMU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_cheat_manager_realloc
	movq	_MENU_ENTRIES_CTL_SET_REFRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-276(%rbp), %rsi
	callq	_menu_entries_ctl
	movq	_RARCH_MENU_CTL_SET_PREVENT_POPULATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_menu_driver_ctl
	movq	_MSG_CHEAT_DELETE_ALL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	-272(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_strlcpy
	movb	$0, -17(%rbp)
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$180, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_runloop_msg_queue_push
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_cheat_manager_state,4,2        ## @cheat_manager_state
	.comm	_CHEAT_HANDLER_TYPE_EMU,4,2     ## @CHEAT_HANDLER_TYPE_EMU
	.comm	_MENU_ENTRIES_CTL_SET_REFRESH,4,2 ## @MENU_ENTRIES_CTL_SET_REFRESH
	.comm	_RARCH_MENU_CTL_SET_PREVENT_POPULATE,4,2 ## @RARCH_MENU_CTL_SET_PREVENT_POPULATE
	.comm	_MSG_CHEAT_DELETE_ALL_SUCCESS,4,2 ## @MSG_CHEAT_DELETE_ALL_SUCCESS
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.no_dead_strip	_action_right_cheat_delete_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_right_cheat_delete_all
_action_right_cheat_delete_all:         ; @action_right_cheat_delete_all
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [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 w27, -24
	.cfi_offset w28, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	str	wzr, [sp, #4]
Lloh3:
	adrp	x8, _cheat_manager_state@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cheat_manager_state@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cmp	w9, #4
	b.lt	LBB0_2
; %bb.1:
	strb	wzr, [sp, #8]
	str	wzr, [x8]
Lloh5:
	adrp	x8, _CHEAT_HANDLER_TYPE_EMU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHEAT_HANDLER_TYPE_EMU@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_cheat_manager_realloc
Lloh8:
	adrp	x8, _MENU_ENTRIES_CTL_SET_REFRESH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MENU_ENTRIES_CTL_SET_REFRESH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, sp, #4
	bl	_menu_entries_ctl
Lloh11:
	adrp	x8, _RARCH_MENU_CTL_SET_PREVENT_POPULATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RARCH_MENU_CTL_SET_PREVENT_POPULATE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_menu_driver_ctl
Lloh14:
	adrp	x8, _MSG_CHEAT_DELETE_ALL_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_CHEAT_DELETE_ALL_SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	add	x0, sp, #8
	mov	w2, #256
	bl	_strlcpy
	strb	wzr, [sp, #263]
Lloh17:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
Lloh20:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w6, [x8]
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #180
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_cheat_manager_state,4,2        ; @cheat_manager_state
	.comm	_CHEAT_HANDLER_TYPE_EMU,4,2     ; @CHEAT_HANDLER_TYPE_EMU
	.comm	_MENU_ENTRIES_CTL_SET_REFRESH,4,2 ; @MENU_ENTRIES_CTL_SET_REFRESH
	.comm	_RARCH_MENU_CTL_SET_PREVENT_POPULATE,4,2 ; @RARCH_MENU_CTL_SET_PREVENT_POPULATE
	.comm	_MSG_CHEAT_DELETE_ALL_SUCCESS,4,2 ; @MSG_CHEAT_DELETE_ALL_SUCCESS
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.no_dead_strip	_action_right_cheat_delete_all
.subsections_via_symbols
