	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp2DrawScreen          ## -- Begin function VIDSoftVdp2DrawScreen
	.p2align	4, 0x90
_VIDSoftVdp2DrawScreen:                 ## @VIDSoftVdp2DrawScreen
	.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
	movl	%edi, %ebx
	movq	_Vdp2Regs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_VIDSoftVdp2SetResolution
	cmpl	$4, %ebx
	ja	LBB0_7
## %bb.1:
	movl	%ebx, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	_Vdp2Ram@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cell_scroll_data@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Vdp2DrawNBG0                   ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	_Vdp2Ram@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cell_scroll_data@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Vdp2DrawNBG1                   ## TAILCALL
LBB0_4:
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	_Vdp2Ram@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cell_scroll_data@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Vdp2DrawNBG2                   ## TAILCALL
LBB0_5:
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	_Vdp2Ram@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cell_scroll_data@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Vdp2DrawNBG3                   ## TAILCALL
LBB0_6:
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	_Vdp2Ram@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cell_scroll_data@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Vdp2DrawRBG0                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.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_2
	.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	_Vdp2Regs,8,3                   ## @Vdp2Regs
	.comm	_Vdp2Lines,4,2                  ## @Vdp2Lines
	.comm	_Vdp2Ram,4,2                    ## @Vdp2Ram
	.comm	_Vdp2ColorRam,4,2               ## @Vdp2ColorRam
	.comm	_cell_scroll_data,4,2           ## @cell_scroll_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp2DrawScreen          ; -- Begin function VIDSoftVdp2DrawScreen
	.p2align	2
_VIDSoftVdp2DrawScreen:                 ; @VIDSoftVdp2DrawScreen
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _Vdp2Regs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Vdp2Regs@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_VIDSoftVdp2SetResolution
	cmp	w19, #4
	b.hi	LBB0_3
; %bb.1:
	mov	w8, w19
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _Vdp2Lines@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Vdp2Lines@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x1, [x20]
Lloh7:
	adrp	x8, _Vdp2Ram@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Vdp2Ram@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _Vdp2ColorRam@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Vdp2ColorRam@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x8, _cell_scroll_data@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cell_scroll_data@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Vdp2DrawNBG0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh16:
	adrp	x8, _Vdp2Lines@GOTPAGE
Lloh17:
	ldr	x8, [x8, _Vdp2Lines@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	x1, [x20]
Lloh19:
	adrp	x8, _Vdp2Ram@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Vdp2Ram@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _Vdp2ColorRam@GOTPAGE
Lloh23:
	ldr	x8, [x8, _Vdp2ColorRam@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
Lloh25:
	adrp	x8, _cell_scroll_data@GOTPAGE
Lloh26:
	ldr	x8, [x8, _cell_scroll_data@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Vdp2DrawNBG1
LBB0_5:
Lloh28:
	adrp	x8, _Vdp2Lines@GOTPAGE
Lloh29:
	ldr	x8, [x8, _Vdp2Lines@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	x1, [x20]
Lloh31:
	adrp	x8, _Vdp2Ram@GOTPAGE
Lloh32:
	ldr	x8, [x8, _Vdp2Ram@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x8, _Vdp2ColorRam@GOTPAGE
Lloh35:
	ldr	x8, [x8, _Vdp2ColorRam@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
Lloh37:
	adrp	x8, _cell_scroll_data@GOTPAGE
Lloh38:
	ldr	x8, [x8, _cell_scroll_data@GOTPAGEOFF]
Lloh39:
	ldr	w4, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Vdp2DrawNBG2
LBB0_6:
Lloh40:
	adrp	x8, _Vdp2Lines@GOTPAGE
Lloh41:
	ldr	x8, [x8, _Vdp2Lines@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	ldr	x1, [x20]
Lloh43:
	adrp	x8, _Vdp2Ram@GOTPAGE
Lloh44:
	ldr	x8, [x8, _Vdp2Ram@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
Lloh46:
	adrp	x8, _Vdp2ColorRam@GOTPAGE
Lloh47:
	ldr	x8, [x8, _Vdp2ColorRam@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
Lloh49:
	adrp	x8, _cell_scroll_data@GOTPAGE
Lloh50:
	ldr	x8, [x8, _cell_scroll_data@GOTPAGEOFF]
Lloh51:
	ldr	w4, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Vdp2DrawNBG3
LBB0_7:
Lloh52:
	adrp	x8, _Vdp2Lines@GOTPAGE
Lloh53:
	ldr	x8, [x8, _Vdp2Lines@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	ldr	x1, [x20]
Lloh55:
	adrp	x8, _Vdp2Ram@GOTPAGE
Lloh56:
	ldr	x8, [x8, _Vdp2Ram@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
Lloh58:
	adrp	x8, _Vdp2ColorRam@GOTPAGE
Lloh59:
	ldr	x8, [x8, _Vdp2ColorRam@GOTPAGEOFF]
Lloh60:
	ldr	w3, [x8]
Lloh61:
	adrp	x8, _cell_scroll_data@GOTPAGE
Lloh62:
	ldr	x8, [x8, _cell_scroll_data@GOTPAGEOFF]
Lloh63:
	ldr	w4, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Vdp2DrawRBG0
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.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
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_Vdp2Regs,8,3                   ; @Vdp2Regs
	.comm	_Vdp2Lines,4,2                  ; @Vdp2Lines
	.comm	_Vdp2Ram,4,2                    ; @Vdp2Ram
	.comm	_Vdp2ColorRam,4,2               ; @Vdp2ColorRam
	.comm	_cell_scroll_data,4,2           ; @cell_scroll_data
.subsections_via_symbols
