	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheatRemoveARCode              ## -- Begin function CheatRemoveARCode
	.p2align	4, 0x90
_CheatRemoveARCode:                     ## @CheatRemoveARCode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdx
	leaq	-2(%rbp), %rcx
	callq	_sscanf
	movq	-16(%rbp), %rsi
	movq	%rsi, %rcx
	shrq	$28, %rcx
	cmpq	$13, %rcx
	je	LBB0_5
## %bb.1:
	cmpq	$3, %rcx
	je	LBB0_4
## %bb.2:
	movl	$-1, %eax
	cmpq	$1, %rcx
	jne	LBB0_7
## %bb.3:
	movq	_CHEATTYPE_WORDWRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_CHEATTYPE_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_CHEATTYPE_BYTEWRITE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	andl	$268435455, %esi                ## imm = 0xFFFFFFF
	movzwl	-2(%rbp), %edx
	callq	_CheatRemoveCode
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08lX %04hX"

	.comm	_CHEATTYPE_WORDWRITE,4,2        ## @CHEATTYPE_WORDWRITE
	.comm	_CHEATTYPE_BYTEWRITE,4,2        ## @CHEATTYPE_BYTEWRITE
	.comm	_CHEATTYPE_ENABLE,4,2           ## @CHEATTYPE_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheatRemoveARCode              ; -- Begin function CheatRemoveARCode
	.p2align	2
_CheatRemoveARCode:                     ; @CheatRemoveARCode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #6
	bl	_sscanf
	ldr	x8, [sp, #8]
	lsr	x9, x8, #28
	cmp	x9, #13
	b.eq	LBB0_4
; %bb.1:
	cmp	x9, #3
	b.eq	LBB0_5
; %bb.2:
	cmp	x9, #1
	b.ne	LBB0_7
; %bb.3:
Lloh2:
	adrp	x9, _CHEATTYPE_WORDWRITE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CHEATTYPE_WORDWRITE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x9, _CHEATTYPE_ENABLE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CHEATTYPE_ENABLE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x9, _CHEATTYPE_BYTEWRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHEATTYPE_BYTEWRITE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x9]
	and	x1, x8, #0xfffffff
	ldrh	w2, [sp, #6]
	bl	_CheatRemoveCode
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08lX %04hX"

	.comm	_CHEATTYPE_WORDWRITE,4,2        ; @CHEATTYPE_WORDWRITE
	.comm	_CHEATTYPE_BYTEWRITE,4,2        ; @CHEATTYPE_BYTEWRITE
	.comm	_CHEATTYPE_ENABLE,4,2           ; @CHEATTYPE_ENABLE
.subsections_via_symbols
