	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edma_probe
_edma_probe:                            ## @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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	8(%rdi), %r13
	movq	8(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.5:
	movq	_edma_of_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_EDMA_BINDING_TPCC@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	setne	%r14b
	jmp	LBB0_8
LBB0_1:
	movq	16(%r15), %rbx
	movl	$1, %r14d
	jmp	LBB0_2
LBB0_6:
	movl	$1, %r14d
LBB0_8:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_edma_setup_info_from_dt
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.10:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	callq	_pm_runtime_enable
	movq	%r13, %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask_and_coherent
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_79
## %bb.13:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	movq	%r13, 104(%rax)
	movq	(%r15), %rax
	movq	%rax, (%rcx)
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 8(%rcx)
	testq	%rax, %rax
	jns	LBB0_17
## %bb.16:
	movq	$0, (%rcx)
LBB0_17:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	callq	_platform_get_resource_byname
	testq	%rax, %rax
	jne	LBB0_20
## %bb.18:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_dbg
	movl	(%rbx), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_19
LBB0_20:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 96(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:
	movq	96(%rbx), %rdi
	jmp	LBB0_22
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_79
LBB0_11:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_79:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_edma_setup_from_hw
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_79
## %bb.24:
	movl	12(%rbx), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_14
## %bb.25:
	movq	%rbx, %r14
	movl	16(%rbx), %edi
	callq	_BITS_TO_LONGS
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$8, %edx
	callq	_devm_kcalloc
	movq	%rax, 88(%rbx)
	testq	%rax, %rax
	je	LBB0_14
## %bb.26:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %ecx
	movl	%ecx, 20(%r14)
	movq	32(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_32
## %bb.27:
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_32
## %bb.28:
	movl	(%rbx), %esi
	cmpl	$-1, %esi
	je	LBB0_32
## %bb.29:
	movl	4(%rbx), %edx
	movq	%rax, %rdi
	callq	_bitmap_set
	movl	8(%rbx), %esi
	cmpl	$-1, %esi
	je	LBB0_32
## %bb.30:
	addq	$16, %rbx
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	88(%r14), %rdi
	movl	-4(%rbx), %edx
	callq	_bitmap_set
	movl	(%rbx), %esi
	addq	$8, %rbx
	cmpl	$-1, %esi
	jne	LBB0_31
LBB0_32:
	cmpl	$0, 16(%r14)
	jle	LBB0_37
## %bb.33:
	xorl	%ebx, %ebx
	movq	_dummy_paramset@GOTPCREL(%rip), %r12
	jmp	LBB0_34
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=1
	incl	%ebx
	cmpl	16(%r14), %ebx
	jge	LBB0_37
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	88(%r14), %rsi
	movl	%ebx, %edi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_edma_write_slot
	jmp	LBB0_36
LBB0_19:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_79
LBB0_37:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_platform_get_irq_byname
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_38
## %bb.39:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_41
## %bb.40:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, %ebx
	jmp	LBB0_41
LBB0_38:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_41:
	testl	%ebx, %ebx
	js	LBB0_46
## %bb.42:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_dev_name
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_devm_kasprintf
	movq	_dma_irq_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_45
## %bb.43:
	movl	%eax, %r14d
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	jmp	LBB0_44
LBB0_45:
	movq	%r14, %rcx
	movl	%ebx, 24(%r14)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_46:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_platform_get_irq_byname
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_49
## %bb.47:
	testq	%r12, %r12
	je	LBB0_49
## %bb.48:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, %r15d
LBB0_49:
	testl	%r15d, %r15d
	js	LBB0_53
## %bb.50:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_dev_name
	leaq	L_.str.9(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_devm_kasprintf
	movq	_dma_ccerr_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_52
## %bb.51:
	movl	%eax, %r14d
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
LBB0_44:
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_79
LBB0_52:
	movq	%r14, %rcx
	movl	%r15d, 28(%r14)
LBB0_53:
	movq	_EDMA_SLOT_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_edma_alloc_slot
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	js	LBB0_54
## %bb.55:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rbx
	cmpl	$0, 8(%r14)
	jne	LBB0_64
## %bb.56:
	movl	40(%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_devm_kcalloc
	movq	%rax, 80(%r14)
	testq	%rax, %rax
	je	LBB0_14
## %bb.57:
	leaq	L_.str.12(%rip), %rsi
	xorl	%r15d, %r15d
	leaq	-96(%rbp), %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_of_parse_phandle_with_fixed_args
	testl	%eax, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_58
LBB0_63:
	movq	%rcx, %r14
LBB0_64:
	movl	(%rbx), %esi
	cmpl	$-1, %esi
	je	LBB0_67
## %bb.65:
	addq	$8, %rbx
LBB0_66:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %edx
	movq	%r14, %rdi
	callq	_edma_assign_priority_to_queue
	movl	(%rbx), %esi
	addq	$8, %rbx
	cmpl	$-1, %esi
	jne	LBB0_66
LBB0_67:
	movq	_EDMA_DRAE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_edma_write_array2
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_edma_write_array2
	movq	_EDMA_QRAE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_edma_write_array
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, 72(%r14)
	movq	%r14, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_edma_dma_init
	cmpl	$0, 12(%r14)
	movq	%r14, %r15
	jle	LBB0_70
## %bb.68:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
LBB0_69:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rdi
	addq	%rbx, %rdi
	movl	(%r12), %esi
	callq	_edma_assign_channel_eventq
	movq	64(%r15), %rdi
	addq	%rbx, %rdi
	movl	32(%r15), %esi
	callq	_edma_set_chmap
	incq	%r14
	movslq	12(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_69
LBB0_70:
	movl	28(%r12), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	addq	$44, %rbx
	movl	%eax, 52(%r15)
	movl	24(%r12), %eax
	movl	%eax, 48(%r15)
	movq	_edma_filter_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	%rbx, %rdi
	callq	_dma_async_device_register
	testl	%eax, %eax
	je	LBB0_73
## %bb.71:
	movl	%eax, %r14d
	leaq	L_.str.13(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_72:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	32(%rdi), %esi
	callq	_edma_free_slot
	jmp	LBB0_79
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_54:
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	32(%r14), %r14d
	jmp	LBB0_79
LBB0_73:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_76
## %bb.74:
	callq	_dma_async_device_register
	testl	%eax, %eax
	je	LBB0_76
## %bb.75:
	movl	%eax, %r14d
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_dma_async_device_unregister
	jmp	LBB0_72
LBB0_76:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_78
## %bb.77:
	movq	_of_edma_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_of_dma_controller_register
LBB0_78:
	leaq	L_.str.15(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_info
	xorl	%r14d, %r14d
	jmp	LBB0_79
LBB0_58:
	leaq	L_.str.12(%rip), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_59
LBB0_62:                                ##   in Loop: Header=BB0_59 Depth=1
	incq	%r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	$1, %edx
	movl	%r14d, %ecx
	leaq	-96(%rbp), %r8
	callq	_of_parse_phandle_with_fixed_args
	testl	%eax, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_63
LBB0_59:                                ## =>This Inner Loop Header: Depth=1
	movl	40(%rcx), %eax
	cmpq	%rax, %r14
	je	LBB0_63
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=1
	movl	-88(%rbp), %eax
	movq	80(%rcx), %rcx
	movl	%eax, 4(%rcx,%r14,8)
	movl	%r14d, (%rcx,%r14,8)
	movq	-96(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx,%r14,8)
	cmpl	%r15d, %eax
	jle	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_59 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rcx)
	movl	%eax, %r15d
	jmp	LBB0_62
	.cfi_endproc
                                        ## -- End function
	.comm	_edma_of_ids,4,2                ## @edma_of_ids
	.comm	_EDMA_BINDING_TPCC,8,3          ## @EDMA_BINDING_TPCC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to get DT data\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"pm_runtime_get_sync() failed\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"mem resource not found, using index 0\n"

L_.str.4:                               ## @.str.4
	.asciz	"no mem resource?\n"

	.comm	_dummy_paramset,4,2             ## @dummy_paramset
L_.str.5:                               ## @.str.5
	.asciz	"edma3_ccint"

L_.str.6:                               ## @.str.6
	.asciz	"%s_ccint"

	.comm	_dma_irq_handler,4,2            ## @dma_irq_handler
L_.str.7:                               ## @.str.7
	.asciz	"CCINT (%d) failed --> %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"edma3_ccerrint"

L_.str.9:                               ## @.str.9
	.asciz	"%s_ccerrint"

	.comm	_dma_ccerr_handler,4,2          ## @dma_ccerr_handler
L_.str.10:                              ## @.str.10
	.asciz	"CCERRINT (%d) failed --> %d\n"

	.comm	_EDMA_SLOT_ANY,4,2              ## @EDMA_SLOT_ANY
L_.str.11:                              ## @.str.11
	.asciz	"Can't allocate PaRAM dummy slot\n"

L_.str.12:                              ## @.str.12
	.asciz	"ti,tptcs"

	.comm	_EDMA_DRAE,4,2                  ## @EDMA_DRAE
	.comm	_EDMA_QRAE,4,2                  ## @EDMA_QRAE
	.comm	_edma_filter_fn,4,2             ## @edma_filter_fn
L_.str.13:                              ## @.str.13
	.asciz	"slave ddev registration failed (%d)\n"

L_.str.14:                              ## @.str.14
	.asciz	"memcpy ddev registration failed (%d)\n"

	.comm	_of_edma_xlate,4,2              ## @of_edma_xlate
L_.str.15:                              ## @.str.15
	.asciz	"TI EDMA DMA engine driver\n"

	.no_dead_strip	_edma_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edma_probe
_edma_probe:                            ; @edma_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x0
	mov	x19, x0
	ldr	x20, [x19, #8]!
	cbz	x20, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _edma_of_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _edma_of_ids@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_of_match_node
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EDMA_BINDING_TPCC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EDMA_BINDING_TPCC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w23, ne
	b	LBB0_5
LBB0_3:
	ldr	x22, [x19, #8]
	mov	w23, #1
	b	LBB0_8
LBB0_4:
	mov	w23, #1
LBB0_5:
	mov	x0, x19
	mov	x1, x23
	bl	_edma_setup_info_from_dt
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_PTR_ERR
LBB0_8:
	cbz	x22, LBB0_35
; %bb.9:
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_18
; %bb.10:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_dma_set_mask_and_coherent
	mov	x25, x0
	cbnz	w0, LBB0_37
; %bb.11:
Lloh8:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x19
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_67
; %bb.12:
	mov	x21, x0
	str	x19, [x0, #104]
	ldr	x8, [x24]
	str	x8, [x0]
	str	w23, [x0, #8]
	tbz	x8, #63, LBB0_14
; %bb.13:
	str	xzr, [x21]
LBB0_14:
Lloh10:
	adrp	x25, _IORESOURCE_MEM@GOTPAGE
Lloh11:
	ldr	x25, [x25, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_platform_get_resource_byname
	mov	x1, x0
	cbnz	x0, LBB0_16
; %bb.15:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w1, [x25]
	mov	x0, x24
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	cbz	x0, LBB0_34
LBB0_16:
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x21, #96]
	bl	_IS_ERR
	cbz	x0, LBB0_20
; %bb.17:
	ldr	x0, [x21, #96]
	b	LBB0_7
LBB0_18:
	mov	x25, x0
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_19:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_37
LBB0_20:
	mov	x0, x24
	mov	x1, x21
	bl	_platform_set_drvdata
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_edma_setup_from_hw
	mov	x25, x0
	cbnz	w0, LBB0_37
; %bb.21:
	ldr	w1, [x21, #12]
	ldr	w3, [x27]
	mov	x0, x19
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x21, #64]
	cbz	x0, LBB0_67
; %bb.22:
	ldr	w0, [x21, #16]
	bl	_BITS_TO_LONGS
	mov	x1, x0
	ldr	w3, [x27]
	mov	x0, x19
	mov	w2, #8
	bl	_devm_kcalloc
	str	x0, [x21, #88]
	cbz	x0, LBB0_67
; %bb.23:
	ldr	w8, [x22]
	str	w8, [x21, #20]
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_29
; %bb.24:
	ldr	x25, [x8]
	cbz	x25, LBB0_29
; %bb.25:
	ldr	w1, [x25]
	cmn	w1, #1
	b.eq	LBB0_29
; %bb.26:
	ldr	w2, [x25, #4]
	bl	_bitmap_set
	ldr	w1, [x25, #8]
	cmn	w1, #1
	b.eq	LBB0_29
; %bb.27:
	add	x25, x25, #16
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, #88]
	ldur	w2, [x25, #-4]
	bl	_bitmap_set
	ldr	w1, [x25], #8
	cmn	w1, #1
	b.ne	LBB0_28
LBB0_29:
	ldr	w8, [x21, #16]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.30:
	mov	w25, #0
Lloh18:
	adrp	x26, _dummy_paramset@GOTPAGE
Lloh19:
	ldr	x26, [x26, _dummy_paramset@GOTPAGEOFF]
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	add	w25, w25, #1
	ldr	w8, [x21, #16]
	cmp	w25, w8
	b.ge	LBB0_38
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21, #88]
	mov	x0, x25
	bl	_test_bit
	cbnz	w0, LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x26
	bl	_edma_write_slot
	b	LBB0_31
LBB0_34:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_35:
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_36:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_37:
	mov	x0, x25
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_38:
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x24
	bl	_platform_get_irq_byname
	mov	x26, x0
	tbz	w0, #31, LBB0_41
; %bb.39:
	cbz	x20, LBB0_41
; %bb.40:
	mov	x0, x20
	mov	w1, #0
	bl	_irq_of_parse_and_map
	mov	x26, x0
LBB0_41:
	tbnz	w26, #31, LBB0_45
; %bb.42:
	ldr	w25, [x27]
	mov	x0, x19
	bl	_dev_name
	mov	x3, x0
Lloh26:
	adrp	x2, l_.str.6@PAGE
Lloh27:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x1, x25
	bl	_devm_kasprintf
	mov	x4, x0
Lloh28:
	adrp	x8, _dma_irq_handler@GOTPAGE
Lloh29:
	ldr	x8, [x8, _dma_irq_handler@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x26
	mov	w3, #0
	mov	x5, x21
	bl	_devm_request_irq
	cbz	w0, LBB0_44
; %bb.43:
	mov	x25, x0
	stp	x26, x25, [sp]
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_19
LBB0_44:
	str	w26, [x21, #24]
LBB0_45:
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x24
	bl	_platform_get_irq_byname
	mov	x24, x0
	tbz	w0, #31, LBB0_48
; %bb.46:
	cbz	x20, LBB0_48
; %bb.47:
	mov	x0, x20
	mov	w1, #2
	bl	_irq_of_parse_and_map
	mov	x24, x0
LBB0_48:
	tbnz	w24, #31, LBB0_52
; %bb.49:
	ldr	w25, [x27]
	mov	x0, x19
	bl	_dev_name
	mov	x3, x0
Lloh35:
	adrp	x2, l_.str.9@PAGE
Lloh36:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	x1, x25
	bl	_devm_kasprintf
	mov	x4, x0
Lloh37:
	adrp	x8, _dma_ccerr_handler@GOTPAGE
Lloh38:
	ldr	x8, [x8, _dma_ccerr_handler@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x24
	mov	w3, #0
	mov	x5, x21
	bl	_devm_request_irq
	cbz	w0, LBB0_51
; %bb.50:
	mov	x25, x0
	stp	x24, x25, [sp]
Lloh40:
	adrp	x1, l_.str.10@PAGE
Lloh41:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_37
LBB0_51:
	str	w24, [x21, #28]
LBB0_52:
Lloh42:
	adrp	x8, _EDMA_SLOT_ANY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EDMA_SLOT_ANY@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_edma_alloc_slot
	str	x0, [x21, #32]
	tbnz	x0, #63, LBB0_63
; %bb.53:
	ldr	x26, [x22, #16]
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_64
LBB0_54:
	ldr	w1, [x26]
	cmn	w1, #1
	b.eq	LBB0_57
; %bb.55:
	add	x24, x26, #8
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	ldur	w2, [x24, #-4]
	mov	x0, x21
	bl	_edma_assign_priority_to_queue
	ldr	w1, [x24], #8
	cmn	w1, #1
	b.ne	LBB0_56
LBB0_57:
Lloh45:
	adrp	x24, _EDMA_DRAE@GOTPAGE
Lloh46:
	ldr	x24, [x24, _EDMA_DRAE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_edma_write_array2
	ldr	w1, [x24]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	bl	_edma_write_array2
Lloh47:
	adrp	x8, _EDMA_QRAE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EDMA_QRAE@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_edma_write_array
	str	x22, [x21, #72]
	mov	x0, x21
	mov	x1, x23
	bl	_edma_dma_init
	ldr	w8, [x21, #12]
	cmp	w8, #1
	b.lt	LBB0_60
; %bb.58:
	mov	x23, #0
	mov	x24, #0
LBB0_59:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #64]
	add	x0, x8, x23
	ldr	w1, [x22]
	bl	_edma_assign_channel_eventq
	ldr	x8, [x21, #64]
	add	x0, x8, x23
	ldr	w1, [x21, #32]
	bl	_edma_set_chmap
	add	x24, x24, #1
	ldrsw	x8, [x21, #12]
	add	x23, x23, #4
	cmp	x24, x8
	b.lt	LBB0_59
LBB0_60:
Lloh50:
	adrp	x8, _edma_filter_fn@GOTPAGE
Lloh51:
	ldr	x8, [x8, _edma_filter_fn@GOTPAGEOFF]
	ldr	d0, [x22, #24]
Lloh52:
	ldr	w8, [x8]
	mov	x22, x21
	str	w8, [x22, #44]!
	stur	d0, [x22, #4]
	mov	x0, x22
	bl	_dma_async_device_register
	cbz	w0, LBB0_72
; %bb.61:
	mov	x25, x0
	str	x25, [sp]
Lloh53:
	adrp	x1, l_.str.13@PAGE
Lloh54:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_62:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	ldr	w1, [x21, #32]
	mov	x0, x21
	bl	_edma_free_slot
	b	LBB0_37
LBB0_63:
Lloh55:
	adrp	x1, l_.str.11@PAGE
Lloh56:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w25, [x21, #32]
	b	LBB0_37
LBB0_64:
	ldr	w1, [x21, #40]
	ldr	w3, [x27]
	mov	x0, x19
	mov	w2, #8
	bl	_devm_kcalloc
	str	x0, [x21, #80]
	cbz	x0, LBB0_67
; %bb.65:
Lloh57:
	adrp	x1, l_.str.12@PAGE
Lloh58:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x4, sp, #16
	mov	x0, x20
	mov	w2, #1
	mov	w3, #0
	bl	_of_parse_phandle_with_fixed_args
	cbnz	w0, LBB0_54
; %bb.66:
	mov	x27, #0
	mov	x24, #0
	mov	w25, #0
	add	x28, x26, #4
	b	LBB0_69
LBB0_67:
Lloh59:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_36
LBB0_68:                                ;   in Loop: Header=BB0_69 Depth=1
	add	x24, x24, #1
	add	x4, sp, #16
	mov	x0, x20
Lloh61:
	adrp	x1, l_.str.12@PAGE
Lloh62:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w2, #1
	mov	x3, x24
	bl	_of_parse_phandle_with_fixed_args
	add	x27, x27, #8
	cbnz	w0, LBB0_54
LBB0_69:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #40]
	cmp	x24, x8
	b.eq	LBB0_54
; %bb.70:                               ;   in Loop: Header=BB0_69 Depth=1
	ldr	w8, [sp, #24]
	ldr	x9, [x21, #80]
	add	x9, x9, x27
	stp	w24, w8, [x9]
	ldr	x8, [sp, #16]
	ldr	w8, [x8]
	str	w8, [x28, x27]
	cmp	w8, w25
	b.le	LBB0_68
; %bb.71:                               ;   in Loop: Header=BB0_69 Depth=1
	str	w24, [x22]
	mov	x25, x8
	b	LBB0_68
LBB0_72:
	ldr	x0, [x21, #56]
	cbz	x0, LBB0_75
; %bb.73:
	bl	_dma_async_device_register
	cbz	w0, LBB0_75
; %bb.74:
	mov	x25, x0
	str	x25, [sp]
Lloh63:
	adrp	x1, l_.str.14@PAGE
Lloh64:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
	bl	_dma_async_device_unregister
	b	LBB0_62
LBB0_75:
	cbz	x20, LBB0_77
; %bb.76:
Lloh65:
	adrp	x8, _of_edma_xlate@GOTPAGE
Lloh66:
	ldr	x8, [x8, _of_edma_xlate@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_of_dma_controller_register
LBB0_77:
Lloh68:
	adrp	x1, l_.str.15@PAGE
Lloh69:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w25, #0
	b	LBB0_37
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_edma_of_ids,4,2                ; @edma_of_ids
	.comm	_EDMA_BINDING_TPCC,8,3          ; @EDMA_BINDING_TPCC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to get DT data\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"pm_runtime_get_sync() failed\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"mem resource not found, using index 0\n"

l_.str.4:                               ; @.str.4
	.asciz	"no mem resource?\n"

	.comm	_dummy_paramset,4,2             ; @dummy_paramset
l_.str.5:                               ; @.str.5
	.asciz	"edma3_ccint"

l_.str.6:                               ; @.str.6
	.asciz	"%s_ccint"

	.comm	_dma_irq_handler,4,2            ; @dma_irq_handler
l_.str.7:                               ; @.str.7
	.asciz	"CCINT (%d) failed --> %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"edma3_ccerrint"

l_.str.9:                               ; @.str.9
	.asciz	"%s_ccerrint"

	.comm	_dma_ccerr_handler,4,2          ; @dma_ccerr_handler
l_.str.10:                              ; @.str.10
	.asciz	"CCERRINT (%d) failed --> %d\n"

	.comm	_EDMA_SLOT_ANY,4,2              ; @EDMA_SLOT_ANY
l_.str.11:                              ; @.str.11
	.asciz	"Can't allocate PaRAM dummy slot\n"

l_.str.12:                              ; @.str.12
	.asciz	"ti,tptcs"

	.comm	_EDMA_DRAE,4,2                  ; @EDMA_DRAE
	.comm	_EDMA_QRAE,4,2                  ; @EDMA_QRAE
	.comm	_edma_filter_fn,4,2             ; @edma_filter_fn
l_.str.13:                              ; @.str.13
	.asciz	"slave ddev registration failed (%d)\n"

l_.str.14:                              ; @.str.14
	.asciz	"memcpy ddev registration failed (%d)\n"

	.comm	_of_edma_xlate,4,2              ; @of_edma_xlate
l_.str.15:                              ; @.str.15
	.asciz	"TI EDMA DMA engine driver\n"

	.no_dead_strip	_edma_probe
.subsections_via_symbols
