	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xilinx_dma_chan_probe
_xilinx_dma_chan_probe:                 ## @xilinx_dma_chan_probe
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	12(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$136, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r14), %eax
	movl	%eax, 52(%r13)
	movq	%r14, 128(%r13)
	movl	$0, (%r13)
	movl	40(%r14), %eax
	movl	%eax, 124(%r13)
	movl	$1, 4(%r13)
	leaq	120(%r13), %rdi
	callq	_spin_lock_init
	leaq	116(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	112(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	108(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	104(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_bool
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_bool
	movq	%rax, 96(%r13)
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movl	12(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_39
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_39
LBB0_4:
	movl	-48(%rbp), %edi
	cmpl	$71, %edi
	jg	LBB0_6
## %bb.5:
	testl	%r12d, %r12d
	jne	LBB0_7
LBB0_6:
	sarl	$3, %edi
	decl	%edi
	callq	_fls
	movl	%eax, 28(%r14)
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_17
LBB0_10:
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r13)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movl	%eax, 12(%r13)
	movq	_XILINX_DMA_MM2S_CTRL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r13)
	movq	32(%r14), %rax
	movq	(%rax), %rax
	movq	_XDMA_TYPE_VDMA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.11:
	movq	_XILINX_VDMA_MM2S_DESC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r13)
	movl	$1, 72(%r13)
	movq	(%r14), %rax
	movq	_XILINX_DMA_FLUSH_BOTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.12:
	movq	_XILINX_DMA_FLUSH_MM2S@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_14:
	movl	$1, 16(%r13)
LBB0_15:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, 68(%r13)
	movq	_xilinx_dma_irq_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.11(%rip), %rcx
	movl	%eax, %edi
	movq	%r13, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_25
## %bb.16:
	movl	%eax, %ebx
	movl	12(%r14), %edi
	movl	68(%r13), %edx
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_39
LBB0_25:
	movq	32(%r14), %rax
	movq	(%rax), %rax
	movq	_XDMA_TYPE_AXIDMA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_XDMA_TYPE_CDMA@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_26
## %bb.27:
	movq	_xilinx_cdma_start_transfer@GOTPCREL(%rip), %rsi
	cmpq	%rcx, %rax
	je	LBB0_29
	jmp	LBB0_30
LBB0_26:
	movq	_xilinx_vdma_start_transfer@GOTPCREL(%rip), %rsi
	cmpq	%rcx, %rax
	jne	LBB0_30
LBB0_29:
	movq	_xilinx_dma_start_transfer@GOTPCREL(%rip), %rsi
LBB0_30:
	movl	(%rsi), %esi
	movl	%esi, 64(%r13)
	movq	_xilinx_dma_stop_transfer@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, %rdi
	cmpq	%rdx, %rax
	jne	LBB0_32
## %bb.31:
	movq	_xilinx_cdma_stop_transfer@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
LBB0_32:
	cmpq	%rcx, %rax
	cmoveq	%rsi, %rdi
	movq	%rdi, 56(%r13)
	movq	_XDMA_TYPE_VDMA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_37
## %bb.33:
	movq	_XILINX_DMA_REG_DMASR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_ctrl_read
	movq	_XILINX_DMA_DMASR_SG_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_34
## %bb.35:
	movl	$1, 24(%r13)
	leaq	L_.str.14(%rip), %rcx
	jmp	LBB0_36
LBB0_34:
	cmpl	$0, 24(%r13)
	leaq	L_.str.15(%rip), %rax
	leaq	L_.str.14(%rip), %rcx
	cmoveq	%rax, %rcx
LBB0_36:
	movl	8(%r13), %edx
	movl	52(%r13), %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_dev_dbg
LBB0_37:
	leaq	48(%r13), %rdi
	movq	_xilinx_dma_do_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_tasklet_init
	leaq	24(%r14), %rsi
	movq	%r13, %rdi
	addq	$32, %rdi
	movq	%rsi, 40(%r13)
	callq	_list_add_tail
	movq	16(%r14), %rax
	movslq	8(%r13), %rcx
	movq	%r13, (%rax,%rcx,8)
	movq	%r13, %rdi
	callq	_xilinx_dma_chan_reset
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_39
## %bb.38:
	movl	%eax, %r15d
	movl	12(%r14), %edi
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r15d, %ebx
LBB0_39:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_24
LBB0_19:
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r13)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	subl	8(%r14), %eax
	movl	%eax, 12(%r13)
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_bool
	movl	%eax, 20(%r13)
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movq	_XILINX_VDMA_REG_ENABLE_VERTICAL_FLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_read
	movq	_XILINX_VDMA_ENABLE_VERTICAL_FLIP@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 76(%r13)
LBB0_21:
	movq	_XILINX_DMA_S2MM_CTRL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r13)
	movq	32(%r14), %rax
	movq	(%rax), %rax
	movq	_XDMA_TYPE_VDMA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.22:
	movq	_XILINX_VDMA_S2MM_DESC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r13)
	movl	$1, 72(%r13)
	movq	(%r14), %rax
	movq	_XILINX_DMA_FLUSH_BOTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.23:
	movq	_XILINX_DMA_FLUSH_S2MM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
	jmp	LBB0_14
LBB0_24:
	movl	12(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xlnx,include-dre"

L_.str.1:                               ## @.str.1
	.asciz	"xlnx,genlock-mode"

L_.str.2:                               ## @.str.2
	.asciz	"xlnx,datawidth"

L_.str.3:                               ## @.str.3
	.asciz	"missing xlnx,datawidth property\n"

L_.str.4:                               ## @.str.4
	.asciz	"xlnx,axi-vdma-mm2s-channel"

L_.str.5:                               ## @.str.5
	.asciz	"xlnx,axi-dma-mm2s-channel"

L_.str.6:                               ## @.str.6
	.asciz	"xlnx,axi-cdma-channel"

	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_XILINX_DMA_MM2S_CTRL_OFFSET,4,2 ## @XILINX_DMA_MM2S_CTRL_OFFSET
	.comm	_XDMA_TYPE_VDMA,8,3             ## @XDMA_TYPE_VDMA
	.comm	_XILINX_VDMA_MM2S_DESC_OFFSET,4,2 ## @XILINX_VDMA_MM2S_DESC_OFFSET
	.comm	_XILINX_DMA_FLUSH_BOTH,8,3      ## @XILINX_DMA_FLUSH_BOTH
	.comm	_XILINX_DMA_FLUSH_MM2S,8,3      ## @XILINX_DMA_FLUSH_MM2S
L_.str.7:                               ## @.str.7
	.asciz	"xlnx,axi-vdma-s2mm-channel"

L_.str.8:                               ## @.str.8
	.asciz	"xlnx,axi-dma-s2mm-channel"

	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
L_.str.9:                               ## @.str.9
	.asciz	"xlnx,enable-vert-flip"

	.comm	_XILINX_VDMA_REG_ENABLE_VERTICAL_FLIP,4,2 ## @XILINX_VDMA_REG_ENABLE_VERTICAL_FLIP
	.comm	_XILINX_VDMA_ENABLE_VERTICAL_FLIP,4,2 ## @XILINX_VDMA_ENABLE_VERTICAL_FLIP
	.comm	_XILINX_DMA_S2MM_CTRL_OFFSET,4,2 ## @XILINX_DMA_S2MM_CTRL_OFFSET
	.comm	_XILINX_VDMA_S2MM_DESC_OFFSET,4,2 ## @XILINX_VDMA_S2MM_DESC_OFFSET
	.comm	_XILINX_DMA_FLUSH_S2MM,8,3      ## @XILINX_DMA_FLUSH_S2MM
L_.str.10:                              ## @.str.10
	.asciz	"Invalid channel compatible node\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_xilinx_dma_irq_handler,4,2     ## @xilinx_dma_irq_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.11:                              ## @.str.11
	.asciz	"xilinx-dma-controller"

L_.str.12:                              ## @.str.12
	.asciz	"unable to request IRQ %d\n"

	.comm	_XDMA_TYPE_AXIDMA,8,3           ## @XDMA_TYPE_AXIDMA
	.comm	_xilinx_dma_start_transfer,4,2  ## @xilinx_dma_start_transfer
	.comm	_xilinx_dma_stop_transfer,8,3   ## @xilinx_dma_stop_transfer
	.comm	_XDMA_TYPE_CDMA,8,3             ## @XDMA_TYPE_CDMA
	.comm	_xilinx_cdma_start_transfer,4,2 ## @xilinx_cdma_start_transfer
	.comm	_xilinx_cdma_stop_transfer,8,3  ## @xilinx_cdma_stop_transfer
	.comm	_xilinx_vdma_start_transfer,4,2 ## @xilinx_vdma_start_transfer
	.comm	_XILINX_DMA_REG_DMASR,4,2       ## @XILINX_DMA_REG_DMASR
	.comm	_XILINX_DMA_DMASR_SG_MASK,4,2   ## @XILINX_DMA_DMASR_SG_MASK
L_.str.13:                              ## @.str.13
	.asciz	"ch %d: SG %s\n"

L_.str.14:                              ## @.str.14
	.asciz	"enabled"

L_.str.15:                              ## @.str.15
	.asciz	"disabled"

	.comm	_xilinx_dma_do_tasklet,4,2      ## @xilinx_dma_do_tasklet
L_.str.16:                              ## @.str.16
	.asciz	"Reset channel failed\n"

	.no_dead_strip	_xilinx_dma_chan_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function xilinx_dma_chan_probe
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xilinx_dma_chan_probe:                 ; @xilinx_dma_chan_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #12]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #136
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19, #12]
	str	w8, [x0, #52]
	str	x19, [x0, #128]
	ldr	w8, [x19, #40]
	str	w8, [x0, #124]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0], #120
	bl	_spin_lock_init
	add	x0, x20, #116
	bl	_INIT_LIST_HEAD
	add	x0, x20, #112
	bl	_INIT_LIST_HEAD
	add	x0, x20, #108
	bl	_INIT_LIST_HEAD
	add	x0, x20, #104
	bl	_INIT_LIST_HEAD
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	mov	x24, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	str	x0, [x20, #96]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	w0, LBB0_5
; %bb.2:
	mov	x23, x0
	ldr	w0, [x19, #12]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_3:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_19
LBB0_5:
	ldr	w8, [sp, #12]
	cmp	w8, #71
	b.gt	LBB0_7
; %bb.6:
	cbnz	w24, LBB0_8
LBB0_7:
	asr	w8, w8, #3
	sub	w0, w8, #1
	bl	_fls
	str	w0, [x19, #28]
LBB0_8:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_of_device_is_compatible
Lloh17:
	adrp	x24, _XDMA_TYPE_VDMA@GOTPAGE
Lloh18:
	ldr	x24, [x24, _XDMA_TYPE_VDMA@GOTPAGEOFF]
	cbnz	x0, LBB0_11
; %bb.9:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_of_device_is_compatible
	cbnz	x0, LBB0_11
; %bb.10:
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_of_device_is_compatible
	cbz	x0, LBB0_28
LBB0_11:
Lloh23:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	stp	w22, w22, [x20, #8]
Lloh26:
	adrp	x9, _XILINX_DMA_MM2S_CTRL_OFFSET@GOTPAGE
Lloh27:
	ldr	x9, [x9, _XILINX_DMA_MM2S_CTRL_OFFSET@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #84]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.12:
Lloh29:
	adrp	x8, _XILINX_VDMA_MM2S_DESC_OFFSET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _XILINX_VDMA_MM2S_DESC_OFFSET@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x20, #80]
	mov	w8, #1
	str	w8, [x20, #72]
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _XILINX_DMA_FLUSH_BOTH@GOTPAGE
Lloh33:
	ldr	x9, [x9, _XILINX_DMA_FLUSH_BOTH@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.13:
Lloh35:
	adrp	x9, _XILINX_DMA_FLUSH_MM2S@GOTPAGE
Lloh36:
	ldr	x9, [x9, _XILINX_DMA_FLUSH_MM2S@GOTPAGEOFF]
LBB0_14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
LBB0_15:
	mov	w8, #1
	str	w8, [x20, #16]
LBB0_16:
	mov	x0, x21
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	w0, [x20, #68]
Lloh37:
	adrp	x8, _xilinx_dma_irq_handler@GOTPAGE
Lloh38:
	ldr	x8, [x8, _xilinx_dma_irq_handler@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x3, l_.str.11@PAGE
Lloh44:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x4, x20
	bl	_request_irq
	cbz	w0, LBB0_20
; %bb.17:
	mov	x23, x0
	ldr	w0, [x19, #12]
	ldr	w8, [x20, #68]
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.12@PAGE
Lloh46:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_18:
	bl	_dev_err
LBB0_19:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_20:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
Lloh47:
	adrp	x9, _XDMA_TYPE_AXIDMA@GOTPAGE
Lloh48:
	ldr	x9, [x9, _XDMA_TYPE_AXIDMA@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
Lloh50:
	adrp	x10, _XDMA_TYPE_CDMA@GOTPAGE
Lloh51:
	ldr	x10, [x10, _XDMA_TYPE_CDMA@GOTPAGEOFF]
Lloh52:
	adrp	x11, _xilinx_dma_start_transfer@GOTPAGE
Lloh53:
	ldr	x11, [x11, _xilinx_dma_start_transfer@GOTPAGEOFF]
Lloh54:
	adrp	x12, _xilinx_cdma_start_transfer@GOTPAGE
Lloh55:
	ldr	x12, [x12, _xilinx_cdma_start_transfer@GOTPAGEOFF]
Lloh56:
	adrp	x13, _xilinx_vdma_start_transfer@GOTPAGE
Lloh57:
	ldr	x13, [x13, _xilinx_vdma_start_transfer@GOTPAGEOFF]
Lloh58:
	ldr	x10, [x10]
	cmp	x8, x10
	csel	x10, x12, x13, eq
Lloh59:
	adrp	x12, _xilinx_dma_stop_transfer@GOTPAGE
Lloh60:
	ldr	x12, [x12, _xilinx_dma_stop_transfer@GOTPAGEOFF]
Lloh61:
	ldr	x12, [x12]
Lloh62:
	adrp	x13, _xilinx_cdma_stop_transfer@GOTPAGE
Lloh63:
	ldr	x13, [x13, _xilinx_cdma_stop_transfer@GOTPAGEOFF]
Lloh64:
	ldr	x13, [x13]
	csel	x13, x13, x12, eq
	cmp	x8, x9
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
	str	w9, [x20, #64]
	csel	x9, x12, x13, eq
	str	x9, [x20, #56]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_25
; %bb.21:
Lloh65:
	adrp	x8, _XILINX_DMA_REG_DMASR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _XILINX_DMA_REG_DMASR@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_dma_ctrl_read
Lloh68:
	adrp	x8, _XILINX_DMA_DMASR_SG_MASK@GOTPAGE
Lloh69:
	ldr	x8, [x8, _XILINX_DMA_DMASR_SG_MASK@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_23
; %bb.22:
	mov	w8, #1
	str	w8, [x20, #24]
Lloh71:
	adrp	x3, l_.str.14@PAGE
Lloh72:
	add	x3, x3, l_.str.14@PAGEOFF
	b	LBB0_24
LBB0_23:
	ldr	w8, [x20, #24]
Lloh73:
	adrp	x9, l_.str.14@PAGE
Lloh74:
	add	x9, x9, l_.str.14@PAGEOFF
Lloh75:
	adrp	x10, l_.str.15@PAGE
Lloh76:
	add	x10, x10, l_.str.15@PAGEOFF
	cmp	w8, #0
	csel	x3, x10, x9, eq
LBB0_24:
	ldr	w0, [x20, #52]
	ldr	w2, [x20, #8]
Lloh77:
	adrp	x1, l_.str.13@PAGE
Lloh78:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_dev_dbg
LBB0_25:
	add	x0, x20, #48
Lloh79:
	adrp	x8, _xilinx_dma_do_tasklet@GOTPAGE
Lloh80:
	ldr	x8, [x8, _xilinx_dma_do_tasklet@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_tasklet_init
	add	x1, x19, #24
	add	x0, x20, #32
	str	x1, [x20, #40]
	bl	_list_add_tail
	ldr	x8, [x19, #16]
	ldrsw	x9, [x20, #8]
	str	x20, [x8, x9, lsl #3]
	mov	x0, x20
	bl	_xilinx_dma_chan_reset
	tbnz	w0, #31, LBB0_27
; %bb.26:
	mov	w23, #0
	b	LBB0_19
LBB0_27:
	mov	x23, x0
	ldr	w0, [x19, #12]
Lloh82:
	adrp	x1, l_.str.16@PAGE
Lloh83:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_18
LBB0_28:
Lloh84:
	adrp	x1, l_.str.7@PAGE
Lloh85:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_of_device_is_compatible
	cbnz	x0, LBB0_30
; %bb.29:
Lloh86:
	adrp	x1, l_.str.8@PAGE
Lloh87:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_of_device_is_compatible
	cbz	x0, LBB0_35
LBB0_30:
Lloh88:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh89:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	str	w8, [x20, #88]
	ldr	w8, [x19, #8]
	sub	w8, w22, w8
	stp	w22, w8, [x20, #8]
Lloh91:
	adrp	x1, l_.str.9@PAGE
Lloh92:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	str	w0, [x20, #20]
	cbz	w0, LBB0_32
; %bb.31:
Lloh93:
	adrp	x8, _XILINX_VDMA_REG_ENABLE_VERTICAL_FLIP@GOTPAGE
Lloh94:
	ldr	x8, [x8, _XILINX_VDMA_REG_ENABLE_VERTICAL_FLIP@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_dma_read
Lloh96:
	adrp	x8, _XILINX_VDMA_ENABLE_VERTICAL_FLIP@GOTPAGE
Lloh97:
	ldr	x8, [x8, _XILINX_VDMA_ENABLE_VERTICAL_FLIP@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x20, #76]
LBB0_32:
Lloh99:
	adrp	x8, _XILINX_DMA_S2MM_CTRL_OFFSET@GOTPAGE
Lloh100:
	ldr	x8, [x8, _XILINX_DMA_S2MM_CTRL_OFFSET@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	str	w8, [x20, #84]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.33:
Lloh102:
	adrp	x8, _XILINX_VDMA_S2MM_DESC_OFFSET@GOTPAGE
Lloh103:
	ldr	x8, [x8, _XILINX_VDMA_S2MM_DESC_OFFSET@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
	str	w8, [x20, #80]
	mov	w8, #1
	str	w8, [x20, #72]
	ldr	x8, [x19]
Lloh105:
	adrp	x9, _XILINX_DMA_FLUSH_BOTH@GOTPAGE
Lloh106:
	ldr	x9, [x9, _XILINX_DMA_FLUSH_BOTH@GOTPAGEOFF]
Lloh107:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.34:
Lloh108:
	adrp	x9, _XILINX_DMA_FLUSH_S2MM@GOTPAGE
Lloh109:
	ldr	x9, [x9, _XILINX_DMA_FLUSH_S2MM@GOTPAGEOFF]
	b	LBB0_14
LBB0_35:
	ldr	w0, [x19, #12]
Lloh110:
	adrp	x1, l_.str.10@PAGE
Lloh111:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_err
Lloh112:
	adrp	x8, _EINVAL@GOTPAGE
Lloh113:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh58
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpAdd	Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xlnx,include-dre"

l_.str.1:                               ; @.str.1
	.asciz	"xlnx,genlock-mode"

l_.str.2:                               ; @.str.2
	.asciz	"xlnx,datawidth"

l_.str.3:                               ; @.str.3
	.asciz	"missing xlnx,datawidth property\n"

l_.str.4:                               ; @.str.4
	.asciz	"xlnx,axi-vdma-mm2s-channel"

l_.str.5:                               ; @.str.5
	.asciz	"xlnx,axi-dma-mm2s-channel"

l_.str.6:                               ; @.str.6
	.asciz	"xlnx,axi-cdma-channel"

	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_XILINX_DMA_MM2S_CTRL_OFFSET,4,2 ; @XILINX_DMA_MM2S_CTRL_OFFSET
	.comm	_XDMA_TYPE_VDMA,8,3             ; @XDMA_TYPE_VDMA
	.comm	_XILINX_VDMA_MM2S_DESC_OFFSET,4,2 ; @XILINX_VDMA_MM2S_DESC_OFFSET
	.comm	_XILINX_DMA_FLUSH_BOTH,8,3      ; @XILINX_DMA_FLUSH_BOTH
	.comm	_XILINX_DMA_FLUSH_MM2S,8,3      ; @XILINX_DMA_FLUSH_MM2S
l_.str.7:                               ; @.str.7
	.asciz	"xlnx,axi-vdma-s2mm-channel"

l_.str.8:                               ; @.str.8
	.asciz	"xlnx,axi-dma-s2mm-channel"

	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
l_.str.9:                               ; @.str.9
	.asciz	"xlnx,enable-vert-flip"

	.comm	_XILINX_VDMA_REG_ENABLE_VERTICAL_FLIP,4,2 ; @XILINX_VDMA_REG_ENABLE_VERTICAL_FLIP
	.comm	_XILINX_VDMA_ENABLE_VERTICAL_FLIP,4,2 ; @XILINX_VDMA_ENABLE_VERTICAL_FLIP
	.comm	_XILINX_DMA_S2MM_CTRL_OFFSET,4,2 ; @XILINX_DMA_S2MM_CTRL_OFFSET
	.comm	_XILINX_VDMA_S2MM_DESC_OFFSET,4,2 ; @XILINX_VDMA_S2MM_DESC_OFFSET
	.comm	_XILINX_DMA_FLUSH_S2MM,8,3      ; @XILINX_DMA_FLUSH_S2MM
l_.str.10:                              ; @.str.10
	.asciz	"Invalid channel compatible node\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_xilinx_dma_irq_handler,4,2     ; @xilinx_dma_irq_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.11:                              ; @.str.11
	.asciz	"xilinx-dma-controller"

l_.str.12:                              ; @.str.12
	.asciz	"unable to request IRQ %d\n"

	.comm	_XDMA_TYPE_AXIDMA,8,3           ; @XDMA_TYPE_AXIDMA
	.comm	_xilinx_dma_start_transfer,4,2  ; @xilinx_dma_start_transfer
	.comm	_xilinx_dma_stop_transfer,8,3   ; @xilinx_dma_stop_transfer
	.comm	_XDMA_TYPE_CDMA,8,3             ; @XDMA_TYPE_CDMA
	.comm	_xilinx_cdma_start_transfer,4,2 ; @xilinx_cdma_start_transfer
	.comm	_xilinx_cdma_stop_transfer,8,3  ; @xilinx_cdma_stop_transfer
	.comm	_xilinx_vdma_start_transfer,4,2 ; @xilinx_vdma_start_transfer
	.comm	_XILINX_DMA_REG_DMASR,4,2       ; @XILINX_DMA_REG_DMASR
	.comm	_XILINX_DMA_DMASR_SG_MASK,4,2   ; @XILINX_DMA_DMASR_SG_MASK
l_.str.13:                              ; @.str.13
	.asciz	"ch %d: SG %s\n"

l_.str.14:                              ; @.str.14
	.asciz	"enabled"

l_.str.15:                              ; @.str.15
	.asciz	"disabled"

	.comm	_xilinx_dma_do_tasklet,4,2      ; @xilinx_dma_do_tasklet
l_.str.16:                              ; @.str.16
	.asciz	"Reset channel failed\n"

	.no_dead_strip	_xilinx_dma_chan_probe
.subsections_via_symbols
