	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vdp_sms_ctrl_w                 ## -- Begin function vdp_sms_ctrl_w
	.p2align	4, 0x90
_vdp_sms_ctrl_w:                        ## @vdp_sms_ctrl_w
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_pending@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%edi, %edx
	shrl	$6, %edx
	andl	$3, %edx
	movq	_code@GOTPCREL(%rip), %rcx
	movl	%edx, (%rcx)
	movl	%edi, %ecx
	shll	$8, %ecx
	movq	_addr_latch@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%esi, %ecx
	andl	$16383, %ecx                    ## imm = 0x3FFF
	movq	_addr@GOTPCREL(%rip), %rbx
	movl	%ecx, (%rbx)
	movl	$0, (%rax)
	cmpl	$2, %edx
	je	LBB0_6
## %bb.3:
	testl	%edx, %edx
	jne	LBB0_5
## %bb.4:
	movq	_vram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %eax
	movq	_fifo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %eax
	incl	%eax
	andl	$16383, %eax                    ## imm = 0x3FFF
	movl	%eax, (%rbx)
	jmp	LBB0_5
LBB0_1:
	movq	_addr@GOTPCREL(%rip), %rcx
	movl	$16128, %edx                    ## imm = 0x3F00
	andl	(%rcx), %edx
	movzbl	%dil, %esi
	orl	%edx, %esi
	movl	%esi, (%rcx)
	movq	_addr_latch@GOTPCREL(%rip), %rcx
	movl	%edi, (%rcx)
	movl	$1, (%rax)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_reg@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %ebx
	andl	$6, %ecx
	andl	$24, %ebx
	orl	%ecx, %ebx
	andl	$15, %edi
	movq	_Z80@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_vdp_reg_w
	movq	(%r14), %rcx
	movl	(%rcx), %eax
	movl	4(%rcx), %ecx
	movl	%eax, %edx
	andl	$6, %edx
	andl	$24, %ecx
	orq	%rdx, %rcx
	xorl	%ecx, %ebx
	je	LBB0_5
## %bb.7:
	movq	_system_hw@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_SYSTEM_SMS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jle	LBB0_22
## %bb.8:
	movq	_vc_table@GOTPCREL(%rip), %rsi
	cmpl	$22, %ecx
	je	LBB0_11
## %bb.9:
	cmpl	$14, %ecx
	jne	LBB0_12
## %bb.10:
	movq	(%rsi), %rsi
	movq	_vdp_pal@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r9
	leaq	(,%r9,4), %rdi
	addq	24(%rsi), %rdi
	movl	$240, %r10d
	jmp	LBB0_13
LBB0_11:
	movq	(%rsi), %rsi
	movq	_vdp_pal@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r9
	leaq	(,%r9,4), %rdi
	addq	8(%rsi), %rdi
	movl	$224, %r10d
	jmp	LBB0_13
LBB0_12:
	movq	(%rsi), %rsi
	movq	_vdp_pal@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r9
	leaq	(,%r9,4), %rdi
	addq	(%rsi), %rdi
	movl	$192, %r10d
LBB0_13:
	movl	(%rdi), %edi
	movq	_vc_max@GOTPCREL(%rip), %rsi
	movl	%edi, (%rsi)
	movq	_bitmap@GOTPCREL(%rip), %r8
	cmpl	(%r8), %r10d
	je	LBB0_22
## %bb.14:
	movq	_status@GOTPCREL(%rip), %rsi
	testb	$8, (%rsi)
	jne	LBB0_15
## %bb.16:
	movl	%r10d, (%r8)
	movq	_config@GOTPCREL(%rip), %rdi
	testb	$1, (%rdi)
	jne	LBB0_17
## %bb.18:
	movq	_SYSTEM_GG@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_21
## %bb.19:
	cmpl	$0, 4(%rdi)
	jne	LBB0_21
## %bb.20:
	addl	$112, %r10d
	shrl	%r10d
	andl	$56, %r10d
	negl	%r10d
	movl	%r10d, 8(%r8)
	jmp	LBB0_22
LBB0_15:
	orb	$2, 4(%r8)
	jmp	LBB0_22
LBB0_17:
	leaq	(%r9,%r9,2), %rdx
	shlq	$4, %rdx
	movl	$240, %esi
	subl	%r10d, %esi
	addq	%rdx, %rsi
	shrq	%rsi
	movl	%esi, 8(%r8)
	jmp	LBB0_22
LBB0_21:
	movl	$0, 8(%r8)
LBB0_22:
	cmpl	$27, %ecx
	ja	LBB0_23
## %bb.24:
	leaq	l_switch.table.vdp_sms_ctrl_w(%rip), %rdx
	movq	(%rdx,%rcx,4), %rcx
	jmp	LBB0_25
LBB0_23:
	movq	_render_bg_m4@GOTPCREL(%rip), %rcx
LBB0_25:
	movl	(%rcx), %ecx
	movq	_render_bg@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	testb	$4, %bl
	je	LBB0_5
## %bb.26:
	andl	$4, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	testl	%eax, %eax
	movq	_parse_satb_m4@GOTPCREL(%rip), %rax
	cmoveq	_parse_satb_tms@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_parse_satb@GOTPCREL(%rip), %rdx
	movq	_render_obj_m4@GOTPCREL(%rip), %rsi
	cmoveq	_render_obj_tms@GOTPCREL(%rip), %rsi
	movl	%eax, (%rdx)
	movl	(%rsi), %eax
	movq	_render_obj@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_bg_list_index@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	xorl	%ebx, %ebx
	movq	_cram@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %esi
	movl	%ebx, %edi
	callq	_color_update_m4
	incq	%rbx
	cmpq	$32, %rbx
	jne	LBB0_27
## %bb.28:
	movq	(%r14), %rax
	movq	_bordrr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	andl	$30, %ecx
	movl	128(%rax,%rcx,4), %esi
	movl	$64, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_color_update_m4                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pending,4,2                    ## @pending
	.comm	_addr,4,2                       ## @addr
	.comm	_addr_latch,4,2                 ## @addr_latch
	.comm	_code,4,2                       ## @code
	.comm	_vram,8,3                       ## @vram
	.comm	_fifo,8,3                       ## @fifo
	.comm	_reg,8,3                        ## @reg
	.comm	_Z80,4,2                        ## @Z80
	.comm	_system_hw,8,3                  ## @system_hw
	.comm	_SYSTEM_SMS,8,3                 ## @SYSTEM_SMS
	.comm	_vc_table,8,3                   ## @vc_table
	.comm	_vdp_pal,8,3                    ## @vdp_pal
	.comm	_vc_max,4,2                     ## @vc_max
	.comm	_bitmap,12,2                    ## @bitmap
	.comm	_status,4,2                     ## @status
	.comm	_config,8,2                     ## @config
	.comm	_SYSTEM_GG,8,3                  ## @SYSTEM_GG
	.comm	_render_bg_m0,4,2               ## @render_bg_m0
	.comm	_render_bg,4,2                  ## @render_bg
	.comm	_render_bg_m1,4,2               ## @render_bg_m1
	.comm	_render_bg_m2,4,2               ## @render_bg_m2
	.comm	_render_bg_m1x,4,2              ## @render_bg_m1x
	.comm	_render_bg_m3,4,2               ## @render_bg_m3
	.comm	_render_bg_inv,4,2              ## @render_bg_inv
	.comm	_render_bg_m3x,4,2              ## @render_bg_m3x
	.comm	_render_bg_m4,4,2               ## @render_bg_m4
	.comm	_parse_satb_m4,4,2              ## @parse_satb_m4
	.comm	_parse_satb,4,2                 ## @parse_satb
	.comm	_render_obj_m4,4,2              ## @render_obj_m4
	.comm	_render_obj,4,2                 ## @render_obj
	.comm	_bg_list_index,4,2              ## @bg_list_index
	.comm	_parse_satb_tms,4,2             ## @parse_satb_tms
	.comm	_render_obj_tms,4,2             ## @render_obj_tms
	.comm	_cram,8,3                       ## @cram
	.comm	_bordrr,4,2                     ## @bordrr
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.vdp_sms_ctrl_w
l_switch.table.vdp_sms_ctrl_w:
	.quad	_render_bg_m0
	.quad	_render_bg_m2
	.quad	_render_bg_m4
	.quad	_render_bg_m4
	.quad	_render_bg_m3
	.quad	_render_bg_m3x
	.quad	_render_bg_m4
	.quad	_render_bg_m4
	.quad	_render_bg_m1
	.quad	_render_bg_m1x
	.quad	_render_bg_m4
	.quad	_render_bg_m4
	.quad	_render_bg_inv
	.quad	_render_bg_inv

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vdp_sms_ctrl_w                 ; -- Begin function vdp_sms_ctrl_w
	.p2align	2
_vdp_sms_ctrl_w:                        ; @vdp_sms_ctrl_w
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _pending@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pending@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_4
; %bb.1:
Lloh2:
	adrp	x9, _code@GOTPAGE
Lloh3:
	ldr	x9, [x9, _code@GOTPAGEOFF]
	ubfx	w11, w0, #6, #2
Lloh4:
	str	w11, [x9]
Lloh5:
	adrp	x9, _addr_latch@GOTPAGE
Lloh6:
	ldr	x9, [x9, _addr_latch@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	orr	w9, w1, w0, lsl #8
	and	x10, x9, #0x3fff
Lloh8:
	adrp	x9, _addr@GOTPAGE
Lloh9:
	ldr	x9, [x9, _addr@GOTPAGEOFF]
	str	w10, [x9]
	str	wzr, [x8]
	cmp	w11, #2
	b.eq	LBB0_6
; %bb.2:
	cbnz	w11, LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _vram@GOTPAGE
Lloh11:
	ldr	x8, [x8, _vram@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w8, [x8, x10, lsl #2]
Lloh13:
	adrp	x10, _fifo@GOTPAGE
Lloh14:
	ldr	x10, [x10, _fifo@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	str	w8, [x10]
	ldr	w8, [x9]
	add	w8, w8, #1
	and	w8, w8, #0x3fff
	str	w8, [x9]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x9, _addr@GOTPAGE
Lloh17:
	ldr	x9, [x9, _addr@GOTPAGEOFF]
	ldr	w10, [x9]
	and	w10, w10, #0x3f00
	bfxil	w10, w0, #0, #8
	str	w10, [x9]
Lloh18:
	adrp	x9, _addr_latch@GOTPAGE
Lloh19:
	ldr	x9, [x9, _addr_latch@GOTPAGEOFF]
Lloh20:
	str	w0, [x9]
	mov	w9, #1
	str	w9, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh21:
	adrp	x19, _reg@GOTPAGE
Lloh22:
	ldr	x19, [x19, _reg@GOTPAGEOFF]
	ldr	x8, [x19]
	ldp	w9, w8, [x8]
	and	w9, w9, #0x6
	and	w8, w8, #0x18
	orr	w20, w8, w9
	and	w0, w0, #0xf
Lloh23:
	adrp	x8, _Z80@GOTPAGE
Lloh24:
	ldr	x8, [x8, _Z80@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	bl	_vdp_reg_w
	ldr	x9, [x19]
	ldp	w8, w9, [x9]
	and	x10, x8, #0x6
	and	x9, x9, #0x18
	orr	x10, x9, x10
	eor	w9, w10, w20
	cbz	w9, LBB0_5
; %bb.7:
Lloh26:
	adrp	x11, _system_hw@GOTPAGE
Lloh27:
	ldr	x11, [x11, _system_hw@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
Lloh29:
	adrp	x12, _SYSTEM_SMS@GOTPAGE
Lloh30:
	ldr	x12, [x12, _SYSTEM_SMS@GOTPAGEOFF]
Lloh31:
	ldr	x12, [x12]
	cmp	x11, x12
	b.le	LBB0_22
; %bb.8:
Lloh32:
	adrp	x12, _vc_table@GOTPAGE
Lloh33:
	ldr	x12, [x12, _vc_table@GOTPAGEOFF]
	cmp	w10, #22
	b.eq	LBB0_11
; %bb.9:
	cmp	w10, #14
	b.ne	LBB0_12
; %bb.10:
	ldr	x12, [x12]
	ldr	x12, [x12, #24]
Lloh34:
	adrp	x13, _vdp_pal@GOTPAGE
Lloh35:
	ldr	x13, [x13, _vdp_pal@GOTPAGEOFF]
Lloh36:
	ldr	x13, [x13]
	add	x14, x12, x13, lsl #2
	mov	w12, #240
	b	LBB0_13
LBB0_11:
	ldr	x12, [x12]
	ldr	x12, [x12, #8]
Lloh37:
	adrp	x13, _vdp_pal@GOTPAGE
Lloh38:
	ldr	x13, [x13, _vdp_pal@GOTPAGEOFF]
Lloh39:
	ldr	x13, [x13]
	add	x14, x12, x13, lsl #2
	mov	w12, #224
	b	LBB0_13
LBB0_12:
	ldr	x12, [x12]
	ldr	x12, [x12]
Lloh40:
	adrp	x13, _vdp_pal@GOTPAGE
Lloh41:
	ldr	x13, [x13, _vdp_pal@GOTPAGEOFF]
Lloh42:
	ldr	x13, [x13]
	add	x14, x12, x13, lsl #2
	mov	w12, #192
LBB0_13:
Lloh43:
	adrp	x15, _vc_max@GOTPAGE
Lloh44:
	ldr	x15, [x15, _vc_max@GOTPAGEOFF]
	ldr	w14, [x14]
Lloh45:
	str	w14, [x15]
Lloh46:
	adrp	x14, _bitmap@GOTPAGE
Lloh47:
	ldr	x14, [x14, _bitmap@GOTPAGEOFF]
	ldr	w15, [x14]
	cmp	w12, w15
	b.eq	LBB0_22
; %bb.14:
Lloh48:
	adrp	x15, _status@GOTPAGE
Lloh49:
	ldr	x15, [x15, _status@GOTPAGEOFF]
	ldrb	w15, [x15]
	tbnz	w15, #3, LBB0_19
; %bb.15:
	str	w12, [x14]
Lloh50:
	adrp	x15, _config@GOTPAGE
Lloh51:
	ldr	x15, [x15, _config@GOTPAGEOFF]
	ldrb	w16, [x15]
	tbnz	w16, #0, LBB0_20
; %bb.16:
Lloh52:
	adrp	x13, _SYSTEM_GG@GOTPAGE
Lloh53:
	ldr	x13, [x13, _SYSTEM_GG@GOTPAGEOFF]
Lloh54:
	ldr	x13, [x13]
	cmp	x11, x13
	b.ne	LBB0_21
; %bb.17:
	ldr	w11, [x15, #4]
	cbnz	w11, LBB0_21
; %bb.18:
	add	w11, w12, #112
	lsr	w11, w11, #1
	and	w11, w11, #0x38
	neg	w11, w11
	str	w11, [x14, #8]
	b	LBB0_22
LBB0_19:
	ldr	w11, [x14, #4]
	orr	w11, w11, #0x2
	str	w11, [x14, #4]
	b	LBB0_22
LBB0_20:
	mov	w11, #48
	mov	w15, #240
	sub	w12, w15, w12
	madd	x11, x13, x11, x12
	lsr	x11, x11, #1
	str	w11, [x14, #8]
	b	LBB0_22
LBB0_21:
	str	wzr, [x14, #8]
LBB0_22:
	cmp	w10, #27
	b.hi	LBB0_24
; %bb.23:
	lsl	x10, x10, #2
Lloh55:
	adrp	x11, l_switch.table.vdp_sms_ctrl_w@PAGE
Lloh56:
	add	x11, x11, l_switch.table.vdp_sms_ctrl_w@PAGEOFF
	ldr	x10, [x11, x10]
	b	LBB0_25
LBB0_24:
Lloh57:
	adrp	x10, _render_bg_m4@GOTPAGE
Lloh58:
	ldr	x10, [x10, _render_bg_m4@GOTPAGEOFF]
LBB0_25:
	ldr	w10, [x10]
Lloh59:
	adrp	x11, _render_bg@GOTPAGE
Lloh60:
	ldr	x11, [x11, _render_bg@GOTPAGEOFF]
Lloh61:
	str	w10, [x11]
	tbz	w9, #2, LBB0_5
; %bb.26:
	mov	x20, #0
	mov	x19, #0
	ands	w8, w8, #0x4
Lloh62:
	adrp	x9, _parse_satb_tms@GOTPAGE
Lloh63:
	ldr	x9, [x9, _parse_satb_tms@GOTPAGEOFF]
Lloh64:
	adrp	x10, _parse_satb_m4@GOTPAGE
Lloh65:
	ldr	x10, [x10, _parse_satb_m4@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
Lloh66:
	adrp	x10, _parse_satb@GOTPAGE
Lloh67:
	ldr	x10, [x10, _parse_satb@GOTPAGEOFF]
Lloh68:
	adrp	x11, _render_obj_tms@GOTPAGE
Lloh69:
	ldr	x11, [x11, _render_obj_tms@GOTPAGEOFF]
Lloh70:
	adrp	x12, _render_obj_m4@GOTPAGE
Lloh71:
	ldr	x12, [x12, _render_obj_m4@GOTPAGEOFF]
Lloh72:
	str	w9, [x10]
	csel	x9, x11, x12, eq
	ldr	w9, [x9]
Lloh73:
	adrp	x10, _render_obj@GOTPAGE
Lloh74:
	ldr	x10, [x10, _render_obj@GOTPAGEOFF]
Lloh75:
	str	w9, [x10]
	lsl	w8, w8, #7
Lloh76:
	adrp	x9, _bg_list_index@GOTPAGE
Lloh77:
	ldr	x9, [x9, _bg_list_index@GOTPAGEOFF]
Lloh78:
	str	w8, [x9]
Lloh79:
	adrp	x21, _cram@GOTPAGE
Lloh80:
	ldr	x21, [x21, _cram@GOTPAGEOFF]
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w1, [x8, x20]
	mov	x0, x19
	bl	_color_update_m4
	add	x19, x19, #1
	add	x20, x20, #8
	cmp	x19, #32
	b.ne	LBB0_27
; %bb.28:
	ldr	x8, [x21]
Lloh81:
	adrp	x9, _bordrr@GOTPAGE
Lloh82:
	ldr	x9, [x9, _bordrr@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	lsl	w9, w9, #1
	and	x9, x9, #0x1e
	add	x8, x8, x9, lsl #2
	ldr	w1, [x8, #128]
	mov	w0, #64
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_color_update_m4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotStr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh72
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.comm	_pending,4,2                    ; @pending
	.comm	_addr,4,2                       ; @addr
	.comm	_addr_latch,4,2                 ; @addr_latch
	.comm	_code,4,2                       ; @code
	.comm	_vram,8,3                       ; @vram
	.comm	_fifo,8,3                       ; @fifo
	.comm	_reg,8,3                        ; @reg
	.comm	_Z80,4,2                        ; @Z80
	.comm	_system_hw,8,3                  ; @system_hw
	.comm	_SYSTEM_SMS,8,3                 ; @SYSTEM_SMS
	.comm	_vc_table,8,3                   ; @vc_table
	.comm	_vdp_pal,8,3                    ; @vdp_pal
	.comm	_vc_max,4,2                     ; @vc_max
	.comm	_bitmap,12,2                    ; @bitmap
	.comm	_status,4,2                     ; @status
	.comm	_config,8,2                     ; @config
	.comm	_SYSTEM_GG,8,3                  ; @SYSTEM_GG
	.comm	_render_bg_m0,4,2               ; @render_bg_m0
	.comm	_render_bg,4,2                  ; @render_bg
	.comm	_render_bg_m1,4,2               ; @render_bg_m1
	.comm	_render_bg_m2,4,2               ; @render_bg_m2
	.comm	_render_bg_m1x,4,2              ; @render_bg_m1x
	.comm	_render_bg_m3,4,2               ; @render_bg_m3
	.comm	_render_bg_inv,4,2              ; @render_bg_inv
	.comm	_render_bg_m3x,4,2              ; @render_bg_m3x
	.comm	_render_bg_m4,4,2               ; @render_bg_m4
	.comm	_parse_satb_m4,4,2              ; @parse_satb_m4
	.comm	_parse_satb,4,2                 ; @parse_satb
	.comm	_render_obj_m4,4,2              ; @render_obj_m4
	.comm	_render_obj,4,2                 ; @render_obj
	.comm	_bg_list_index,4,2              ; @bg_list_index
	.comm	_parse_satb_tms,4,2             ; @parse_satb_tms
	.comm	_render_obj_tms,4,2             ; @render_obj_tms
	.comm	_cram,8,3                       ; @cram
	.comm	_bordrr,4,2                     ; @bordrr
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.vdp_sms_ctrl_w
l_switch.table.vdp_sms_ctrl_w:
	.quad	_render_bg_m0
	.quad	_render_bg_m2
	.quad	_render_bg_m4
	.quad	_render_bg_m4
	.quad	_render_bg_m3
	.quad	_render_bg_m3x
	.quad	_render_bg_m4
	.quad	_render_bg_m4
	.quad	_render_bg_m1
	.quad	_render_bg_m1x
	.quad	_render_bg_m4
	.quad	_render_bg_m4
	.quad	_render_bg_inv
	.quad	_render_bg_inv

.subsections_via_symbols
