	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_dma_config
_zynqmp_dma_config:                     ## @zynqmp_dma_config
	.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	%rdi, %rbx
	movq	_ZYNQMP_DMA_CTRL0@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_ZYNQMP_DMA_POINT_TYPE_SG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_ZYNQMP_DMA_DATA_ATTR@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_ZYNQMP_DMA_ARLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	movq	_ZYNQMP_DMA_ARLEN_OFST@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%rbx), %esi
	shll	%cl, %esi
	andl	%eax, %edx
	movl	4(%rbx), %edi
	orl	%edx, %esi
	movq	_ZYNQMP_DMA_AWLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%esi, %eax
	movq	_ZYNQMP_DMA_AWLEN_OFST@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ZYNQMP_DMA_CTRL0,8,3           ## @ZYNQMP_DMA_CTRL0
	.comm	_ZYNQMP_DMA_POINT_TYPE_SG,4,2   ## @ZYNQMP_DMA_POINT_TYPE_SG
	.comm	_ZYNQMP_DMA_DATA_ATTR,8,3       ## @ZYNQMP_DMA_DATA_ATTR
	.comm	_ZYNQMP_DMA_ARLEN,4,2           ## @ZYNQMP_DMA_ARLEN
	.comm	_ZYNQMP_DMA_ARLEN_OFST,4,2      ## @ZYNQMP_DMA_ARLEN_OFST
	.comm	_ZYNQMP_DMA_AWLEN,4,2           ## @ZYNQMP_DMA_AWLEN
	.comm	_ZYNQMP_DMA_AWLEN_OFST,4,2      ## @ZYNQMP_DMA_AWLEN_OFST
	.no_dead_strip	_zynqmp_dma_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zynqmp_dma_config
_zynqmp_dma_config:                     ; @zynqmp_dma_config
	.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	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x20, _ZYNQMP_DMA_CTRL0@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ZYNQMP_DMA_CTRL0@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _ZYNQMP_DMA_POINT_TYPE_SG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZYNQMP_DMA_POINT_TYPE_SG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x20, _ZYNQMP_DMA_DATA_ATTR@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ZYNQMP_DMA_DATA_ATTR@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh7:
	adrp	x8, _ZYNQMP_DMA_ARLEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZYNQMP_DMA_ARLEN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh10:
	adrp	x9, _ZYNQMP_DMA_ARLEN_OFST@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ZYNQMP_DMA_ARLEN_OFST@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	ldp	w10, w11, [x19]
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh13:
	adrp	x9, _ZYNQMP_DMA_AWLEN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ZYNQMP_DMA_AWLEN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh16:
	adrp	x9, _ZYNQMP_DMA_AWLEN_OFST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ZYNQMP_DMA_AWLEN_OFST@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	lsl	w9, w11, w9
	orr	w0, w9, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ZYNQMP_DMA_CTRL0,8,3           ; @ZYNQMP_DMA_CTRL0
	.comm	_ZYNQMP_DMA_POINT_TYPE_SG,4,2   ; @ZYNQMP_DMA_POINT_TYPE_SG
	.comm	_ZYNQMP_DMA_DATA_ATTR,8,3       ; @ZYNQMP_DMA_DATA_ATTR
	.comm	_ZYNQMP_DMA_ARLEN,4,2           ; @ZYNQMP_DMA_ARLEN
	.comm	_ZYNQMP_DMA_ARLEN_OFST,4,2      ; @ZYNQMP_DMA_ARLEN_OFST
	.comm	_ZYNQMP_DMA_AWLEN,4,2           ; @ZYNQMP_DMA_AWLEN
	.comm	_ZYNQMP_DMA_AWLEN_OFST,4,2      ; @ZYNQMP_DMA_AWLEN_OFST
	.no_dead_strip	_zynqmp_dma_config
.subsections_via_symbols
