	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_dma_init
_zynqmp_dma_init:                       ## @zynqmp_dma_init
	.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_IDS_DEFAULT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ZYNQMP_DMA_IDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_ZYNQMP_DMA_ISR@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_ZYNQMP_DMA_AXCOHRNT@GOTPCREL(%rip), %rax
	movq	_ZYNQMP_DMA_AXCACHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	(%rax), %edx
	movq	_ZYNQMP_DMA_AXCACHE_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ZYNQMP_DMA_AXCACHE_OFST@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%edx, %edi
	movq	_ZYNQMP_DMA_DSCR_ATTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
LBB0_2:
	movq	_ZYNQMP_DMA_DATA_ATTR@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ZYNQMP_DMA_ARCACHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	movq	_ZYNQMP_DMA_AXCACHE_VAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ZYNQMP_DMA_ARCACHE_OFST@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%esi, %edi
	shll	%cl, %edi
	andl	%edx, %eax
	orl	%eax, %edi
	movq	_ZYNQMP_DMA_AWCACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%edi, %eax
	movq	_ZYNQMP_DMA_AWCACHE_OFST@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%eax, %esi
	movl	%esi, %eax
LBB0_4:
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_ZYNQMP_DMA_IRQ_SRC_ACCT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_ZYNQMP_DMA_IRQ_DST_ACCT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movl	$1, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZYNQMP_DMA_IDS_DEFAULT_MASK,4,2 ## @ZYNQMP_DMA_IDS_DEFAULT_MASK
	.comm	_ZYNQMP_DMA_IDS,8,3             ## @ZYNQMP_DMA_IDS
	.comm	_ZYNQMP_DMA_ISR,8,3             ## @ZYNQMP_DMA_ISR
	.comm	_ZYNQMP_DMA_AXCOHRNT,4,2        ## @ZYNQMP_DMA_AXCOHRNT
	.comm	_ZYNQMP_DMA_AXCACHE,4,2         ## @ZYNQMP_DMA_AXCACHE
	.comm	_ZYNQMP_DMA_AXCACHE_VAL,4,2     ## @ZYNQMP_DMA_AXCACHE_VAL
	.comm	_ZYNQMP_DMA_AXCACHE_OFST,4,2    ## @ZYNQMP_DMA_AXCACHE_OFST
	.comm	_ZYNQMP_DMA_DSCR_ATTR,8,3       ## @ZYNQMP_DMA_DSCR_ATTR
	.comm	_ZYNQMP_DMA_DATA_ATTR,8,3       ## @ZYNQMP_DMA_DATA_ATTR
	.comm	_ZYNQMP_DMA_ARCACHE,4,2         ## @ZYNQMP_DMA_ARCACHE
	.comm	_ZYNQMP_DMA_ARCACHE_OFST,4,2    ## @ZYNQMP_DMA_ARCACHE_OFST
	.comm	_ZYNQMP_DMA_AWCACHE,4,2         ## @ZYNQMP_DMA_AWCACHE
	.comm	_ZYNQMP_DMA_AWCACHE_OFST,4,2    ## @ZYNQMP_DMA_AWCACHE_OFST
	.comm	_ZYNQMP_DMA_IRQ_SRC_ACCT,8,3    ## @ZYNQMP_DMA_IRQ_SRC_ACCT
	.comm	_ZYNQMP_DMA_IRQ_DST_ACCT,8,3    ## @ZYNQMP_DMA_IRQ_DST_ACCT
	.no_dead_strip	_zynqmp_dma_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zynqmp_dma_init
_zynqmp_dma_init:                       ; @zynqmp_dma_init
	.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
Lloh0:
	adrp	x8, _ZYNQMP_DMA_IDS_DEFAULT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZYNQMP_DMA_IDS_DEFAULT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _ZYNQMP_DMA_IDS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZYNQMP_DMA_IDS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x20, _ZYNQMP_DMA_ISR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ZYNQMP_DMA_ISR@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #16]
Lloh8:
	adrp	x20, _ZYNQMP_DMA_AXCACHE_VAL@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ZYNQMP_DMA_AXCACHE_VAL@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _ZYNQMP_DMA_AXCOHRNT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZYNQMP_DMA_AXCOHRNT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _ZYNQMP_DMA_AXCACHE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ZYNQMP_DMA_AXCACHE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w8, w8, w9
	ldr	w9, [x20]
Lloh16:
	adrp	x10, _ZYNQMP_DMA_AXCACHE_OFST@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ZYNQMP_DMA_AXCACHE_OFST@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w9, w8
	ldr	x8, [x19, #8]
Lloh19:
	adrp	x9, _ZYNQMP_DMA_DSCR_ATTR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ZYNQMP_DMA_DSCR_ATTR@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_2:
	ldr	x8, [x19, #8]
Lloh22:
	adrp	x21, _ZYNQMP_DMA_DATA_ATTR@GOTPAGE
Lloh23:
	ldr	x21, [x21, _ZYNQMP_DMA_DATA_ATTR@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh24:
	adrp	x8, _ZYNQMP_DMA_ARCACHE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ZYNQMP_DMA_ARCACHE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldr	w9, [x20]
Lloh27:
	adrp	x10, _ZYNQMP_DMA_ARCACHE_OFST@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ZYNQMP_DMA_ARCACHE_OFST@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh30:
	adrp	x10, _ZYNQMP_DMA_AWCACHE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _ZYNQMP_DMA_AWCACHE@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	bic	w8, w8, w10
Lloh33:
	adrp	x10, _ZYNQMP_DMA_AWCACHE_OFST@GOTPAGE
Lloh34:
	ldr	x10, [x10, _ZYNQMP_DMA_AWCACHE_OFST@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w8, w9
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh36:
	adrp	x9, _ZYNQMP_DMA_IRQ_SRC_ACCT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ZYNQMP_DMA_IRQ_SRC_ACCT@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #8]
Lloh39:
	adrp	x9, _ZYNQMP_DMA_IRQ_DST_ACCT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ZYNQMP_DMA_IRQ_DST_ACCT@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	w8, #1
	str	w8, [x19]
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ZYNQMP_DMA_IDS_DEFAULT_MASK,4,2 ; @ZYNQMP_DMA_IDS_DEFAULT_MASK
	.comm	_ZYNQMP_DMA_IDS,8,3             ; @ZYNQMP_DMA_IDS
	.comm	_ZYNQMP_DMA_ISR,8,3             ; @ZYNQMP_DMA_ISR
	.comm	_ZYNQMP_DMA_AXCOHRNT,4,2        ; @ZYNQMP_DMA_AXCOHRNT
	.comm	_ZYNQMP_DMA_AXCACHE,4,2         ; @ZYNQMP_DMA_AXCACHE
	.comm	_ZYNQMP_DMA_AXCACHE_VAL,4,2     ; @ZYNQMP_DMA_AXCACHE_VAL
	.comm	_ZYNQMP_DMA_AXCACHE_OFST,4,2    ; @ZYNQMP_DMA_AXCACHE_OFST
	.comm	_ZYNQMP_DMA_DSCR_ATTR,8,3       ; @ZYNQMP_DMA_DSCR_ATTR
	.comm	_ZYNQMP_DMA_DATA_ATTR,8,3       ; @ZYNQMP_DMA_DATA_ATTR
	.comm	_ZYNQMP_DMA_ARCACHE,4,2         ; @ZYNQMP_DMA_ARCACHE
	.comm	_ZYNQMP_DMA_ARCACHE_OFST,4,2    ; @ZYNQMP_DMA_ARCACHE_OFST
	.comm	_ZYNQMP_DMA_AWCACHE,4,2         ; @ZYNQMP_DMA_AWCACHE
	.comm	_ZYNQMP_DMA_AWCACHE_OFST,4,2    ; @ZYNQMP_DMA_AWCACHE_OFST
	.comm	_ZYNQMP_DMA_IRQ_SRC_ACCT,8,3    ; @ZYNQMP_DMA_IRQ_SRC_ACCT
	.comm	_ZYNQMP_DMA_IRQ_DST_ACCT,8,3    ; @ZYNQMP_DMA_IRQ_DST_ACCT
	.no_dead_strip	_zynqmp_dma_init
.subsections_via_symbols
