	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cheat_manager_search
_cheat_manager_search:                  ## @cheat_manager_search
	.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
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_cheat_manager_state@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	8(%rcx), %r12
	movq	%rax, -192(%rbp)
	movl	$0, -180(%rbp)
	movl	$1, -164(%rbp)
	movl	$8, -168(%rbp)
	cmpl	$0, 16(%rcx)
	je	LBB0_1
## %bb.2:
	movl	%edi, %ebx
	movl	76(%rcx), %edi
	leaq	-164(%rbp), %rsi
	leaq	-180(%rbp), %rdx
	leaq	-168(%rbp), %rcx
	callq	_cheat_manager_setup_search_meta
	movq	_cheat_manager_state@GOTPCREL(%rip), %r10
	cmpl	$0, 20(%r10)
	je	LBB0_8
## %bb.3:
	movq	%rbx, %r11
	xorl	%ebx, %ebx
	addl	$-128, %r11d
	movq	%r11, -176(%rbp)                ## 8-byte Spill
	movq	%r12, -208(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-164(%rbp), %ecx
	movq	-208(%rbp), %r12                ## 8-byte Reload
	movl	-196(%rbp), %ebx                ## 4-byte Reload
LBB0_41:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	%ecx, %ebx
	cmpl	20(%r10), %ebx
	jae	LBB0_8
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movl	%ebx, %edi
	leaq	-192(%rbp), %rsi
	callq	_translate_address
	movl	-164(%rbp), %ecx
	movl	%ebx, %r13d
	movl	%eax, %eax
	cmpl	$4, %ecx
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$2, %ecx
	movq	_cheat_manager_state@GOTPCREL(%rip), %r10
	jne	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-192(%rbp), %rdx
	addq	%r13, %rdx
	movq	%rdx, %rsi
	subq	%rax, %rsi
	negq	%rax
	cmpl	$0, 72(%r10)
	movzbl	(%rsi), %esi
	movq	-176(%rbp), %r11                ## 8-byte Reload
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	shll	$8, %esi
	movzbl	1(%rdx,%rax), %r14d
	orl	%esi, %r14d
	movzwl	(%r12,%r13), %eax
	rolw	$8, %ax
	movzwl	%ax, %r15d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-192(%rbp), %rdx
	addq	%r13, %rdx
	movq	%rdx, %rsi
	subq	%rax, %rsi
	negq	%rax
	movq	_cheat_manager_state@GOTPCREL(%rip), %r10
	cmpl	$0, 72(%r10)
	movzbl	(%rsi), %esi
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	shll	$24, %esi
	movzbl	1(%rdx,%rax), %edi
	shll	$16, %edi
	orl	%esi, %edi
	movzbl	2(%rdx,%rax), %esi
	shll	$8, %esi
	orl	%edi, %esi
	movzbl	3(%rdx,%rax), %r14d
	orl	%esi, %r14d
	movl	(%r12,%r13), %r15d
	bswapl	%r15d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-192(%rbp), %rdx
	subq	%rax, %rdx
	movzbl	(%rdx,%r13), %r14d
	movzbl	(%r12,%r13), %r15d
	jmp	LBB0_19
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%rdx,%rax), %r14d
	shll	$8, %r14d
	orl	%esi, %r14d
	movzwl	(%r12,%r13), %r15d
	jmp	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%rdx,%rax), %edi
	shll	$8, %edi
	orl	%esi, %edi
	movzbl	2(%rdx,%rax), %esi
	shll	$16, %esi
	orl	%edi, %esi
	movzbl	3(%rdx,%rax), %r14d
	shll	$24, %r14d
	orl	%esi, %r14d
	movl	(%r12,%r13), %r15d
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-176(%rbp), %r11                ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-168(%rbp), %esi
	cmpl	$8, %esi
	ja	LBB0_41
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, -196(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_22 Depth=2
	incl	%r12d
	movl	-168(%rbp), %esi
	movl	$8, %eax
	xorl	%edx, %edx
	divl	%esi
	cmpl	%eax, %r12d
	jae	LBB0_40
LBB0_22:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %ecx
	imull	%r12d, %ecx
	movl	%r14d, %edi
	shrl	%cl, %edi
	movl	%r15d, %ebx
	shrl	%cl, %ebx
	movl	-180(%rbp), %eax
	movl	%eax, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	cmpl	$8, %esi
	movq	24(%r10), %r9
	movl	(%r9,%r13,4), %r8d
	movl	$-1, %ecx
	cmovbl	%edx, %ecx
	testl	%ecx, %r8d
	je	LBB0_39
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	cmpl	$8, %r11d
	ja	LBB0_34
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=2
	andl	%eax, %edi
	andl	%eax, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r11,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=2
	cmpl	%ebx, %edi
	jne	LBB0_39
	jmp	LBB0_34
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=2
	cmpl	%ebx, %edi
	jbe	LBB0_39
	jmp	LBB0_34
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=2
	cmpl	%ebx, %edi
	jb	LBB0_39
	jmp	LBB0_34
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=2
	cmpl	%ebx, %edi
	jae	LBB0_39
	jmp	LBB0_34
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=2
	cmpl	%ebx, %edi
	ja	LBB0_39
	jmp	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_22 Depth=2
	cmpl	32(%r10), %edi
	je	LBB0_39
	jmp	LBB0_34
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=2
	addl	68(%r10), %ebx
	jmp	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_22 Depth=2
	subl	64(%r10), %ebx
LBB0_32:                                ##   in Loop: Header=BB0_22 Depth=2
	cmpl	%ebx, %edi
	je	LBB0_39
LBB0_34:                                ##   in Loop: Header=BB0_22 Depth=2
	leaq	(%r9,%r13,4), %rdi
	cmpl	$7, %esi
	ja	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_22 Depth=2
	notl	%edx
	andl	%r8d, %edx
	movzbl	%dl, %eax
	movl	%eax, (%rdi)
	jmp	LBB0_37
LBB0_36:                                ##   in Loop: Header=BB0_22 Depth=2
	movl	-164(%rbp), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	-176(%rbp), %r11                ## 8-byte Reload
	movq	_cheat_manager_state@GOTPCREL(%rip), %r10
LBB0_37:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	40(%r10), %rax
	testq	%rax, %rax
	jle	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_22 Depth=2
	decq	%rax
	movq	%rax, 40(%r10)
	jmp	LBB0_39
LBB0_8:
	cmpl	$0, 16(%r10)
	je	LBB0_11
## %bb.9:
	movq	48(%r10), %rax
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ebx
	movq	8(%r10), %rdi
	addq	%rbx, %rdi
	movq	56(%r10), %rcx
	movl	(%rcx,%r14,4), %esi
	movq	(%rax,%r14,8), %rdx
	callq	_memcpy
	movq	_cheat_manager_state@GOTPCREL(%rip), %r10
	movq	48(%r10), %rax
	addq	(%rax,%r14,8), %rbx
	incq	%r14
	movl	16(%r10), %ecx
	cmpq	%rcx, %r14
	jb	LBB0_10
LBB0_11:
	movq	_MSG_CHEAT_SEARCH_FOUND_MATCHES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r10, %rbx
	callq	_msg_hash_to_str
	movq	40(%rbx), %rcx
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %esi
	movq	%rax, %rdx
	callq	_snprintf
	movb	$0, -61(%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
	jmp	LBB0_12
LBB0_1:
	movq	_MSG_CHEAT_SEARCH_NOT_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	%rax, %rdi
LBB0_12:
	movl	$1, %esi
	movl	$180, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_runloop_msg_queue_push
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.42:
	xorl	%eax, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
LJTI0_0:
	.long	L0_0_set_29
	.long	L0_0_set_27
	.long	L0_0_set_25
	.long	L0_0_set_28
	.long	L0_0_set_26
	.long	L0_0_set_33
	.long	L0_0_set_30
	.long	L0_0_set_31
	.long	L0_0_set_32
	.end_data_region
                                        ## -- End function
	.comm	_cheat_manager_state,80,3       ## @cheat_manager_state
	.comm	_MSG_CHEAT_SEARCH_NOT_INITIALIZED,4,2 ## @MSG_CHEAT_SEARCH_NOT_INITIALIZED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.comm	_MSG_CHEAT_SEARCH_FOUND_MATCHES,4,2 ## @MSG_CHEAT_SEARCH_FOUND_MATCHES
	.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
	.no_dead_strip	_cheat_manager_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cheat_manager_search
_cheat_manager_search:                  ; @cheat_manager_search
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x21, _cheat_manager_state@GOTPAGE
Lloh4:
	ldr	x21, [x21, _cheat_manager_state@GOTPAGEOFF]
	ldp	x8, x22, [x21]
	str	x8, [sp, #24]
	mov	w8, #1
	stp	w8, wzr, [sp, #16]
	mov	w8, #8
	str	w8, [sp, #12]
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_38
; %bb.1:
	mov	x20, x0
	ldr	w0, [x21, #76]
	add	x1, sp, #16
	add	x2, sp, #20
	add	x3, sp, #12
	bl	_cheat_manager_setup_search_meta
	ldr	w8, [x21, #20]
	cbz	w8, LBB0_34
; %bb.2:
	mov	w19, #0
	mov	w23, #8
	sub	w20, w20, #128
Lloh5:
	adrp	x24, lJTI0_0@PAGE
Lloh6:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #16]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x21, #20]
	add	w19, w8, w19
	cmp	w19, w9
	b.hs	LBB0_34
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	add	x1, sp, #24
	mov	x0, x19
	bl	_translate_address
	ldr	w8, [sp, #16]
	mov	w25, w19
	cmp	w8, #4
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #2
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w12, [x21, #72]
	ldr	x9, [sp, #24]
	mov	w13, w0
	neg	x10, x13
	add	x11, x9, x25
	sub	x9, x11, x13
	ldrb	w9, [x9]
	add	x10, x11, x10
	cbz	w12, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w26, [x10, #1]
	bfi	w26, w9, #8, #8
	ldrh	w9, [x22, x25]
	rev16	w27, w9
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w11, [x21, #72]
	ldr	x10, [sp, #24]
	mov	w12, w0
	neg	x9, x12
	add	x10, x10, x25
	sub	x12, x10, x12
	ldrb	w26, [x12]
	cbz	w11, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w11, w26, #24
	add	x9, x10, x9
	ldrb	w10, [x9, #1]
	bfi	w11, w10, #16, #8
	ldrb	w10, [x9, #2]
	bfi	w11, w10, #8, #8
	ldrb	w9, [x9, #3]
	orr	w26, w11, w9
	ldr	w9, [x22, x25]
	rev	w27, w9
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #24]
	sub	x9, x9, w0, uxtw
	ldrb	w26, [x9, x25]
	ldrb	w27, [x22, x25]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w10, [x10, #1]
	bfi	w9, w10, #8, #8
	ldrh	w27, [x22, x25]
	mov	x26, x9
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x10, x9
	ldrb	w10, [x9, #1]
	bfi	w26, w10, #8, #8
	ldrb	w10, [x9, #2]
	bfi	w26, w10, #16, #8
	ldrb	w9, [x9, #3]
	bfi	w26, w9, #24, #8
	ldr	w27, [x22, x25]
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [sp, #12]
	cmp	w9, #8
	b.hi	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	w28, w28, #1
	ldr	w9, [sp, #12]
	udiv	w8, w23, w9
	cmp	w28, w8
	b.hs	LBB0_3
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mul	w12, w9, w28
	ldr	w13, [sp, #20]
	ldr	x8, [x21, #24]
	add	x0, x8, x25, lsl #2
	ldr	w8, [x0]
	lsl	w10, w13, w12
	cmp	w9, #8
	csinv	w11, w10, wzr, lo
	tst	w8, w11
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	cmp	w20, #8
	b.hi	LBB0_28
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	lsr	w11, w26, w12
	and	w11, w13, w11
	lsr	w12, w27, w12
	and	w12, w13, w12
	adr	x13, LBB0_20
	ldrb	w14, [x24, x20]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w11, w12
	b.ne	LBB0_16
	b	LBB0_28
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w11, w12
	b.ls	LBB0_16
	b	LBB0_28
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w11, w12
	b.lo	LBB0_16
	b	LBB0_28
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w11, w12
	b.hs	LBB0_16
	b	LBB0_28
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w11, w12
	b.hi	LBB0_16
	b	LBB0_28
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w12, [x21, #32]
	cmp	w11, w12
	b.eq	LBB0_16
	b	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w13, [x21, #68]
	add	w12, w13, w12
LBB0_27:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w11, w12
	b.eq	LBB0_16
LBB0_28:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	w9, #7
	b.hi	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_17 Depth=2
	bic	w8, w8, w10
	and	w8, w8, #0xff
	str	w8, [x0]
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w2, [sp, #16]
	mov	w1, #0
	bl	_memset
LBB0_31:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	x8, [x21, #40]
	subs	x8, x8, #1
	b.lt	LBB0_16
; %bb.32:                               ;   in Loop: Header=BB0_17 Depth=2
	str	x8, [x21, #40]
	b	LBB0_16
LBB0_33:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w13, [x21, #64]
	sub	w12, w12, w13
	cmp	w11, w12
	b.eq	LBB0_16
	b	LBB0_28
LBB0_34:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_37
; %bb.35:
	mov	x19, #0
	mov	x9, #0
	ldr	x8, [x21, #48]
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21, #8]
	and	x20, x9, #0xffffffff
	add	x0, x10, x20
	ldr	x9, [x21, #56]
	ldr	w1, [x9, x19, lsl #2]
	lsl	x22, x19, #3
	ldr	x2, [x8, x22]
	bl	_memcpy
	ldr	x8, [x21, #48]
	ldr	x9, [x8, x22]
	add	x9, x9, x20
	add	x19, x19, #1
	ldr	w10, [x21, #16]
	cmp	x19, x10
	b.lo	LBB0_36
LBB0_37:
Lloh7:
	adrp	x8, _MSG_CHEAT_SEARCH_FOUND_MATCHES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_CHEAT_SEARCH_FOUND_MATCHES@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	x3, [x21, #40]
	add	x0, sp, #36
	mov	w1, #100
	bl	_snprintf
	strb	wzr, [sp, #135]
Lloh10:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
Lloh13:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh15:
	ldr	w6, [x8]
	add	x0, sp, #36
	b	LBB0_39
LBB0_38:
Lloh16:
	adrp	x8, _MSG_CHEAT_SEARCH_NOT_INITIALIZED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_CHEAT_SEARCH_NOT_INITIALIZED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
Lloh19:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh21:
	ldr	w5, [x8]
Lloh22:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh24:
	ldr	w6, [x8]
LBB0_39:
	mov	w1, #1
	mov	w2, #180
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.40:
	mov	w0, #0
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_41:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_21-LBB0_20)>>2
	.byte	(LBB0_22-LBB0_20)>>2
	.byte	(LBB0_23-LBB0_20)>>2
	.byte	(LBB0_24-LBB0_20)>>2
	.byte	(LBB0_25-LBB0_20)>>2
	.byte	(LBB0_26-LBB0_20)>>2
	.byte	(LBB0_33-LBB0_20)>>2
	.byte	(LBB0_27-LBB0_20)>>2
                                        ; -- End function
	.comm	_cheat_manager_state,80,3       ; @cheat_manager_state
	.comm	_MSG_CHEAT_SEARCH_NOT_INITIALIZED,4,2 ; @MSG_CHEAT_SEARCH_NOT_INITIALIZED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.comm	_MSG_CHEAT_SEARCH_FOUND_MATCHES,4,2 ; @MSG_CHEAT_SEARCH_FOUND_MATCHES
	.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
	.no_dead_strip	_cheat_manager_search
.subsections_via_symbols
