	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdp_68k_data_r_m4
_vdp_68k_data_r_m4:                     ## @vdp_68k_data_r_m4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rcx, %rdx
	movl	%ecx, %esi
	movq	_pending@GOTPCREL(%rip), %rdi
	movq	$0, (%rdi)
	movq	_reg@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	120(%rdi), %edi
	addl	%ecx, %edi
	incl	%edi
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	andl	$510, %ecx                      ## imm = 0x1FE
	shrq	$8, %rdx
	andl	$2, %edx
	andl	$15360, %esi                    ## imm = 0x3C00
	orq	%rdx, %rsi
	leaq	(%rsi,%rcx,2), %rcx
	movl	%edi, (%rax)
	movq	_vram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_addr,4,2                       ## @addr
	.comm	_pending,8,3                    ## @pending
	.comm	_reg,8,3                        ## @reg
	.comm	_vram,8,3                       ## @vram
	.no_dead_strip	_vdp_68k_data_r_m4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdp_68k_data_r_m4
_vdp_68k_data_r_m4:                     ; @vdp_68k_data_r_m4
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _addr@GOTPAGEOFF]
	ldr	w9, [x8]
	lsl	w10, w9, #1
	and	x10, x10, #0x3fc
	lsr	x11, x9, #8
	and	x11, x11, #0x2
	and	x12, x9, #0x3c00
	orr	x11, x11, x12
	orr	x10, x11, x10
Lloh2:
	adrp	x11, _pending@GOTPAGE
Lloh3:
	ldr	x11, [x11, _pending@GOTPAGEOFF]
Lloh4:
	adrp	x12, _reg@GOTPAGE
Lloh5:
	ldr	x12, [x12, _reg@GOTPAGEOFF]
Lloh6:
	str	xzr, [x11]
Lloh7:
	ldr	x11, [x12]
	ldr	w11, [x11, #120]
	add	w9, w9, w11
	add	w9, w9, #1
	str	w9, [x8]
Lloh8:
	adrp	x8, _vram@GOTPAGE
Lloh9:
	ldr	x8, [x8, _vram@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w0, [x8, x10, lsl #2]
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_addr,4,2                       ; @addr
	.comm	_pending,8,3                    ; @pending
	.comm	_reg,8,3                        ; @reg
	.comm	_vram,8,3                       ; @vram
	.no_dead_strip	_vdp_68k_data_r_m4
.subsections_via_symbols
