	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zbank_read_vdp                 ## -- Begin function zbank_read_vdp
	.p2align	4, 0x90
_zbank_read_vdp:                        ## @zbank_read_vdp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movl	%edi, %eax
	andb	$-3, %al
	cmpb	$29, %al
	ja	LBB0_9
## %bb.1:
	movl	%edi, %eax
	andl	$253, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbp
	jmp	_zbank_unused_r                 ## TAILCALL
LBB0_3:
	movq	_Z80@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vdp_hvc_r
	jmp	LBB0_6
LBB0_4:
	movq	_Z80@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vdp_hvc_r
	jmp	LBB0_8
LBB0_5:
	xorl	%eax, %eax
	callq	_vdp_68k_data_r
LBB0_6:
	sarl	$8, %eax
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	callq	_vdp_68k_data_r
	jmp	LBB0_8
LBB0_9:
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbp
	jmp	_zbank_lockup_r                 ## TAILCALL
LBB0_10:
	movq	_Z80@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vdp_68k_ctrl_r
	shrl	$8, %eax
	orl	$252, %eax
	jmp	LBB0_8
LBB0_11:
	movq	_Z80@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vdp_68k_ctrl_r
LBB0_8:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_Z80,4,2                        ## @Z80
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zbank_read_vdp                 ; -- Begin function zbank_read_vdp
	.p2align	2
_zbank_read_vdp:                        ; @zbank_read_vdp
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #253
	and	w9, w0, w8
	cmp	w9, #29
	b.hi	LBB0_8
; %bb.1:
	and	x8, x0, x8
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_zbank_unused_r
LBB0_3:
Lloh2:
	adrp	x8, _Z80@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Z80@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_vdp_hvc_r
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _Z80@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Z80@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_vdp_hvc_r
	b	LBB0_11
LBB0_5:
	bl	_vdp_68k_data_r
LBB0_6:
	asr	w0, w0, #8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	_vdp_68k_data_r
	b	LBB0_11
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_zbank_lockup_r
LBB0_9:
Lloh8:
	adrp	x8, _Z80@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Z80@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_vdp_68k_ctrl_r
	mov	x8, x0
	mov	w0, #252
	bfxil	w0, w8, #8, #2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh11:
	adrp	x8, _Z80@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Z80@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_vdp_68k_ctrl_r
LBB0_11:
	and	w0, w0, #0xff
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_Z80,4,2                        ; @Z80
.subsections_via_symbols
