	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcheevos_peek
_rcheevos_peek:                         ## @rcheevos_peek
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movl	%edi, %esi
	movq	_rcheevos_locals@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edx
	addq	$4, %rdi
	callq	_rcheevos_fixup_find
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpl	$1, %ebx
	je	LBB0_6
## %bb.2:
	cmpl	$2, %ebx
	je	LBB0_5
## %bb.3:
	cmpl	$4, %ebx
	jne	LBB0_7
## %bb.4:
	movl	8(%rax), %edx
	movl	12(%rax), %ecx
	shll	$16, %edx
	shll	$24, %ecx
	orl	%edx, %ecx
LBB0_5:
	movl	4(%rax), %edx
	shll	$8, %edx
	orl	%edx, %ecx
LBB0_6:
	orl	(%rax), %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rcheevos_locals,8,2            ## @rcheevos_locals
	.no_dead_strip	_rcheevos_peek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcheevos_peek
_rcheevos_peek:                         ; @rcheevos_peek
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x1, x0
Lloh0:
	adrp	x0, _rcheevos_locals@GOTPAGE
Lloh1:
	ldr	x0, [x0, _rcheevos_locals@GOTPAGEOFF]
	ldr	w2, [x0], #4
	bl	_rcheevos_fixup_find
	mov	w8, #0
	cbz	x0, LBB0_7
; %bb.1:
	cmp	w19, #1
	b.eq	LBB0_6
; %bb.2:
	cmp	w19, #2
	b.eq	LBB0_5
; %bb.3:
	cmp	w19, #4
	b.ne	LBB0_7
; %bb.4:
	ldp	w8, w9, [x0, #8]
	lsl	w9, w9, #24
	orr	w8, w9, w8, lsl #16
LBB0_5:
	ldr	w9, [x0, #4]
	orr	w8, w8, w9, lsl #8
LBB0_6:
	ldr	w9, [x0]
	orr	w8, w9, w8
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rcheevos_locals,8,2            ; @rcheevos_locals
	.no_dead_strip	_rcheevos_peek
.subsections_via_symbols
