	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psp_v12_0_compare_sram_data
_psp_v12_0_compare_sram_data:           ## @psp_v12_0_compare_sram_data
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r8d
	movq	%rsi, %r14
	movl	$0, -36(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -40(%rbp)
	movq	(%rdi), %rdi
	leaq	-36(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	callq	_psp_v12_0_sram_map
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-44(%rbp), %edi
	movl	-36(%rbp), %esi
	callq	_WREG32
	movl	(%r14), %r12d
	movl	$1, %r15d
	testq	%r12, %r12
	je	LBB0_6
## %bb.2:
	movq	8(%r14), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-40(%rbp), %edi
	callq	_RREG32
	movl	%eax, -36(%rbp)
	cmpl	%eax, (%r14,%rbx)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %rbx
	cmpl	%ebx, %r12d
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_psp_v12_0_compare_sram_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psp_v12_0_compare_sram_data
_psp_v12_0_compare_sram_data:           ; @psp_v12_0_compare_sram_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x2
	mov	x19, x1
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	x0, [x0]
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_psp_v12_0_sram_map
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_7
; %bb.1:
	ldp	w0, w1, [sp, #8]
	bl	_WREG32
	ldr	w20, [x19]
	cbz	w20, LBB0_5
; %bb.2:
	ldr	x19, [x19, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #4]
	bl	_RREG32
	str	w0, [sp, #12]
	ldr	w8, [x19]
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #4
	subs	w20, w20, #4
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_psp_v12_0_compare_sram_data
.subsections_via_symbols
