	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_edma_probe
_fsl_edma_probe:                        ## @fsl_edma_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_fsl_edma_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:
	movq	(%r13), %r12
	leaq	L_.str.1(%rip), %rsi
	leaq	-84(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	subl	(%rax), %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.8:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-84(%rbp), %eax
	leal	(%rax,%rax,4), %eax
	leal	176(,%rax,8), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %r14
	movq	%r15, 8(%rax)
	movl	-84(%rbp), %eax
	movl	%eax, (%r14)
	leaq	168(%r14), %rdi
	callq	_mutex_init
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 160(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	160(%r14), %rdi
LBB0_12:
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_14:
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_fsl_edma_setup_regs
	cmpq	$0, 16(%r15)
	je	LBB0_19
## %bb.15:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 136(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	136(%r14), %rdi
	jmp	LBB0_12
LBB0_17:
	movq	136(%r14), %rdi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_4
LBB0_19:
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_26
## %bb.20:
	leaq	128(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	120(%r14), %r15
	xorl	%ebx, %ebx
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%r14), %rax
	movslq	(%rax), %rax
	movq	%r12, %rbx
	cmpq	%rax, %r12
	jge	LBB0_26
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	1(%rbx), %r12
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_platform_get_resource
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%rdx), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %r14
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	callq	_sprintf
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %r15
	callq	_devm_clk_get
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_33
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	movq	-112(%rbp), %r14                ## 8-byte Reload
	je	LBB0_21
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_fsl_disable_clocks
	jmp	LBB0_21
LBB0_26:
	leaq	L_.str.8(%rip), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_of_property_read_bool
	movl	%eax, 112(%r14)
	leaq	16(%r14), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	addq	$100, %rdi
	callq	_INIT_LIST_HEAD
	cmpl	$0, (%r14)
	movq	%r14, %r15
	jle	LBB0_29
## %bb.27:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	104(%r15), %rax
	leaq	(%rax,%r12), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, 32(%rax,%r12)
	movq	_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax,%r12)
	movq	$0, 16(%rax,%r12)
	movl	$1, (%rax,%r12)
	movq	_DMA_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax,%r12)
	movq	_fsl_edma_free_desc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	(%rax,%r12), %rdi
	addq	$4, %rdi
	movl	%ecx, 4(%rax,%r12)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_vchan_init
	movq	152(%r15), %rdx
	addq	%rbx, %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_edma_writew
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_fsl_edma_chan_mux
	incq	%r14
	movslq	(%r15), %rax
	addq	$40, %r12
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_28
LBB0_29:
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movl	148(%r15), %edx
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_edma_writel
	movq	8(%r15), %rax
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	*8(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.30:
	movq	%r15, %r14
	movq	_DMA_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	96(%r15), %esi
	callq	_dma_cap_set
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	96(%r15), %esi
	callq	_dma_cap_set
	movq	_DMA_CYCLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	96(%r15), %esi
	callq	_dma_cap_set
	movq	%r13, 88(%r15)
	movq	_fsl_edma_alloc_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r15)
	movq	_fsl_edma_free_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r15)
	movq	_fsl_edma_tx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15)
	movq	_fsl_edma_prep_slave_sg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r15)
	movq	_fsl_edma_prep_dma_cyclic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	movq	_fsl_edma_slave_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r15)
	movq	_fsl_edma_pause@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_fsl_edma_resume@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r15)
	movq	_fsl_edma_terminate_all@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_fsl_edma_synchronize@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	_fsl_edma_issue_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_FSL_EDMA_BUSWIDTHS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	movq	%rax, 24(%r15)
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, 16(%r15)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movq	%r12, %r15
	movq	%r12, %rdi
	callq	_dma_async_device_register
	testl	%eax, %eax
	je	LBB0_35
## %bb.31:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_37
LBB0_32:
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_33:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	-112(%rbp), %r14                ## 8-byte Reload
LBB0_34:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_fsl_disable_clocks
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	jmp	LBB0_12
LBB0_35:
	movq	_fsl_edma_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_of_dma_controller_register
	testl	%eax, %eax
	je	LBB0_38
## %bb.36:
	movl	%eax, %ebx
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r15, %rdi
	callq	_dma_async_device_unregister
LBB0_37:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fsl_disable_clocks
	jmp	LBB0_7
LBB0_38:
	movq	_EDMA_CR_ERGA@GOTPCREL(%rip), %rax
	movq	_EDMA_CR_ERCA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	144(%r14), %edx
	movq	%r14, %rdi
	callq	_edma_writel
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_fsl_edma_dt_ids,4,2            ## @fsl_edma_dt_ids
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to find driver data\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"Can't get dma-channels.\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.3:                               ## @.str.3
	.asciz	"dma"

L_.str.4:                               ## @.str.4
	.asciz	"Missing DMA block clock.\n"

L_.str.5:                               ## @.str.5
	.asciz	"DMA clk block failed.\n"

L_.str.6:                               ## @.str.6
	.asciz	"dmamux%d"

L_.str.7:                               ## @.str.7
	.asciz	"Missing DMAMUX block clock.\n"

L_.str.8:                               ## @.str.8
	.asciz	"big-endian"

	.comm	_RUNNING,4,2                    ## @RUNNING
	.comm	_DMA_NONE,4,2                   ## @DMA_NONE
	.comm	_fsl_edma_free_desc,4,2         ## @fsl_edma_free_desc
	.comm	_DMA_PRIVATE,4,2                ## @DMA_PRIVATE
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_DMA_CYCLIC,4,2                 ## @DMA_CYCLIC
	.comm	_fsl_edma_alloc_chan_resources,4,2 ## @fsl_edma_alloc_chan_resources
	.comm	_fsl_edma_free_chan_resources,4,2 ## @fsl_edma_free_chan_resources
	.comm	_fsl_edma_tx_status,4,2         ## @fsl_edma_tx_status
	.comm	_fsl_edma_prep_slave_sg,4,2     ## @fsl_edma_prep_slave_sg
	.comm	_fsl_edma_prep_dma_cyclic,4,2   ## @fsl_edma_prep_dma_cyclic
	.comm	_fsl_edma_slave_config,4,2      ## @fsl_edma_slave_config
	.comm	_fsl_edma_pause,4,2             ## @fsl_edma_pause
	.comm	_fsl_edma_resume,4,2            ## @fsl_edma_resume
	.comm	_fsl_edma_terminate_all,4,2     ## @fsl_edma_terminate_all
	.comm	_fsl_edma_synchronize,4,2       ## @fsl_edma_synchronize
	.comm	_fsl_edma_issue_pending,4,2     ## @fsl_edma_issue_pending
	.comm	_FSL_EDMA_BUSWIDTHS,8,3         ## @FSL_EDMA_BUSWIDTHS
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
L_.str.9:                               ## @.str.9
	.asciz	"Can't register Freescale eDMA engine. (%d)\n"

	.comm	_fsl_edma_xlate,4,2             ## @fsl_edma_xlate
L_.str.10:                              ## @.str.10
	.asciz	"Can't register Freescale eDMA of_dma. (%d)\n"

	.comm	_EDMA_CR_ERGA,4,2               ## @EDMA_CR_ERGA
	.comm	_EDMA_CR_ERCA,4,2               ## @EDMA_CR_ERCA
	.no_dead_strip	_fsl_edma_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_edma_probe
_fsl_edma_probe:                        ; @fsl_edma_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _fsl_edma_dt_ids@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fsl_edma_dt_ids@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x22, [x0]
	cbz	x22, LBB0_5
; %bb.2:
	ldr	x21, [x19]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #20
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	w0, LBB0_9
; %bb.3:
	mov	x23, x0
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_7:
	ldr	x8, [sp, #56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.8:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_9:
	ldr	w8, [sp, #20]
	mov	w9, #40
	mul	w8, w8, w9
	add	w1, w8, #176
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.10:
	mov	x20, x0
	str	x22, [x0, #8]
	ldr	w8, [sp, #20]
	str	w8, [x0], #168
	bl	_mutex_init
Lloh20:
	adrp	x25, _IORESOURCE_MEM@GOTPAGE
Lloh21:
	ldr	x25, [x25, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #160]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.11:
	ldr	x0, [x20, #160]
LBB0_12:
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_7
LBB0_13:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_14:
	mov	x0, x20
	bl	_fsl_edma_setup_regs
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_19
; %bb.15:
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #136]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.16:
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #136]
	b	LBB0_12
LBB0_17:
	ldr	x0, [x20, #136]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_19
; %bb.18:
	mov	x23, x0
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_19:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.20:
	mov	x22, #0
	add	x27, x20, #128
	add	x26, x20, #120
Lloh30:
	adrp	x23, l_.str.6@PAGE
Lloh31:
	add	x23, x23, l_.str.6@PAGEOFF
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x20, #8]
	ldrsw	x8, [x8]
	mov	x22, x24
	cmp	x24, x8
	b.ge	LBB0_26
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	add	x24, x22, #1
	mov	x0, x19
	mov	x2, x24
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	ldr	x8, [x27]
	lsl	x28, x22, #3
	str	x0, [x8, x28]
	ldr	x8, [x27]
	ldr	x0, [x8, x28]
	bl	_IS_ERR
	cbnz	x0, LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x0, sp, #24
	mov	x1, x23
	mov	x2, x22
	bl	_sprintf
	add	x1, sp, #24
	mov	x0, x19
	bl	_devm_clk_get
	ldr	x8, [x26]
	str	x0, [x8, x28]
	ldr	x8, [x26]
	ldr	x0, [x8, x28]
	bl	_IS_ERR
	cbnz	x0, LBB0_33
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x26]
	ldr	x0, [x8, x22, lsl #3]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_fsl_disable_clocks
	b	LBB0_21
LBB0_26:
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	str	w0, [x20, #112]
	add	x28, x20, #16
	add	x0, x20, #100
	bl	_INIT_LIST_HEAD
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.27:
	mov	x24, #0
	mov	x25, #0
	mov	x26, #0
Lloh34:
	adrp	x22, _DMA_NONE@GOTPAGE
Lloh35:
	ldr	x22, [x22, _DMA_NONE@GOTPAGEOFF]
Lloh36:
	adrp	x27, _fsl_edma_free_desc@GOTPAGE
Lloh37:
	ldr	x27, [x27, _fsl_edma_free_desc@GOTPAGEOFF]
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #104]
	add	x23, x8, x25
	str	x20, [x23, #32]
Lloh38:
	adrp	x8, _RUNNING@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RUNNING@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x23, #24]
	str	xzr, [x23, #16]
	mov	w8, #1
	str	w8, [x23]
	ldr	w8, [x22]
	str	w8, [x23, #8]
	ldr	w8, [x27]
	mov	x0, x23
	str	w8, [x0, #4]!
	mov	x1, x28
	bl	_vchan_init
	ldr	x8, [x20, #152]
	add	x2, x8, x24
	mov	x0, x20
	mov	w1, #0
	bl	_edma_writew
	mov	x0, x23
	mov	w1, #0
	mov	w2, #0
	bl	_fsl_edma_chan_mux
	add	x26, x26, #1
	ldrsw	x8, [x20]
	add	x25, x25, #40
	add	x24, x24, #4
	cmp	x26, x8
	b.lt	LBB0_28
LBB0_29:
	ldr	w2, [x20, #148]
	mov	x0, x20
	mov	w1, #-1
	bl	_edma_writel
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x23, x0
	cbnz	w0, LBB0_7
; %bb.30:
Lloh41:
	adrp	x8, _DMA_PRIVATE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DMA_PRIVATE@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ldr	w1, [x20, #96]
	bl	_dma_cap_set
Lloh44:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldr	w1, [x20, #96]
	bl	_dma_cap_set
Lloh47:
	adrp	x8, _DMA_CYCLIC@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DMA_CYCLIC@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	ldr	w1, [x20, #96]
	bl	_dma_cap_set
	str	x19, [x20, #88]
Lloh50:
	adrp	x8, _fsl_edma_alloc_chan_resources@GOTPAGE
Lloh51:
	ldr	x8, [x8, _fsl_edma_alloc_chan_resources@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	str	w8, [x20, #80]
Lloh53:
	adrp	x8, _fsl_edma_free_chan_resources@GOTPAGE
Lloh54:
	ldr	x8, [x8, _fsl_edma_free_chan_resources@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _fsl_edma_tx_status@GOTPAGE
Lloh57:
	ldr	x9, [x9, _fsl_edma_tx_status@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #72]
Lloh59:
	adrp	x8, _fsl_edma_prep_slave_sg@GOTPAGE
Lloh60:
	ldr	x8, [x8, _fsl_edma_prep_slave_sg@GOTPAGEOFF]
Lloh61:
	adrp	x9, _fsl_edma_prep_dma_cyclic@GOTPAGE
Lloh62:
	ldr	x9, [x9, _fsl_edma_prep_dma_cyclic@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #64]
Lloh65:
	adrp	x8, _fsl_edma_slave_config@GOTPAGE
Lloh66:
	ldr	x8, [x8, _fsl_edma_slave_config@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x9, _fsl_edma_pause@GOTPAGE
Lloh69:
	ldr	x9, [x9, _fsl_edma_pause@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #56]
Lloh71:
	adrp	x8, _fsl_edma_resume@GOTPAGE
Lloh72:
	ldr	x8, [x8, _fsl_edma_resume@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
Lloh74:
	adrp	x9, _fsl_edma_terminate_all@GOTPAGE
Lloh75:
	ldr	x9, [x9, _fsl_edma_terminate_all@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
Lloh77:
	adrp	x8, _fsl_edma_synchronize@GOTPAGE
Lloh78:
	ldr	x8, [x8, _fsl_edma_synchronize@GOTPAGEOFF]
Lloh79:
	adrp	x9, _fsl_edma_issue_pending@GOTPAGE
Lloh80:
	ldr	x9, [x9, _fsl_edma_issue_pending@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
Lloh82:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #40]
Lloh83:
	adrp	x8, _FSL_EDMA_BUSWIDTHS@GOTPAGE
Lloh84:
	ldr	x8, [x8, _FSL_EDMA_BUSWIDTHS@GOTPAGEOFF]
Lloh85:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #24]
Lloh86:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh87:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh88:
	ldr	w0, [x8]
	bl	_BIT
	mov	x23, x0
Lloh89:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh90:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w0, w23
	str	w8, [x20, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x28
	bl	_dma_async_device_register
	cbz	w0, LBB0_35
; %bb.31:
	mov	x23, x0
	str	x23, [sp]
Lloh92:
	adrp	x1, l_.str.9@PAGE
Lloh93:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_fsl_disable_clocks
	b	LBB0_7
LBB0_32:
	mov	x26, x27
	b	LBB0_34
LBB0_33:
Lloh94:
	adrp	x1, l_.str.7@PAGE
Lloh95:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_34:
	mov	x0, x20
	mov	x1, x22
	bl	_fsl_disable_clocks
	ldr	x8, [x26]
	ldr	x0, [x8, x22, lsl #3]
	b	LBB0_12
LBB0_35:
Lloh96:
	adrp	x8, _fsl_edma_xlate@GOTPAGE
Lloh97:
	ldr	x8, [x8, _fsl_edma_xlate@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	bl	_of_dma_controller_register
	mov	x23, x0
	cbz	w0, LBB0_37
; %bb.36:
	str	x23, [sp]
Lloh99:
	adrp	x1, l_.str.10@PAGE
Lloh100:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x28
	bl	_dma_async_device_unregister
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_fsl_disable_clocks
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_7
LBB0_37:
Lloh101:
	adrp	x8, _EDMA_CR_ERGA@GOTPAGE
Lloh102:
	ldr	x8, [x8, _EDMA_CR_ERGA@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
Lloh104:
	adrp	x9, _EDMA_CR_ERCA@GOTPAGE
Lloh105:
	ldr	x9, [x9, _EDMA_CR_ERCA@GOTPAGEOFF]
Lloh106:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w2, [x20, #144]
	mov	x0, x20
	bl	_edma_writel
	b	LBB0_7
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh81
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh63
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.cfi_endproc
                                        ; -- End function
	.comm	_fsl_edma_dt_ids,4,2            ; @fsl_edma_dt_ids
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to find driver data\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"Can't get dma-channels.\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.3:                               ; @.str.3
	.asciz	"dma"

l_.str.4:                               ; @.str.4
	.asciz	"Missing DMA block clock.\n"

l_.str.5:                               ; @.str.5
	.asciz	"DMA clk block failed.\n"

l_.str.6:                               ; @.str.6
	.asciz	"dmamux%d"

l_.str.7:                               ; @.str.7
	.asciz	"Missing DMAMUX block clock.\n"

l_.str.8:                               ; @.str.8
	.asciz	"big-endian"

	.comm	_RUNNING,4,2                    ; @RUNNING
	.comm	_DMA_NONE,4,2                   ; @DMA_NONE
	.comm	_fsl_edma_free_desc,4,2         ; @fsl_edma_free_desc
	.comm	_DMA_PRIVATE,4,2                ; @DMA_PRIVATE
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_DMA_CYCLIC,4,2                 ; @DMA_CYCLIC
	.comm	_fsl_edma_alloc_chan_resources,4,2 ; @fsl_edma_alloc_chan_resources
	.comm	_fsl_edma_free_chan_resources,4,2 ; @fsl_edma_free_chan_resources
	.comm	_fsl_edma_tx_status,4,2         ; @fsl_edma_tx_status
	.comm	_fsl_edma_prep_slave_sg,4,2     ; @fsl_edma_prep_slave_sg
	.comm	_fsl_edma_prep_dma_cyclic,4,2   ; @fsl_edma_prep_dma_cyclic
	.comm	_fsl_edma_slave_config,4,2      ; @fsl_edma_slave_config
	.comm	_fsl_edma_pause,4,2             ; @fsl_edma_pause
	.comm	_fsl_edma_resume,4,2            ; @fsl_edma_resume
	.comm	_fsl_edma_terminate_all,4,2     ; @fsl_edma_terminate_all
	.comm	_fsl_edma_synchronize,4,2       ; @fsl_edma_synchronize
	.comm	_fsl_edma_issue_pending,4,2     ; @fsl_edma_issue_pending
	.comm	_FSL_EDMA_BUSWIDTHS,8,3         ; @FSL_EDMA_BUSWIDTHS
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
l_.str.9:                               ; @.str.9
	.asciz	"Can't register Freescale eDMA engine. (%d)\n"

	.comm	_fsl_edma_xlate,4,2             ; @fsl_edma_xlate
l_.str.10:                              ; @.str.10
	.asciz	"Can't register Freescale eDMA of_dma. (%d)\n"

	.comm	_EDMA_CR_ERGA,4,2               ; @EDMA_CR_ERGA
	.comm	_EDMA_CR_ERCA,4,2               ; @EDMA_CR_ERCA
	.no_dead_strip	_fsl_edma_probe
.subsections_via_symbols
