	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp2DrawScreens         ## -- Begin function VIDSoftVdp2DrawScreens
	.p2align	4, 0x90
_VIDSoftVdp2DrawScreens:                ## @VIDSoftVdp2DrawScreens
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	movl	$0, -116(%rbp)
	movq	_Vdp2Regs@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	16(%rax), %edi
	callq	_VIDSoftVdp2SetResolution
	movq	(%r13), %rax
	movl	(%rax), %ecx
	andl	$7, %ecx
	movq	_TITAN_NBG0@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movl	%ecx, -112(%rbp,%rdx,4)
	movl	(%rax), %ecx
	shrl	$8, %ecx
	andl	$7, %ecx
	movq	_TITAN_NBG1@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	%ecx, -112(%rbp,%rdx,4)
	movl	4(%rax), %ecx
	andl	$7, %ecx
	movq	_TITAN_NBG2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, -112(%rbp,%rdx,4)
	movl	4(%rax), %ecx
	shrl	$8, %ecx
	andl	$7, %ecx
	movq	_TITAN_NBG3@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movl	%ecx, -112(%rbp,%rdx,4)
	movl	8(%rax), %eax
	andl	$7, %eax
	movq	_TITAN_RBG0@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	%eax, -112(%rbp,%rcx,4)
	xorl	%eax, %eax
	callq	_TitanErase
	movq	%r13, %rsi
	movq	(%r13), %rax
	movl	12(%rax), %ecx
	testl	$1023, %ecx                     ## imm = 0x3FF
	je	LBB0_2
## %bb.1:
	andl	$3, %ecx
	movq	(%rbx), %rdx
	movl	%ecx, -80(%rbp,%rdx,4)
	movl	12(%rax), %ecx
	shrl	$2, %ecx
	andl	$3, %ecx
	movq	(%r14), %rdx
	movl	%ecx, -80(%rbp,%rdx,4)
	movl	12(%rax), %ecx
	shrl	$4, %ecx
	andl	$3, %ecx
	movq	_TITAN_NBG2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, -80(%rbp,%rdx,4)
	movl	12(%rax), %ecx
	shrl	$6, %ecx
	andl	$3, %ecx
	movq	(%r12), %rdx
	movl	%ecx, -80(%rbp,%rdx,4)
	movl	12(%rax), %eax
	shrl	$8, %eax
	andl	$3, %eax
	movq	(%r15), %rcx
	movl	%eax, -80(%rbp,%rcx,4)
LBB0_2:
	movq	_vidsoft_num_layer_threads@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	movq	%rsi, %r15
	jle	LBB0_4
## %bb.3:
	movq	%r14, %rbx
	movq	%r12, %r14
	movq	_vidsoft_thread_context@GOTPCREL(%rip), %r12
	movq	48(%r12), %rdi
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$1080, %edx                     ## imm = 0x438
	callq	_memcpy
	movq	(%r15), %rsi
	leaq	40(%r12), %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	32(%r12), %rdi
	movq	_Vdp2Ram@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$524288, %edx                   ## imm = 0x80000
	callq	_memcpy
	movq	24(%r12), %rdi
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memcpy
	movq	16(%r12), %rdi
	movq	%r14, %r12
	movq	%rbx, %r14
	movq	_TITAN_NBG0@GOTPCREL(%rip), %rbx
	movq	_cell_scroll_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$1080, %edx                     ## imm = 0x438
	callq	_memcpy
LBB0_4:
	xorl	%eax, %eax
	callq	_CanUseSpriteThread
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpq	$0, (%r13)
	jle	LBB0_7
## %bb.6:
	movq	_vidsoft_thread_context@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_TITAN_SPRITE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$1, (%rcx,%rdx,4)
	movq	8(%rax), %rax
	movq	$0, (%rax,%rdx,8)
	movq	_YAB_THREAD_VIDSOFT_LAYER_SPRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_YabThreadWake
	incl	-116(%rbp)
	cmpq	$0, (%r13)
	jg	LBB0_9
LBB0_11:
	movq	_Vdp2Lines@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	movq	_Vdp2Ram@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	_cell_scroll_data@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r8
	callq	_Vdp2DrawNBG0
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	movq	(%r12), %rdx
	movq	(%r13), %rcx
	movq	(%rbx), %r8
	callq	_Vdp2DrawNBG1
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	movq	(%r12), %rdx
	movq	(%r13), %rcx
	movq	(%rbx), %r8
	callq	_Vdp2DrawNBG2
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	movq	(%r12), %rdx
	movq	(%r13), %rcx
	movq	(%rbx), %r8
	callq	_Vdp2DrawNBG3
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	movq	(%r12), %rdx
	movq	(%r13), %rcx
	movq	(%rbx), %r8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.13:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Vdp2DrawRBG0                   ## TAILCALL
LBB0_7:
	movq	(%r15), %rdi
	movq	_sprite_window_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_vdp1frontframebuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_Vdp2Ram@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_Vdp1Regs@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_Vdp2ColorRam@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsp)
	callq	_VidsoftDrawSprite
	cmpq	$0, (%r13)
	jle	LBB0_11
LBB0_9:
	movq	(%rbx), %rcx
	movq	_Vdp2DrawNBG0@GOTPCREL(%rip), %r8
	leaq	-112(%rbp), %r13
	movq	%r14, %rbx
	leaq	-80(%rbp), %r14
	leaq	-116(%rbp), %r15
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_VidsoftStartLayerThread
	movq	_TITAN_RBG0@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_Vdp2DrawRBG0@GOTPCREL(%rip), %r8
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_VidsoftStartLayerThread
	movq	(%rbx), %rcx
	movq	_Vdp2DrawNBG1@GOTPCREL(%rip), %r8
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_VidsoftStartLayerThread
	movq	_TITAN_NBG2@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_Vdp2DrawNBG2@GOTPCREL(%rip), %r8
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_VidsoftStartLayerThread
	movq	(%r12), %rcx
	movq	_Vdp2DrawNBG3@GOTPCREL(%rip), %r8
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_VidsoftStartLayerThread
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.10:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Vdp2Regs,8,3                   ## @Vdp2Regs
	.comm	_TITAN_NBG0,8,3                 ## @TITAN_NBG0
	.comm	_TITAN_NBG1,8,3                 ## @TITAN_NBG1
	.comm	_TITAN_NBG2,8,3                 ## @TITAN_NBG2
	.comm	_TITAN_NBG3,8,3                 ## @TITAN_NBG3
	.comm	_TITAN_RBG0,8,3                 ## @TITAN_RBG0
	.comm	_vidsoft_num_layer_threads,8,3  ## @vidsoft_num_layer_threads
	.comm	_vidsoft_thread_context,56,3    ## @vidsoft_thread_context
	.comm	_Vdp2Lines,8,3                  ## @Vdp2Lines
	.comm	_Vdp2Ram,8,3                    ## @Vdp2Ram
	.comm	_Vdp2ColorRam,8,3               ## @Vdp2ColorRam
	.comm	_cell_scroll_data,8,3           ## @cell_scroll_data
	.comm	_TITAN_SPRITE,8,3               ## @TITAN_SPRITE
	.comm	_YAB_THREAD_VIDSOFT_LAYER_SPRITE,4,2 ## @YAB_THREAD_VIDSOFT_LAYER_SPRITE
	.comm	_sprite_window_mask,4,2         ## @sprite_window_mask
	.comm	_vdp1frontframebuffer,4,2       ## @vdp1frontframebuffer
	.comm	_Vdp1Regs,4,2                   ## @Vdp1Regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp2DrawScreens         ; -- Begin function VIDSoftVdp2DrawScreens
	.p2align	2
_VIDSoftVdp2DrawScreens:                ; @VIDSoftVdp2DrawScreens
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #48]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	str	wzr, [sp, #4]
Lloh3:
	adrp	x19, _Vdp2Regs@GOTPAGE
Lloh4:
	ldr	x19, [x19, _Vdp2Regs@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	bl	_VIDSoftVdp2SetResolution
	ldr	x8, [x19]
	ldr	w9, [x8]
	and	w9, w9, #0x7
Lloh5:
	adrp	x23, _TITAN_NBG0@GOTPAGE
Lloh6:
	ldr	x23, [x23, _TITAN_NBG0@GOTPAGEOFF]
	ldr	x10, [x23]
	add	x11, sp, #8
	str	w9, [x11, x10, lsl #2]
	ldr	w9, [x8]
	ubfx	w9, w9, #8, #3
Lloh7:
	adrp	x22, _TITAN_NBG1@GOTPAGE
Lloh8:
	ldr	x22, [x22, _TITAN_NBG1@GOTPAGEOFF]
	ldr	x10, [x22]
	str	w9, [x11, x10, lsl #2]
	ldr	w9, [x8, #4]
Lloh9:
	adrp	x21, _TITAN_NBG2@GOTPAGE
Lloh10:
	ldr	x21, [x21, _TITAN_NBG2@GOTPAGEOFF]
	and	w9, w9, #0x7
	ldr	x10, [x21]
	str	w9, [x11, x10, lsl #2]
	ldr	w9, [x8, #4]
	ubfx	w9, w9, #8, #3
Lloh11:
	adrp	x20, _TITAN_NBG3@GOTPAGE
Lloh12:
	ldr	x20, [x20, _TITAN_NBG3@GOTPAGEOFF]
	ldr	x10, [x20]
	str	w9, [x11, x10, lsl #2]
	ldr	w8, [x8, #8]
	and	w8, w8, #0x7
Lloh13:
	adrp	x27, _TITAN_RBG0@GOTPAGE
Lloh14:
	ldr	x27, [x27, _TITAN_RBG0@GOTPAGEOFF]
	ldr	x9, [x27]
	str	w8, [x11, x9, lsl #2]
	bl	_TitanErase
	ldr	x8, [x19]
	ldr	w9, [x8, #12]
	tst	w9, #0x3ff
	b.eq	LBB0_2
; %bb.1:
	and	w9, w9, #0x3
	ldr	x10, [x23]
	add	x11, sp, #32
	str	w9, [x11, x10, lsl #2]
	ldr	w9, [x8, #12]
	ubfx	w9, w9, #2, #2
	ldr	x10, [x22]
	str	w9, [x11, x10, lsl #2]
	ldr	w9, [x8, #12]
	ubfx	w9, w9, #4, #2
	ldr	x10, [x21]
	str	w9, [x11, x10, lsl #2]
	ldr	w9, [x8, #12]
	ubfx	w9, w9, #6, #2
	ldr	x10, [x20]
	str	w9, [x11, x10, lsl #2]
	ldr	w8, [x8, #12]
	ubfx	w8, w8, #8, #2
	ldr	x9, [x27]
	str	w8, [x11, x9, lsl #2]
LBB0_2:
Lloh15:
	adrp	x28, _vidsoft_num_layer_threads@GOTPAGE
Lloh16:
	ldr	x28, [x28, _vidsoft_num_layer_threads@GOTPAGEOFF]
Lloh17:
	adrp	x20, _vidsoft_thread_context@GOTPAGE
Lloh18:
	ldr	x20, [x20, _vidsoft_thread_context@GOTPAGEOFF]
Lloh19:
	adrp	x26, _Vdp2Lines@GOTPAGE
Lloh20:
	ldr	x26, [x26, _Vdp2Lines@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh21:
	adrp	x24, _Vdp2Ram@GOTPAGE
Lloh22:
	ldr	x24, [x24, _Vdp2Ram@GOTPAGEOFF]
Lloh23:
	adrp	x25, _Vdp2ColorRam@GOTPAGE
Lloh24:
	ldr	x25, [x25, _Vdp2ColorRam@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x0, [x20, #48]
	ldr	x1, [x26]
	mov	w2, #1080
	bl	_memcpy
	ldr	x1, [x19]
	add	x0, x20, #40
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x20, #32]
	ldr	x1, [x24]
	mov	w2, #524288
	bl	_memcpy
	ldr	x0, [x20, #24]
	ldr	x1, [x25]
	mov	w2, #4096
	bl	_memcpy
	ldr	x0, [x20, #16]
Lloh25:
	adrp	x8, _cell_scroll_data@GOTPAGE
Lloh26:
	ldr	x8, [x8, _cell_scroll_data@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x8]
	mov	w2, #1080
	bl	_memcpy
LBB0_4:
	bl	_CanUseSpriteThread
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x28]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	x8, [x20]
Lloh28:
	adrp	x9, _TITAN_SPRITE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _TITAN_SPRITE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
	ldr	x8, [x20, #8]
	str	xzr, [x8, x9, lsl #3]
Lloh31:
	adrp	x8, _YAB_THREAD_VIDSOFT_LAYER_SPRITE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _YAB_THREAD_VIDSOFT_LAYER_SPRITE@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_YabThreadWake
	ldr	w8, [sp, #4]
	add	w8, w8, #1
	str	w8, [sp, #4]
	b	LBB0_8
LBB0_7:
	ldr	x0, [x19]
Lloh34:
	adrp	x8, _sprite_window_mask@GOTPAGE
Lloh35:
	ldr	x8, [x8, _sprite_window_mask@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _vdp1frontframebuffer@GOTPAGE
Lloh38:
	ldr	x8, [x8, _vdp1frontframebuffer@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	ldr	x3, [x24]
Lloh40:
	adrp	x8, _Vdp1Regs@GOTPAGE
Lloh41:
	ldr	x8, [x8, _Vdp1Regs@GOTPAGEOFF]
Lloh42:
	ldr	w4, [x8]
	ldr	x5, [x26]
	ldr	x6, [x25]
	bl	_VidsoftDrawSprite
LBB0_8:
	ldr	x8, [x28]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.9:
	ldr	x3, [x23]
Lloh43:
	adrp	x4, _Vdp2DrawNBG0@GOTPAGE
Lloh44:
	ldr	x4, [x4, _Vdp2DrawNBG0@GOTPAGEOFF]
	add	x0, sp, #8
	add	x1, sp, #32
	add	x2, sp, #4
	bl	_VidsoftStartLayerThread
	ldr	x3, [x27]
Lloh45:
	adrp	x4, _Vdp2DrawRBG0@GOTPAGE
Lloh46:
	ldr	x4, [x4, _Vdp2DrawRBG0@GOTPAGEOFF]
	add	x0, sp, #8
	add	x1, sp, #32
	add	x2, sp, #4
	bl	_VidsoftStartLayerThread
	ldr	x3, [x22]
Lloh47:
	adrp	x4, _Vdp2DrawNBG1@GOTPAGE
Lloh48:
	ldr	x4, [x4, _Vdp2DrawNBG1@GOTPAGEOFF]
	add	x0, sp, #8
	add	x1, sp, #32
	add	x2, sp, #4
	bl	_VidsoftStartLayerThread
	ldr	x3, [x21]
Lloh49:
	adrp	x4, _Vdp2DrawNBG2@GOTPAGE
Lloh50:
	ldr	x4, [x4, _Vdp2DrawNBG2@GOTPAGEOFF]
	add	x0, sp, #8
	add	x1, sp, #32
	add	x2, sp, #4
	bl	_VidsoftStartLayerThread
Lloh51:
	adrp	x8, _TITAN_NBG3@GOTPAGE
Lloh52:
	ldr	x8, [x8, _TITAN_NBG3@GOTPAGEOFF]
Lloh53:
	ldr	x3, [x8]
Lloh54:
	adrp	x4, _Vdp2DrawNBG3@GOTPAGE
Lloh55:
	ldr	x4, [x4, _Vdp2DrawNBG3@GOTPAGEOFF]
	add	x0, sp, #8
	add	x1, sp, #32
	add	x2, sp, #4
	bl	_VidsoftStartLayerThread
	ldr	x8, [sp, #56]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.10:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_11:
	ldr	x0, [x26]
	ldr	x1, [x19]
	ldr	x2, [x24]
	ldr	x3, [x25]
Lloh59:
	adrp	x20, _cell_scroll_data@GOTPAGE
Lloh60:
	ldr	x20, [x20, _cell_scroll_data@GOTPAGEOFF]
	ldr	x4, [x20]
	bl	_Vdp2DrawNBG0
	ldr	x0, [x26]
	ldr	x1, [x19]
	ldr	x2, [x24]
	ldr	x3, [x25]
	ldr	x4, [x20]
	bl	_Vdp2DrawNBG1
	ldr	x0, [x26]
	ldr	x1, [x19]
	ldr	x2, [x24]
	ldr	x3, [x25]
	ldr	x4, [x20]
	bl	_Vdp2DrawNBG2
	ldr	x0, [x26]
	ldr	x1, [x19]
	ldr	x2, [x24]
	ldr	x3, [x25]
	ldr	x4, [x20]
	bl	_Vdp2DrawNBG3
	ldr	x0, [x26]
	ldr	x1, [x19]
	ldr	x2, [x24]
	ldr	x3, [x25]
	ldr	x4, [x20]
	ldr	x8, [sp, #56]
Lloh61:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh62:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_Vdp2DrawRBG0
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_Vdp2Regs,8,3                   ; @Vdp2Regs
	.comm	_TITAN_NBG0,8,3                 ; @TITAN_NBG0
	.comm	_TITAN_NBG1,8,3                 ; @TITAN_NBG1
	.comm	_TITAN_NBG2,8,3                 ; @TITAN_NBG2
	.comm	_TITAN_NBG3,8,3                 ; @TITAN_NBG3
	.comm	_TITAN_RBG0,8,3                 ; @TITAN_RBG0
	.comm	_vidsoft_num_layer_threads,8,3  ; @vidsoft_num_layer_threads
	.comm	_vidsoft_thread_context,56,3    ; @vidsoft_thread_context
	.comm	_Vdp2Lines,8,3                  ; @Vdp2Lines
	.comm	_Vdp2Ram,8,3                    ; @Vdp2Ram
	.comm	_Vdp2ColorRam,8,3               ; @Vdp2ColorRam
	.comm	_cell_scroll_data,8,3           ; @cell_scroll_data
	.comm	_TITAN_SPRITE,8,3               ; @TITAN_SPRITE
	.comm	_YAB_THREAD_VIDSOFT_LAYER_SPRITE,4,2 ; @YAB_THREAD_VIDSOFT_LAYER_SPRITE
	.comm	_sprite_window_mask,4,2         ; @sprite_window_mask
	.comm	_vdp1frontframebuffer,4,2       ; @vdp1frontframebuffer
	.comm	_Vdp1Regs,4,2                   ; @Vdp1Regs
.subsections_via_symbols
