	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function k3_dma_probe
_k3_dma_probe:                          ## @k3_dma_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$136, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_27
## %bb.2:
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_device_get_match_data
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 112(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	112(%r14), %rdi
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_8:
	movq	_k3_pdma_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_of_property_read_u32
	movl	(%r15), %edi
	leaq	4(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_of_property_read_u32
	movl	(%r15), %edi
	leaq	8(%r14), %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
	movl	$-1, (%rbx)
LBB0_11:
	movq	_K3_FLAG_NOCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_20
LBB0_12:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	movq	_k3_dma_int_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DRIVER_NAME@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_devm_request_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.13:
	movl	%ebx, 12(%r14)
	movl	(%r12), %edi
	movq	_LLI_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	movq	%r15, %rsi
	movl	$32, %ecx
	xorl	%r8d, %r8d
	callq	_dmam_pool_create
	movl	%eax, 128(%r14)
	testl	%eax, %eax
	je	LBB0_31
## %bb.14:
	movl	(%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_devm_kcalloc
	movq	%rax, 120(%r14)
	testq	%rax, %rax
	je	LBB0_27
## %bb.15:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	jle	LBB0_22
## %bb.16:
	movl	$2, %r12d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	addq	$64, %r13
	addq	$4, %r12
	cmpq	%rax, %rbx
	jge	LBB0_22
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r14), %r15d
	movl	%ebx, %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	120(%r14), %rax
	movl	%ebx, -8(%rax,%r12,4)
	movl	%r13d, %ecx
	andl	$-64, %ecx
	addq	112(%r14), %rcx
	movq	%rcx, (%rax,%r12,4)
	jmp	LBB0_17
LBB0_20:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.21:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	16(%r14), %rdi
	jmp	LBB0_5
LBB0_22:
	leaq	84(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	80(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_MEMCPY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	80(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_CYCLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	80(%r14), %esi
	callq	_dma_cap_set
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, 72(%r14)
	movq	_k3_dma_free_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r14)
	movq	_k3_dma_tx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_k3_dma_prep_memcpy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_k3_dma_prep_slave_sg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_k3_dma_prep_dma_cyclic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_k3_dma_issue_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_k3_dma_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_k3_dma_transfer_pause@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_k3_dma_transfer_resume@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_k3_dma_terminate_all@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_k3_dma_synchronize@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_DMAENGINE_ALIGN_8_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	4(%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$12, %edx
	callq	_devm_kcalloc
	movq	%rax, 104(%r14)
	testq	%rax, %rax
	je	LBB0_27
## %bb.23:
	movq	%rax, %rbx
	leaq	24(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, 4(%r14)
	jle	LBB0_32
## %bb.24:
	movl	$1, %r15d
	xorl	%r12d, %r12d
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	_DMA_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%rbx,%r12), %r13
	movl	%eax, 8(%rbx,%r12)
	leaq	(%rbx,%r12), %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	movq	_k3_dma_free_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx,%r12)
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_vchan_init
	movslq	4(%r14), %rax
	cmpq	%rax, %r15
	jge	LBB0_32
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	104(%r14), %rbx
	addq	$12, %r12
	incq	%r15
	jmp	LBB0_25
LBB0_27:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_28:
	xorl	%r13d, %r13d
LBB0_29:
	subl	(%rax), %r13d
LBB0_30:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_32:
	movq	16(%r14), %rdi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_37
## %bb.33:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_k3_dma_enable_dma
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dma_async_device_register
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_36
## %bb.34:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	movq	_k3_of_dma_simple_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_of_dma_controller_register
	testl	%eax, %eax
	je	LBB0_38
## %bb.35:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_dma_async_device_unregister
LBB0_36:
	movq	16(%r14), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_30
LBB0_37:
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_30
LBB0_38:
	leaq	96(%r14), %rdi
	callq	_spin_lock_init
	leaq	92(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	addq	$88, %rdi
	movq	_k3_dma_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_tasklet_init
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_info
	xorl	%r13d, %r13d
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_k3_pdma_dt_ids,4,2             ## @k3_pdma_dt_ids
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dma-channels"

L_.str.1:                               ## @.str.1
	.asciz	"dma-requests"

L_.str.2:                               ## @.str.2
	.asciz	"dma-channel-mask"

L_.str.3:                               ## @.str.3
	.asciz	"dma-channel-mask doesn't exist, considering all as available.\n"

	.comm	_K3_FLAG_NOCLK,4,2              ## @K3_FLAG_NOCLK
L_.str.4:                               ## @.str.4
	.asciz	"no dma clk\n"

	.comm	_k3_dma_int_handler,4,2         ## @k3_dma_int_handler
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.comm	_LLI_BLOCK_SIZE,4,2             ## @LLI_BLOCK_SIZE
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_DMA_MEMCPY,4,2                 ## @DMA_MEMCPY
	.comm	_DMA_CYCLIC,4,2                 ## @DMA_CYCLIC
	.comm	_k3_dma_free_chan_resources,4,2 ## @k3_dma_free_chan_resources
	.comm	_k3_dma_tx_status,4,2           ## @k3_dma_tx_status
	.comm	_k3_dma_prep_memcpy,4,2         ## @k3_dma_prep_memcpy
	.comm	_k3_dma_prep_slave_sg,4,2       ## @k3_dma_prep_slave_sg
	.comm	_k3_dma_prep_dma_cyclic,4,2     ## @k3_dma_prep_dma_cyclic
	.comm	_k3_dma_issue_pending,4,2       ## @k3_dma_issue_pending
	.comm	_k3_dma_config,4,2              ## @k3_dma_config
	.comm	_k3_dma_transfer_pause,4,2      ## @k3_dma_transfer_pause
	.comm	_k3_dma_transfer_resume,4,2     ## @k3_dma_transfer_resume
	.comm	_k3_dma_terminate_all,4,2       ## @k3_dma_terminate_all
	.comm	_k3_dma_synchronize,4,2         ## @k3_dma_synchronize
	.comm	_DMAENGINE_ALIGN_8_BYTES,4,2    ## @DMAENGINE_ALIGN_8_BYTES
	.comm	_DMA_IN_PROGRESS,4,2            ## @DMA_IN_PROGRESS
	.comm	_k3_dma_free_desc,4,2           ## @k3_dma_free_desc
L_.str.5:                               ## @.str.5
	.asciz	"clk_prepare_enable failed: %d\n"

	.comm	_k3_of_dma_simple_xlate,4,2     ## @k3_of_dma_simple_xlate
	.comm	_k3_dma_tasklet,4,2             ## @k3_dma_tasklet
L_.str.6:                               ## @.str.6
	.asciz	"initialized\n"

	.no_dead_strip	_k3_dma_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function k3_dma_probe
_k3_dma_probe:                          ; @k3_dma_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #136
	bl	_devm_kzalloc
	cbz	x0, LBB0_31
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_device_get_match_data
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	bl	_devm_ioremap_resource
	str	x0, [x20, #112]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x0, [x20, #112]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_6:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_32
LBB0_7:
Lloh7:
	adrp	x8, _k3_pdma_dt_ids@GOTPAGE
Lloh8:
	ldr	x8, [x8, _k3_pdma_dt_ids@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_of_property_read_u32
	ldr	w0, [x19]
	add	x2, x20, #4
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_property_read_u32
	ldr	w0, [x19]
	add	x22, x20, #8
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_of_property_read_u32
	cbz	w0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	mov	w8, #-1
	str	w8, [x22]
LBB0_10:
	ldr	w8, [x21]
Lloh18:
	adrp	x9, _K3_FLAG_NOCLK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _K3_FLAG_NOCLK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
LBB0_11:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
Lloh21:
	adrp	x8, _k3_dma_int_handler@GOTPAGE
Lloh22:
	ldr	x8, [x8, _k3_dma_int_handler@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x24, _DRIVER_NAME@GOTPAGE
Lloh25:
	ldr	x24, [x24, _DRIVER_NAME@GOTPAGEOFF]
	ldr	w4, [x24]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	mov	x22, x0
	cbnz	w0, LBB0_33
; %bb.12:
	str	w21, [x20, #12]
	ldr	w0, [x24]
Lloh26:
	adrp	x8, _LLI_BLOCK_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LLI_BLOCK_SIZE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x1, x19
	mov	w3, #32
	mov	w4, #0
	bl	_dmam_pool_create
	str	w0, [x20, #128]
	cbz	w0, LBB0_31
; %bb.13:
	ldr	w1, [x20]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kcalloc
	str	x0, [x20, #120]
	cbz	x0, LBB0_31
; %bb.14:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.15:
	mov	x22, #0
	mov	x24, #0
	mov	x21, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x24, x24, #64
	add	x22, x22, #16
	cmp	x21, x8
	b.ge	LBB0_21
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w25, [x20, #8]
	mov	x0, x21
	bl	_BIT
	tst	w0, w25
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldp	x9, x8, [x20, #112]
	add	x8, x8, x22
	str	w21, [x8]
	and	x10, x24, #0xffffffc0
	add	x9, x9, x10
	str	x9, [x8, #8]
	b	LBB0_16
LBB0_19:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.20:
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #16]
	b	LBB0_5
LBB0_21:
	add	x0, x20, #84
	bl	_INIT_LIST_HEAD
Lloh31:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	w1, [x20, #80]
	bl	_dma_cap_set
Lloh34:
	adrp	x8, _DMA_MEMCPY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DMA_MEMCPY@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	w1, [x20, #80]
	bl	_dma_cap_set
Lloh37:
	adrp	x8, _DMA_CYCLIC@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DMA_CYCLIC@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	w1, [x20, #80]
	bl	_dma_cap_set
	str	x19, [x20, #72]
Lloh40:
	adrp	x8, _k3_dma_free_chan_resources@GOTPAGE
Lloh41:
	ldr	x8, [x8, _k3_dma_free_chan_resources@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	w8, [x20, #68]
Lloh43:
	adrp	x8, _k3_dma_tx_status@GOTPAGE
Lloh44:
	ldr	x8, [x8, _k3_dma_tx_status@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _k3_dma_prep_memcpy@GOTPAGE
Lloh47:
	ldr	x9, [x9, _k3_dma_prep_memcpy@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #60]
Lloh49:
	adrp	x8, _k3_dma_prep_slave_sg@GOTPAGE
Lloh50:
	ldr	x8, [x8, _k3_dma_prep_slave_sg@GOTPAGEOFF]
Lloh51:
	adrp	x9, _k3_dma_prep_dma_cyclic@GOTPAGE
Lloh52:
	ldr	x9, [x9, _k3_dma_prep_dma_cyclic@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #52]
Lloh55:
	adrp	x8, _k3_dma_issue_pending@GOTPAGE
Lloh56:
	ldr	x8, [x8, _k3_dma_issue_pending@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
Lloh58:
	adrp	x9, _k3_dma_config@GOTPAGE
Lloh59:
	ldr	x9, [x9, _k3_dma_config@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #44]
Lloh61:
	adrp	x8, _k3_dma_transfer_pause@GOTPAGE
Lloh62:
	ldr	x8, [x8, _k3_dma_transfer_pause@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _DMAENGINE_ALIGN_8_BYTES@GOTPAGE
Lloh65:
	ldr	x9, [x9, _DMAENGINE_ALIGN_8_BYTES@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	mov	x21, x20
	str	w9, [x21, #24]!
Lloh67:
	adrp	x9, _k3_dma_transfer_resume@GOTPAGE
Lloh68:
	ldr	x9, [x9, _k3_dma_transfer_resume@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #36]
Lloh70:
	adrp	x8, _k3_dma_terminate_all@GOTPAGE
Lloh71:
	ldr	x8, [x8, _k3_dma_terminate_all@GOTPAGEOFF]
Lloh72:
	adrp	x9, _k3_dma_synchronize@GOTPAGE
Lloh73:
	ldr	x9, [x9, _k3_dma_synchronize@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
Lloh75:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #28]
	ldur	w1, [x21, #-20]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #12
	bl	_devm_kcalloc
	str	x0, [x21, #80]
	cbz	x0, LBB0_31
; %bb.22:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.23:
	mov	x22, x0
Lloh76:
	adrp	x23, _DMA_IN_PROGRESS@GOTPAGE
Lloh77:
	ldr	x23, [x23, _DMA_IN_PROGRESS@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [x0, #8]
	add	x0, x0, #4
	bl	_INIT_LIST_HEAD
Lloh78:
	adrp	x24, _k3_dma_free_desc@GOTPAGE
Lloh79:
	ldr	x24, [x24, _k3_dma_free_desc@GOTPAGEOFF]
	ldr	w8, [x24]
	str	w8, [x22]
	mov	x0, x22
	mov	x1, x21
	bl	_vchan_init
	ldr	w8, [x20, #4]
	cmp	w8, #2
	b.lt	LBB0_26
; %bb.24:
	mov	x25, #0
	mov	w26, #1
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #104]
	ldr	w9, [x23]
	add	x22, x8, x25
	str	w9, [x22, #20]
	add	x0, x22, #16
	bl	_INIT_LIST_HEAD
	ldr	w8, [x24]
	str	w8, [x22, #12]!
	mov	x0, x22
	mov	x1, x21
	bl	_vchan_init
	add	x26, x26, #1
	ldrsw	x8, [x20, #4]
	add	x25, x25, #12
	cmp	x26, x8
	b.lt	LBB0_25
LBB0_26:
	ldr	x0, [x20, #16]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_34
; %bb.27:
	mov	x0, x20
	mov	w1, #1
	bl	_k3_dma_enable_dma
	mov	x0, x21
	bl	_dma_async_device_register
	mov	x22, x0
	cbnz	w0, LBB0_30
; %bb.28:
	ldr	w0, [x19]
Lloh80:
	adrp	x8, _k3_of_dma_simple_xlate@GOTPAGE
Lloh81:
	ldr	x8, [x8, _k3_of_dma_simple_xlate@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_of_dma_controller_register
	mov	x22, x0
	cbz	w0, LBB0_35
; %bb.29:
	mov	x0, x21
	bl	_dma_async_device_unregister
LBB0_30:
	ldr	x0, [x20, #16]
	bl	_clk_disable_unprepare
	b	LBB0_33
LBB0_31:
Lloh83:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh84:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_32:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_33:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_34:
	mov	x22, x0
	str	x22, [sp]
Lloh85:
	adrp	x1, l_.str.5@PAGE
Lloh86:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_33
LBB0_35:
	add	x0, x20, #96
	bl	_spin_lock_init
	add	x0, x20, #92
	bl	_INIT_LIST_HEAD
	add	x0, x20, #88
Lloh87:
	adrp	x8, _k3_dma_tasklet@GOTPAGE
Lloh88:
	ldr	x8, [x8, _k3_dma_tasklet@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_tasklet_init
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh90:
	adrp	x1, l_.str.6@PAGE
Lloh91:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_33
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh74
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh53
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_k3_pdma_dt_ids,4,2             ; @k3_pdma_dt_ids
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dma-channels"

l_.str.1:                               ; @.str.1
	.asciz	"dma-requests"

l_.str.2:                               ; @.str.2
	.asciz	"dma-channel-mask"

l_.str.3:                               ; @.str.3
	.asciz	"dma-channel-mask doesn't exist, considering all as available.\n"

	.comm	_K3_FLAG_NOCLK,4,2              ; @K3_FLAG_NOCLK
l_.str.4:                               ; @.str.4
	.asciz	"no dma clk\n"

	.comm	_k3_dma_int_handler,4,2         ; @k3_dma_int_handler
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.comm	_LLI_BLOCK_SIZE,4,2             ; @LLI_BLOCK_SIZE
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_DMA_MEMCPY,4,2                 ; @DMA_MEMCPY
	.comm	_DMA_CYCLIC,4,2                 ; @DMA_CYCLIC
	.comm	_k3_dma_free_chan_resources,4,2 ; @k3_dma_free_chan_resources
	.comm	_k3_dma_tx_status,4,2           ; @k3_dma_tx_status
	.comm	_k3_dma_prep_memcpy,4,2         ; @k3_dma_prep_memcpy
	.comm	_k3_dma_prep_slave_sg,4,2       ; @k3_dma_prep_slave_sg
	.comm	_k3_dma_prep_dma_cyclic,4,2     ; @k3_dma_prep_dma_cyclic
	.comm	_k3_dma_issue_pending,4,2       ; @k3_dma_issue_pending
	.comm	_k3_dma_config,4,2              ; @k3_dma_config
	.comm	_k3_dma_transfer_pause,4,2      ; @k3_dma_transfer_pause
	.comm	_k3_dma_transfer_resume,4,2     ; @k3_dma_transfer_resume
	.comm	_k3_dma_terminate_all,4,2       ; @k3_dma_terminate_all
	.comm	_k3_dma_synchronize,4,2         ; @k3_dma_synchronize
	.comm	_DMAENGINE_ALIGN_8_BYTES,4,2    ; @DMAENGINE_ALIGN_8_BYTES
	.comm	_DMA_IN_PROGRESS,4,2            ; @DMA_IN_PROGRESS
	.comm	_k3_dma_free_desc,4,2           ; @k3_dma_free_desc
l_.str.5:                               ; @.str.5
	.asciz	"clk_prepare_enable failed: %d\n"

	.comm	_k3_of_dma_simple_xlate,4,2     ; @k3_of_dma_simple_xlate
	.comm	_k3_dma_tasklet,4,2             ; @k3_dma_tasklet
l_.str.6:                               ; @.str.6
	.asciz	"initialized\n"

	.no_dead_strip	_k3_dma_probe
.subsections_via_symbols
