	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cart_ram_read_word
_cart_ram_read_word:                    ## @cart_ram_read_word
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_scd@GOTPCREL(%rip), %rax
	movl	%edi, %ecx
	shrq	%rcx
	andl	8(%rax), %ecx
	movq	(%rax), %rdx
	movl	$65280, %eax                    ## imm = 0xFF00
	orl	(%rdx,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scd,16,3                       ## @scd
	.no_dead_strip	_cart_ram_read_word
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cart_ram_read_word
_cart_ram_read_word:                    ; @cart_ram_read_word
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _scd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scd@GOTPAGEOFF]
	ldr	x9, [x8]
	mov	w10, w0
	ldr	w8, [x8, #8]
	and	x8, x8, x10, lsr #1
	ldr	w8, [x9, x8, lsl #2]
	orr	w0, w8, #0xff00
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_scd,16,3                       ; @scd
	.no_dead_strip	_cart_ram_read_word
.subsections_via_symbols
