	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vdp2VBlankIN                   ## -- Begin function Vdp2VBlankIN
	.p2align	4, 0x90
_Vdp2VBlankIN:                          ## @Vdp2VBlankIN
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VIDCore@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movq	_Vdp1Regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, 8(%rax)
	movq	_Vdp1External@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	sarl	(%rax)
LBB0_2:
	movq	_Vdp2Regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	$8, (%rax)
	xorl	%eax, %eax
	callq	_ScuSendVBlankIN
	movq	_yabsys@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_SSH2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$67, %esi
	movl	$6, %edx
	popq	%rbp
	jmp	_SH2SendInterrupt               ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDCore,8,3                    ## @VIDCore
	.comm	_Vdp1Regs,8,3                   ## @Vdp1Regs
	.comm	_Vdp1External,8,3               ## @Vdp1External
	.comm	_Vdp2Regs,8,3                   ## @Vdp2Regs
	.comm	_yabsys,8,3                     ## @yabsys
	.comm	_SSH2,4,2                       ## @SSH2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vdp2VBlankIN                   ; -- Begin function Vdp2VBlankIN
	.p2align	2
_Vdp2VBlankIN:                          ; @Vdp2VBlankIN
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _VIDCore@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDCore@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
Lloh3:
	adrp	x8, _Vdp1Regs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Vdp1Regs@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	xzr, [x8, #8]
Lloh6:
	adrp	x9, _Vdp1External@GOTPAGE
Lloh7:
	ldr	x9, [x9, _Vdp1External@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w9, [x8]
	asr	w9, w9, #1
	str	w9, [x8]
LBB0_2:
Lloh9:
	adrp	x8, _Vdp2Regs@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Vdp2Regs@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w9, [x8]
	orr	w9, w9, #0x8
	str	w9, [x8]
	bl	_ScuSendVBlankIN
Lloh12:
	adrp	x8, _yabsys@GOTPAGE
Lloh13:
	ldr	x8, [x8, _yabsys@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _SSH2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSH2@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #67
	mov	w2, #6
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_SH2SendInterrupt
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDCore,8,3                    ; @VIDCore
	.comm	_Vdp1Regs,8,3                   ; @Vdp1Regs
	.comm	_Vdp1External,8,3               ; @Vdp1External
	.comm	_Vdp2Regs,8,3                   ; @Vdp2Regs
	.comm	_yabsys,8,3                     ; @yabsys
	.comm	_SSH2,4,2                       ; @SSH2
.subsections_via_symbols
