	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDGCDVdp1DrawStart            ## -- Begin function VIDGCDVdp1DrawStart
	.p2align	4, 0x90
_VIDGCDVdp1DrawStart:                   ## @VIDGCDVdp1DrawStart
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Vdp1Regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	testb	$1, %al
	jne	LBB0_2
## %bb.1:
	movq	_vdp1width@GOTPCREL(%rip), %rax
	movl	$512, (%rax)                    ## imm = 0x200
	movq	_vdp1height@GOTPCREL(%rip), %rax
	movl	$256, (%rax)                    ## imm = 0x100
	movl	$2, %eax
	jmp	LBB0_6
LBB0_2:
	testb	$2, %al
	jne	LBB0_4
## %bb.3:
	movq	_vdp1width@GOTPCREL(%rip), %rax
	movl	$256, (%rax)                    ## imm = 0x100
	jmp	LBB0_5
LBB0_4:
	movq	_vdp1width@GOTPCREL(%rip), %rax
	movl	$512, (%rax)                    ## imm = 0x200
	movq	_vdp1height@GOTPCREL(%rip), %rax
	movl	$512, (%rax)                    ## imm = 0x200
LBB0_5:
	movl	$1, %eax
LBB0_6:
	movq	_vdp1pixelsize@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_VIDGCDVdp1EraseFrameBuffer     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Vdp1Regs,8,3                   ## @Vdp1Regs
	.comm	_vdp1width,4,2                  ## @vdp1width
	.comm	_vdp1height,4,2                 ## @vdp1height
	.comm	_vdp1pixelsize,4,2              ## @vdp1pixelsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDGCDVdp1DrawStart            ; -- Begin function VIDGCDVdp1DrawStart
	.p2align	2
_VIDGCDVdp1DrawStart:                   ; @VIDGCDVdp1DrawStart
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Vdp1Regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Vdp1Regs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	tbnz	w8, #0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _vdp1width@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vdp1width@GOTPAGEOFF]
	mov	w9, #512
Lloh5:
	str	w9, [x8]
Lloh6:
	adrp	x8, _vdp1height@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vdp1height@GOTPAGEOFF]
	mov	w9, #256
Lloh8:
	str	w9, [x8]
	mov	w8, #2
	b	LBB0_6
LBB0_2:
	tbnz	w8, #1, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _vdp1width@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vdp1width@GOTPAGEOFF]
	mov	w9, #256
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _vdp1width@GOTPAGE
Lloh12:
	ldr	x8, [x8, _vdp1width@GOTPAGEOFF]
	mov	w9, #512
Lloh13:
	str	w9, [x8]
Lloh14:
	adrp	x8, _vdp1height@GOTPAGE
Lloh15:
	ldr	x8, [x8, _vdp1height@GOTPAGEOFF]
LBB0_5:
	str	w9, [x8]
	mov	w8, #1
LBB0_6:
Lloh16:
	adrp	x9, _vdp1pixelsize@GOTPAGE
Lloh17:
	ldr	x9, [x9, _vdp1pixelsize@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	b	_VIDGCDVdp1EraseFrameBuffer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_Vdp1Regs,8,3                   ; @Vdp1Regs
	.comm	_vdp1width,4,2                  ; @vdp1width
	.comm	_vdp1height,4,2                 ; @vdp1height
	.comm	_vdp1pixelsize,4,2              ; @vdp1pixelsize
.subsections_via_symbols
