	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cheat_manager_realloc          ## -- Begin function cheat_manager_realloc
	.p2align	4, 0x90
_cheat_manager_realloc:                 ## @cheat_manager_realloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	_cheat_manager_state@GOTPCREL(%rip), %r13
	movq	8(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	(%r13), %r15d
	movl	%r15d, %r12d
	subl	%r14d, %r15d
	jbe	LBB0_9
## %bb.3:
	movl	%r14d, %eax
	imulq	$56, %rax, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rdi
	addq	$56, %rbx
	decl	%r15d
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%rdi,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_free
	movq	8(%r13), %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	40(%rdi,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_free
	jmp	LBB0_8
LBB0_9:
	imull	$56, %r14d, %esi
	callq	_realloc
	movq	%rax, %rdi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_10
LBB0_1:
	movl	%r14d, %edi
	movl	$56, %esi
	callq	_calloc
	movq	%rax, %rdi
	xorl	%r12d, %r12d
LBB0_10:
	movq	%rdi, 8(%r13)
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.12:
	movl	%r14d, 4(%r13)
	movl	%r14d, (%r13)
	movl	$1, %eax
	cmpl	%r14d, %r12d
	jae	LBB0_16
## %bb.13:
	movl	%r12d, %r14d
	imulq	$56, %r14, %rbx
	movl	%r15d, %r12d
	movabsq	$4294967297, %r15               ## imm = 0x100000001
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	addq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	8(%r13), %rdi
	movl	$0, (%rdi,%rbx)
	movl	%r12d, 4(%rdi,%rbx)
	movq	_CHEAT_TYPE_SET_TO_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi,%rbx)
	movl	$3, 8(%rdi,%rbx)
	movl	%r14d, 12(%rdi,%rbx)
	movq	%r15, 16(%rdi,%rbx)
	movq	$0, 24(%rdi,%rbx)
	incq	%r14
	movl	(%r13), %eax
	addq	$56, %rbx
	cmpq	%rax, %r14
	jb	LBB0_14
## %bb.15:
	movl	$1, %eax
	jmp	LBB0_16
LBB0_11:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cheat_manager_state,16,3       ## @cheat_manager_state
	.comm	_CHEAT_TYPE_SET_TO_VALUE,4,2    ## @CHEAT_TYPE_SET_TO_VALUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cheat_manager_realloc          ; -- Begin function cheat_manager_realloc
	.p2align	2
_cheat_manager_realloc:                 ; @cheat_manager_realloc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _cheat_manager_state@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cheat_manager_state@GOTPAGEOFF]
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_13
; %bb.1:
	ldr	w22, [x21]
	subs	w23, w22, w20
	b.ls	LBB0_8
; %bb.2:
	mov	w8, #56
	umull	x24, w20, w8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #8]
	add	x24, x24, #56
	subs	w23, w23, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x24
	ldr	x8, [x8, #48]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x8
	bl	_free
	ldr	x0, [x21, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x24
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_free
	b	LBB0_3
LBB0_8:
	mov	w8, #56
	mul	w1, w20, w8
	bl	_realloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_14
LBB0_9:
	stp	w20, w20, [x21]
	cmp	w22, w20
	b.hs	LBB0_12
; %bb.10:
	mov	w20, w22
	mov	w8, #56
	umull	x22, w22, w8
Lloh2:
	adrp	x23, _CHEAT_TYPE_SET_TO_VALUE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CHEAT_TYPE_SET_TO_VALUE@GOTPAGEOFF]
	mov	w24, #3
	mov	x25, #4294967297
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x0, x22
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x0, [x21, #8]
	add	x8, x0, x22
	stp	wzr, w19, [x8]
	ldr	w9, [x23]
	str	w9, [x8, #32]
	stp	w24, w20, [x8, #8]
	stp	x25, xzr, [x8, #16]
	add	x20, x20, #1
	ldr	w8, [x21]
	add	x22, x22, #56
	cmp	x20, x8
	b.lo	LBB0_11
LBB0_12:
	mov	w0, #1
	b	LBB0_15
LBB0_13:
	mov	x0, x20
	mov	w1, #56
	bl	_calloc
	mov	w22, #0
	str	x0, [x21, #8]
	cbnz	x0, LBB0_9
LBB0_14:
	stp	xzr, xzr, [x21]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_cheat_manager_state,16,3       ; @cheat_manager_state
	.comm	_CHEAT_TYPE_SET_TO_VALUE,4,2    ; @CHEAT_TYPE_SET_TO_VALUE
.subsections_via_symbols
