	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdp_68k_data_r_m5
_vdp_68k_data_r_m5:                     ## @vdp_68k_data_r_m5
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pending@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_code@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	roll	$30, %eax
	andl	$-1073741821, %eax              ## imm = 0xC0000003
	cmpl	$3, %eax
	ja	LBB0_2
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_vram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_addr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	$65534, %edx                    ## imm = 0xFFFE
	movl	(%rax,%rdx,4), %eax
	jmp	LBB0_7
LBB0_2:
	movq	_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	movq	_vsram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_addr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	$126, %edx
	movl	(%rax,%rdx,4), %eax
	jmp	LBB0_7
LBB0_5:
	movq	_cram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_addr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	$126, %edx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, %edx
	andl	$448, %edx                      ## imm = 0x1C0
	movl	%eax, %esi
	andl	$56, %esi
	shll	$2, %esi
	leal	(%rsi,%rdx,8), %edx
	andl	$7, %eax
	leal	(%rdx,%rax,2), %eax
	jmp	LBB0_7
LBB0_6:
	movq	_vram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_addr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	$65534, %edx                    ## imm = 0xFFFE
	movzbl	(%rax,%rdx,4), %eax
LBB0_7:
	movq	_reg@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addl	120(%rdx), %ecx
	movq	_addr@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_pending,8,3                    ## @pending
	.comm	_code,4,2                       ## @code
	.comm	_vram,8,3                       ## @vram
	.comm	_addr,4,2                       ## @addr
	.comm	_vsram,8,3                      ## @vsram
	.comm	_cram,8,3                       ## @cram
	.comm	_reg,8,3                        ## @reg
	.comm	_M68K_REG_PC,4,2                ## @M68K_REG_PC
	.comm	_MCYCLES_PER_LINE,4,2           ## @MCYCLES_PER_LINE
	.comm	_m68k,4,2                       ## @m68k
	.comm	_v_counter,4,2                  ## @v_counter
	.no_dead_strip	_vdp_68k_data_r_m5
.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_m5
_vdp_68k_data_r_m5:                     ; @vdp_68k_data_r_m5
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _pending@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pending@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _code@GOTPAGE
Lloh4:
	ldr	x8, [x8, _code@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ror	w8, w8, #2
	and	w9, w8, #0xc0000003
Lloh6:
	adrp	x8, _addr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _addr@GOTPAGEOFF]
	cmp	w9, #3
	b.hi	LBB0_3
; %bb.1:
Lloh8:
	adrp	x10, lJTI0_0@PAGE
Lloh9:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh10:
	adrp	x9, _vram@GOTPAGE
Lloh11:
	ldr	x9, [x9, _vram@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x9]
	ldr	w9, [x8]
	and	x11, x9, #0xfffe
	ldr	w0, [x10, x11, lsl #2]
	b	LBB0_8
LBB0_3:
	mov	w0, #0
	ldr	w9, [x8]
	b	LBB0_8
LBB0_4:
Lloh13:
	adrp	x9, _vsram@GOTPAGE
Lloh14:
	ldr	x9, [x9, _vsram@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	w10, [x8]
	and	x11, x10, #0x7e
	ldr	w0, [x9, x11, lsl #2]
	b	LBB0_7
LBB0_5:
Lloh16:
	adrp	x9, _cram@GOTPAGE
Lloh17:
	ldr	x9, [x9, _cram@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	w10, [x8]
	and	x11, x10, #0x7e
	ldr	w9, [x9, x11, lsl #2]
	lsr	w11, w9, #6
	lsl	w12, w9, #2
	and	w0, w12, #0xe0
	bfi	w0, w11, #9, #3
	bfi	w0, w9, #1, #3
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x9, _vram@GOTPAGE
Lloh20:
	ldr	x9, [x9, _vram@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	ldr	w10, [x8]
	and	x11, x10, #0xfffe
	lsl	x11, x11, #2
	ldrb	w0, [x9, x11]
LBB0_7:
	mov	x9, x10
LBB0_8:
Lloh22:
	adrp	x10, _reg@GOTPAGE
Lloh23:
	ldr	x10, [x10, _reg@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	ldr	w10, [x10, #120]
	add	w9, w9, w10
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_pending,8,3                    ; @pending
	.comm	_code,4,2                       ; @code
	.comm	_vram,8,3                       ; @vram
	.comm	_addr,4,2                       ; @addr
	.comm	_vsram,8,3                      ; @vsram
	.comm	_cram,8,3                       ; @cram
	.comm	_reg,8,3                        ; @reg
	.comm	_M68K_REG_PC,4,2                ; @M68K_REG_PC
	.comm	_MCYCLES_PER_LINE,4,2           ; @MCYCLES_PER_LINE
	.comm	_m68k,4,2                       ; @m68k
	.comm	_v_counter,4,2                  ; @v_counter
	.no_dead_strip	_vdp_68k_data_r_m5
.subsections_via_symbols
