	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_dma_chan_probe
_zynqmp_dma_chan_probe:                 ## @zynqmp_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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %r12
	movq	16(%rdi), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	movq	16(%r15), %rax
	movq	%rax, 88(%r13)
	movq	%r15, 80(%r13)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 76(%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	76(%r13), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ZYNQMP_DMA_BUS_WIDTH_64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movq	_ZYNQMP_DMA_AWLEN_RST_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r13)
	movq	_ZYNQMP_DMA_ARLEN_RST_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r13)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	movq	(%r13), %rax
	movq	_ZYNQMP_DMA_BUS_WIDTH_64@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.9:
	movq	_ZYNQMP_DMA_BUS_WIDTH_128@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.10:
	movq	16(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_of_property_read_bool
	movl	%eax, 64(%r13)
	movq	%r13, 8(%r15)
	leaq	60(%r13), %rdi
	movq	_zynqmp_dma_do_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	callq	_tasklet_init
	leaq	56(%r13), %rdi
	callq	_spin_lock_init
	leaq	52(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	48(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	44(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	40(%r13), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r13, %rbx
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_dma_cookie_init
	movq	%r15, 32(%r13)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
	movq	%r13, %rdi
	callq	_zynqmp_dma_init
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	js	LBB0_15
## %bb.13:
	movq	_zynqmp_dma_irq_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.4(%rip), %r8
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	movq	%r13, %r9
	callq	_devm_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.14:
	movabsq	$4294967300, %rax               ## imm = 0x100000004
	movq	%rax, 16(%r13)
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_15:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_ZYNQMP_DMA_BUS_WIDTH_64,8,3    ## @ZYNQMP_DMA_BUS_WIDTH_64
	.comm	_ZYNQMP_DMA_AWLEN_RST_VAL,4,2   ## @ZYNQMP_DMA_AWLEN_RST_VAL
	.comm	_ZYNQMP_DMA_ARLEN_RST_VAL,4,2   ## @ZYNQMP_DMA_ARLEN_RST_VAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xlnx,bus-width"

L_.str.1:                               ## @.str.1
	.asciz	"missing xlnx,bus-width property\n"

	.comm	_ZYNQMP_DMA_BUS_WIDTH_128,8,3   ## @ZYNQMP_DMA_BUS_WIDTH_128
L_.str.2:                               ## @.str.2
	.asciz	"invalid bus-width value"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"dma-coherent"

	.comm	_zynqmp_dma_do_tasklet,4,2      ## @zynqmp_dma_do_tasklet
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_zynqmp_dma_irq_handler,4,2     ## @zynqmp_dma_irq_handler
L_.str.4:                               ## @.str.4
	.asciz	"zynqmp-dma"

	.no_dead_strip	_zynqmp_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 zynqmp_dma_chan_probe
lCPI0_0:
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_zynqmp_dma_chan_probe:                 ; @zynqmp_dma_chan_probe
	.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	x20, x1
	mov	x21, x0
	ldr	x22, [x1]
	ldr	x0, [x0, #16]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21, #16]
	stp	x21, x8, [x0, #80]
Lloh3:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #76]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x19, #76]
	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
	b	_PTR_ERR
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_5:
	mov	x0, x23
	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
LBB0_6:
Lloh8:
	adrp	x24, _ZYNQMP_DMA_BUS_WIDTH_64@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ZYNQMP_DMA_BUS_WIDTH_64@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [x19]
Lloh10:
	adrp	x8, _ZYNQMP_DMA_AWLEN_RST_VAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZYNQMP_DMA_AWLEN_RST_VAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _ZYNQMP_DMA_ARLEN_RST_VAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ZYNQMP_DMA_ARLEN_RST_VAL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #68]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_of_property_read_u32
	tbnz	w0, #31, LBB0_11
; %bb.7:
	ldr	x8, [x19]
	ldr	x9, [x24]
Lloh18:
	adrp	x10, _ZYNQMP_DMA_BUS_WIDTH_128@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ZYNQMP_DMA_BUS_WIDTH_128@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.8:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
	str	w0, [x19, #64]
	str	x19, [x21, #8]
	add	x0, x19, #60
Lloh23:
	adrp	x8, _zynqmp_dma_do_tasklet@GOTPAGE
Lloh24:
	ldr	x8, [x8, _zynqmp_dma_do_tasklet@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tasklet_init
	add	x0, x19, #56
	bl	_spin_lock_init
	add	x0, x19, #52
	bl	_INIT_LIST_HEAD
	add	x0, x19, #48
	bl	_INIT_LIST_HEAD
	add	x0, x19, #44
	bl	_INIT_LIST_HEAD
	add	x0, x19, #40
	bl	_INIT_LIST_HEAD
	add	x22, x19, #24
	mov	x0, x22
	bl	_dma_cookie_init
	str	x21, [x19, #32]
	mov	x0, x22
	mov	x1, x21
	bl	_list_add_tail
	mov	x0, x19
	bl	_zynqmp_dma_init
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x19, #8]
	tbnz	x0, #63, LBB0_13
; %bb.9:
	mov	x1, x0
Lloh26:
	adrp	x8, _zynqmp_dma_irq_handler@GOTPAGE
Lloh27:
	ldr	x8, [x8, _zynqmp_dma_irq_handler@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x4, l_.str.4@PAGE
Lloh30:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	mov	x23, x0
	cbnz	w0, LBB0_5
; %bb.10:
Lloh31:
	adrp	x8, lCPI0_0@PAGE
Lloh32:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #16]
	b	LBB0_5
LBB0_11:
	mov	x23, x0
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_5
LBB0_12:
	ldr	x0, [x21, #16]
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh37:
	adrp	x8, _EINVAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
Lloh39:
	adrp	x8, _ENXIO@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdr	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_ZYNQMP_DMA_BUS_WIDTH_64,8,3    ; @ZYNQMP_DMA_BUS_WIDTH_64
	.comm	_ZYNQMP_DMA_AWLEN_RST_VAL,4,2   ; @ZYNQMP_DMA_AWLEN_RST_VAL
	.comm	_ZYNQMP_DMA_ARLEN_RST_VAL,4,2   ; @ZYNQMP_DMA_ARLEN_RST_VAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xlnx,bus-width"

l_.str.1:                               ; @.str.1
	.asciz	"missing xlnx,bus-width property\n"

	.comm	_ZYNQMP_DMA_BUS_WIDTH_128,8,3   ; @ZYNQMP_DMA_BUS_WIDTH_128
l_.str.2:                               ; @.str.2
	.asciz	"invalid bus-width value"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"dma-coherent"

	.comm	_zynqmp_dma_do_tasklet,4,2      ; @zynqmp_dma_do_tasklet
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_zynqmp_dma_irq_handler,4,2     ; @zynqmp_dma_irq_handler
l_.str.4:                               ; @.str.4
	.asciz	"zynqmp-dma"

	.no_dead_strip	_zynqmp_dma_chan_probe
.subsections_via_symbols
