	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VIDDCVdp1DrawStart
_VIDDCVdp1DrawStart:                    ## @VIDDCVdp1DrawStart
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Vdp2Regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testb	$64, (%rax)
	jne	LBB0_1
## %bb.6:
	movq	_vdp1cob@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_vdp1cog@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_vdp1cor@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_7
LBB0_1:
	testb	$64, 4(%rax)
	jne	LBB0_2
## %bb.5:
	movl	20(%rax), %ecx
	movzbl	%cl, %edx
	shll	$23, %ecx
	sarl	$31, %ecx
	andl	$-256, %ecx
	orl	%edx, %ecx
	movq	_vdp1cor@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	24(%rax), %ecx
	movzbl	%cl, %edx
	shll	$23, %ecx
	sarl	$31, %ecx
	andl	$-256, %ecx
	orl	%edx, %ecx
	movq	_vdp1cog@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	28(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movl	8(%rax), %ecx
	movzbl	%cl, %edx
	shll	$23, %ecx
	sarl	$31, %ecx
	andl	$-256, %ecx
	orl	%edx, %ecx
	movq	_vdp1cor@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	12(%rax), %ecx
	movzbl	%cl, %edx
	shll	$23, %ecx
	sarl	$31, %ecx
	andl	$-256, %ecx
	orl	%edx, %ecx
	movq	_vdp1cog@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	16(%rax), %eax
LBB0_3:
	movzbl	%al, %edx
	movq	_vdp1cob@GOTPCREL(%rip), %rcx
	movl	%edx, (%rcx)
	testl	$256, %eax                      ## imm = 0x100
	jne	LBB0_4
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	orl	$-256, %eax
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Vdp2Regs,8,3                   ## @Vdp2Regs
	.comm	_vdp1cor,4,2                    ## @vdp1cor
	.comm	_vdp1cog,4,2                    ## @vdp1cog
	.comm	_vdp1cob,4,2                    ## @vdp1cob
	.no_dead_strip	_VIDDCVdp1DrawStart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VIDDCVdp1DrawStart
_VIDDCVdp1DrawStart:                    ; @VIDDCVdp1DrawStart
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Vdp2Regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Vdp2Regs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrb	w9, [x8]
	tbnz	w9, #6, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _vdp1cob@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vdp1cob@GOTPAGEOFF]
Lloh5:
	str	wzr, [x8]
Lloh6:
	adrp	x8, _vdp1cog@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vdp1cog@GOTPAGEOFF]
Lloh8:
	str	wzr, [x8]
Lloh9:
	adrp	x8, _vdp1cor@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vdp1cor@GOTPAGEOFF]
Lloh11:
	str	wzr, [x8]
	b	LBB0_6
LBB0_2:
	ldrb	w9, [x8, #4]
	tbnz	w9, #6, LBB0_4
; %bb.3:
	ldp	w9, w10, [x8, #20]
	sbfx	w11, w9, #8, #1
Lloh12:
	adrp	x12, _vdp1cor@GOTPAGE
Lloh13:
	ldr	x12, [x12, _vdp1cor@GOTPAGEOFF]
	bfxil	w11, w9, #0, #8
Lloh14:
	str	w11, [x12]
	sbfx	w9, w10, #8, #1
	bfxil	w9, w10, #0, #8
Lloh15:
	adrp	x10, _vdp1cog@GOTPAGE
Lloh16:
	ldr	x10, [x10, _vdp1cog@GOTPAGEOFF]
Lloh17:
	str	w9, [x10]
	ldr	w8, [x8, #28]
	b	LBB0_5
LBB0_4:
	ldp	w9, w10, [x8, #8]
	sbfx	w11, w9, #8, #1
Lloh18:
	adrp	x12, _vdp1cor@GOTPAGE
Lloh19:
	ldr	x12, [x12, _vdp1cor@GOTPAGEOFF]
	bfxil	w11, w9, #0, #8
Lloh20:
	str	w11, [x12]
	sbfx	w9, w10, #8, #1
	bfxil	w9, w10, #0, #8
Lloh21:
	adrp	x10, _vdp1cog@GOTPAGE
Lloh22:
	ldr	x10, [x10, _vdp1cog@GOTPAGEOFF]
Lloh23:
	str	w9, [x10]
	ldr	w8, [x8, #16]
LBB0_5:
	and	w10, w8, #0xff
Lloh24:
	adrp	x9, _vdp1cob@GOTPAGE
Lloh25:
	ldr	x9, [x9, _vdp1cob@GOTPAGEOFF]
	str	w10, [x9]
	tbnz	w8, #8, LBB0_7
LBB0_6:
	ret
LBB0_7:
	orr	w8, w8, #0xffffff00
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_Vdp2Regs,8,3                   ; @Vdp2Regs
	.comm	_vdp1cor,4,2                    ; @vdp1cor
	.comm	_vdp1cog,4,2                    ; @vdp1cog
	.comm	_vdp1cob,4,2                    ; @vdp1cob
	.no_dead_strip	_VIDDCVdp1DrawStart
.subsections_via_symbols
