	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt3_start_dma                  ## -- Begin function pt3_start_dma
	.p2align	4, 0x90
_pt3_start_dma:                         ## @pt3_start_dma
	.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	%rdi, %r14
	movq	16(%rdi), %r15
	movl	8(%rdi), %edi
	callq	_get_dma_base
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	_OFST_DMA_CTL@GOTPCREL(%rip), %r12
	addq	(%r12), %rsi
	movl	$2, %edi
	callq	_iowrite32
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_lower_32_bits
	movq	(%r15), %rcx
	movq	(%rcx), %rsi
	addq	%rbx, %rsi
	movq	_OFST_DMA_DESC_L@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rsi
	movl	%eax, %edi
	callq	_iowrite32
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_upper_32_bits
	movq	(%r15), %rcx
	movq	(%rcx), %rsi
	addq	%rbx, %rsi
	movq	_OFST_DMA_DESC_H@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rsi
	movl	%eax, %edi
	callq	_iowrite32
	movq	(%r15), %rax
	addq	(%rax), %rbx
	addq	(%r12), %rbx
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_iowrite32
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OFST_DMA_CTL,8,3               ## @OFST_DMA_CTL
	.comm	_OFST_DMA_DESC_L,8,3            ## @OFST_DMA_DESC_L
	.comm	_OFST_DMA_DESC_H,8,3            ## @OFST_DMA_DESC_H
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt3_start_dma                  ; -- Begin function pt3_start_dma
	.p2align	2
_pt3_start_dma:                         ; @pt3_start_dma
	.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
	mov	x19, x0
	ldr	x21, [x0, #16]
	ldr	w0, [x0, #8]
	bl	_get_dma_base
	mov	x20, x0
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh0:
	adrp	x22, _OFST_DMA_CTL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OFST_DMA_CTL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x8, x8, x0
	add	x1, x8, x9
	mov	w0, #2
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_lower_32_bits
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _OFST_DMA_DESC_L@GOTPAGE
Lloh3:
	ldr	x9, [x9, _OFST_DMA_DESC_L@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x8, x8, x20
	add	x1, x8, x9
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_upper_32_bits
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _OFST_DMA_DESC_H@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OFST_DMA_DESC_H@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x8, x8, x20
	add	x1, x8, x9
	bl	_iowrite32
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x9, [x22]
	add	x8, x8, x20
	add	x1, x8, x9
	mov	w0, #1
	bl	_iowrite32
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OFST_DMA_CTL,8,3               ; @OFST_DMA_CTL
	.comm	_OFST_DMA_DESC_L,8,3            ; @OFST_DMA_DESC_L
	.comm	_OFST_DMA_DESC_H,8,3            ; @OFST_DMA_DESC_H
.subsections_via_symbols
