	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function via_dmablit_engine_off
_via_dmablit_engine_off:                ## @via_dmablit_engine_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movq	_VIA_PCI_DMA_CSR0@GOTPCREL(%rip), %rax
	shll	$2, %esi
	movslq	%esi, %rsi
	addq	(%rax), %rsi
	movq	_VIA_DMA_CSR_TD@GOTPCREL(%rip), %rax
	movq	_VIA_DMA_CSR_DD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	popq	%rbp
	jmp	_via_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIA_PCI_DMA_CSR0,8,3           ## @VIA_PCI_DMA_CSR0
	.comm	_VIA_DMA_CSR_TD,4,2             ## @VIA_DMA_CSR_TD
	.comm	_VIA_DMA_CSR_DD,4,2             ## @VIA_DMA_CSR_DD
	.no_dead_strip	_via_dmablit_engine_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function via_dmablit_engine_off
_via_dmablit_engine_off:                ; @via_dmablit_engine_off
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _VIA_PCI_DMA_CSR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIA_PCI_DMA_CSR0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	w9, w1, #2
	add	x1, x8, w9, sxtw
Lloh3:
	adrp	x8, _VIA_DMA_CSR_TD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VIA_DMA_CSR_TD@GOTPAGEOFF]
Lloh5:
	adrp	x9, _VIA_DMA_CSR_DD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VIA_DMA_CSR_DD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	_via_write
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIA_PCI_DMA_CSR0,8,3           ; @VIA_PCI_DMA_CSR0
	.comm	_VIA_DMA_CSR_TD,4,2             ; @VIA_DMA_CSR_TD
	.comm	_VIA_DMA_CSR_DD,4,2             ; @VIA_DMA_CSR_DD
	.no_dead_strip	_via_dmablit_engine_off
.subsections_via_symbols
