	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_dma_set_desc
_zx_dma_set_desc:                       ## @zx_dma_set_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	16(%rsi), %edi
	movq	_REG_ZX_SRC_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movl	12(%r14), %edi
	movq	_REG_ZX_DST_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movl	8(%r14), %edi
	movq	_REG_ZX_TX_X_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movq	_REG_ZX_TX_ZY_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movq	_REG_ZX_SRC_ZY_STEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movq	_REG_ZX_DST_ZY_STEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movl	4(%r14), %edi
	movq	_REG_ZX_LLI_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movl	(%r14), %edi
	movq	_REG_ZX_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_ZX_SRC_ADDR,8,3            ## @REG_ZX_SRC_ADDR
	.comm	_REG_ZX_DST_ADDR,8,3            ## @REG_ZX_DST_ADDR
	.comm	_REG_ZX_TX_X_COUNT,8,3          ## @REG_ZX_TX_X_COUNT
	.comm	_REG_ZX_TX_ZY_COUNT,8,3         ## @REG_ZX_TX_ZY_COUNT
	.comm	_REG_ZX_SRC_ZY_STEP,8,3         ## @REG_ZX_SRC_ZY_STEP
	.comm	_REG_ZX_DST_ZY_STEP,8,3         ## @REG_ZX_DST_ZY_STEP
	.comm	_REG_ZX_LLI_ADDR,8,3            ## @REG_ZX_LLI_ADDR
	.comm	_REG_ZX_CTRL,8,3                ## @REG_ZX_CTRL
	.no_dead_strip	_zx_dma_set_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_dma_set_desc
_zx_dma_set_desc:                       ; @zx_dma_set_desc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #16]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _REG_ZX_SRC_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_ZX_SRC_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20, #12]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _REG_ZX_DST_ADDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_ZX_DST_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20, #8]
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _REG_ZX_TX_X_COUNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_ZX_TX_X_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _REG_ZX_TX_ZY_COUNT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _REG_ZX_TX_ZY_COUNT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _REG_ZX_SRC_ZY_STEP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REG_ZX_SRC_ZY_STEP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _REG_ZX_DST_ZY_STEP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REG_ZX_DST_ZY_STEP@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
	ldr	w0, [x20, #4]
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _REG_ZX_LLI_ADDR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _REG_ZX_LLI_ADDR@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _REG_ZX_CTRL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _REG_ZX_CTRL@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_ZX_SRC_ADDR,8,3            ; @REG_ZX_SRC_ADDR
	.comm	_REG_ZX_DST_ADDR,8,3            ; @REG_ZX_DST_ADDR
	.comm	_REG_ZX_TX_X_COUNT,8,3          ; @REG_ZX_TX_X_COUNT
	.comm	_REG_ZX_TX_ZY_COUNT,8,3         ; @REG_ZX_TX_ZY_COUNT
	.comm	_REG_ZX_SRC_ZY_STEP,8,3         ; @REG_ZX_SRC_ZY_STEP
	.comm	_REG_ZX_DST_ZY_STEP,8,3         ; @REG_ZX_DST_ZY_STEP
	.comm	_REG_ZX_LLI_ADDR,8,3            ; @REG_ZX_LLI_ADDR
	.comm	_REG_ZX_CTRL,8,3                ; @REG_ZX_CTRL
	.no_dead_strip	_zx_dma_set_desc
.subsections_via_symbols
