	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_dma_irq_handler
_zynqmp_dma_irq_handler:                ## @zynqmp_dma_irq_handler
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ZYNQMP_DMA_ISR@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	16(%rsi), %rdi
	callq	_readl
	movl	%eax, %r12d
	movq	_ZYNQMP_DMA_IMR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	notl	%ebx
	andl	%r12d, %ebx
	movq	(%r13), %rsi
	addq	16(%r14), %rsi
	movl	%r12d, %edi
	callq	_writel
	movq	_ZYNQMP_DMA_INT_DONE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	12(%r14), %rdi
	callq	_tasklet_schedule
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movq	_ZYNQMP_DMA_DONE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	$1, (%r14)
LBB0_4:
	movq	_ZYNQMP_DMA_INT_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movl	$1, 4(%r14)
	leaq	12(%r14), %rdi
	callq	_tasklet_schedule
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_dev_err
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_6:
	movq	_ZYNQMP_DMA_INT_OVRFL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_zynqmp_dma_handle_ovfl_int
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_dev_dbg
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ZYNQMP_DMA_ISR,8,3             ## @ZYNQMP_DMA_ISR
	.comm	_ZYNQMP_DMA_IMR,8,3             ## @ZYNQMP_DMA_IMR
	.comm	_ZYNQMP_DMA_INT_DONE,4,2        ## @ZYNQMP_DMA_INT_DONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_ZYNQMP_DMA_DONE,4,2            ## @ZYNQMP_DMA_DONE
	.comm	_ZYNQMP_DMA_INT_ERR,4,2         ## @ZYNQMP_DMA_INT_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Channel %p has errors\n"

	.comm	_ZYNQMP_DMA_INT_OVRFL,4,2       ## @ZYNQMP_DMA_INT_OVRFL
L_.str.1:                               ## @.str.1
	.asciz	"Channel %p overflow interrupt\n"

	.no_dead_strip	_zynqmp_dma_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zynqmp_dma_irq_handler
_zynqmp_dma_irq_handler:                ; @zynqmp_dma_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x8, [x1, #16]
Lloh3:
	adrp	x23, _ZYNQMP_DMA_ISR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ZYNQMP_DMA_ISR@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
	mov	x22, x0
	ldr	x8, [x19, #16]
Lloh5:
	adrp	x9, _ZYNQMP_DMA_IMR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ZYNQMP_DMA_IMR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	bic	w20, w22, w0
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	add	x1, x9, x8
	mov	x0, x22
	bl	_writel
Lloh8:
	adrp	x8, _ZYNQMP_DMA_INT_DONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZYNQMP_DMA_INT_DONE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x22, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x22, [x22, _IRQ_HANDLED@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	add	x0, x19, #12
	bl	_tasklet_schedule
	ldr	w21, [x22]
LBB0_2:
Lloh13:
	adrp	x8, _ZYNQMP_DMA_DONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ZYNQMP_DMA_DONE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
Lloh16:
	adrp	x8, _ZYNQMP_DMA_INT_ERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ZYNQMP_DMA_INT_ERR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19, #4]
	add	x0, x19, #12
	bl	_tasklet_schedule
	ldr	w0, [x19, #8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_err
	ldr	w21, [x22]
LBB0_6:
Lloh21:
	adrp	x8, _ZYNQMP_DMA_INT_OVRFL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ZYNQMP_DMA_INT_OVRFL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_zynqmp_dma_handle_ovfl_int
	ldr	w0, [x19, #8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	ldr	w21, [x22]
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ZYNQMP_DMA_ISR,8,3             ; @ZYNQMP_DMA_ISR
	.comm	_ZYNQMP_DMA_IMR,8,3             ; @ZYNQMP_DMA_IMR
	.comm	_ZYNQMP_DMA_INT_DONE,4,2        ; @ZYNQMP_DMA_INT_DONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_ZYNQMP_DMA_DONE,4,2            ; @ZYNQMP_DMA_DONE
	.comm	_ZYNQMP_DMA_INT_ERR,4,2         ; @ZYNQMP_DMA_INT_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Channel %p has errors\n"

	.comm	_ZYNQMP_DMA_INT_OVRFL,4,2       ; @ZYNQMP_DMA_INT_OVRFL
l_.str.1:                               ; @.str.1
	.asciz	"Channel %p overflow interrupt\n"

	.no_dead_strip	_zynqmp_dma_irq_handler
.subsections_via_symbols
