	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vdp2HBlankOUT                  ## -- Begin function Vdp2HBlankOUT
	.p2align	4, 0x90
_Vdp2HBlankOUT:                         ## @Vdp2HBlankOUT
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_Vdp2Regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	andl	$-5, (%rsi)
	movq	_yabsys@GOTPCREL(%rip), %r14
	movslq	(%r14), %rdi
	cmpq	$269, %rdi                      ## imm = 0x10D
	jg	LBB0_3
## %bb.1:
	movl	4(%rsi), %r15d
	movq	_Vdp2Lines@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movl	$4, %edx
	callq	_memcpy
	shrl	%r15d
	andl	$262143, %r15d                  ## imm = 0x3FFFF
	shlq	$2, %r15
	xorl	%ebx, %ebx
	movq	_cell_scroll_data@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%rbx), %edi
	callq	_Vdp2RamReadLong
	movq	(%r12), %rcx
	movslq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx)
	addq	$4, %rbx
	cmpq	$352, %rbx                      ## imm = 0x160
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Vdp2Regs,8,3                   ## @Vdp2Regs
	.comm	_yabsys,4,2                     ## @yabsys
	.comm	_Vdp2Lines,8,3                  ## @Vdp2Lines
	.comm	_cell_scroll_data,8,3           ## @cell_scroll_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vdp2HBlankOUT                  ; -- Begin function Vdp2HBlankOUT
	.p2align	2
_Vdp2HBlankOUT:                         ; @Vdp2HBlankOUT
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _Vdp2Regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Vdp2Regs@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	ldr	w8, [x1]
	and	w8, w8, #0xfffffffb
	str	w8, [x1]
Lloh3:
	adrp	x19, _yabsys@GOTPAGE
Lloh4:
	ldr	x19, [x19, _yabsys@GOTPAGEOFF]
	ldrsw	x8, [x19]
	cmp	w8, #269
	b.gt	LBB0_3
; %bb.1:
	ldr	w21, [x1, #4]
Lloh5:
	adrp	x9, _Vdp2Lines@GOTPAGE
Lloh6:
	ldr	x9, [x9, _Vdp2Lines@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w2, #4
	bl	_memcpy
	mov	x20, #0
	ubfx	x8, x21, #1, #18
	lsl	x21, x8, #2
Lloh8:
	adrp	x22, _cell_scroll_data@GOTPAGE
Lloh9:
	ldr	x22, [x22, _cell_scroll_data@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w0, w21, w20
	bl	_Vdp2RamReadLong
	ldr	x8, [x22]
	ldrsw	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x20]
	add	x20, x20, #4
	cmp	x20, #352
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_Vdp2Regs,8,3                   ; @Vdp2Regs
	.comm	_yabsys,4,2                     ; @yabsys
	.comm	_Vdp2Lines,8,3                  ; @Vdp2Lines
	.comm	_cell_scroll_data,8,3           ; @cell_scroll_data
.subsections_via_symbols
