	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmp_pdma_probe
_mmp_pdma_probe:                        ## @mmp_pdma_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, %r13
	callq	_dev_get_platdata
	movq	%rax, %r12
	movl	$0, -44(%rbp)
	movq	_DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPCREL(%rip), %rax
	movq	_DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_DMA_SLAVE_BUSWIDTH_4_BYTES@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %r14
	movq	%r13, 88(%r15)
	leaq	108(%rax), %rdi
	callq	_spin_lock_init
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	88(%r15), %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 104(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.34:
	movl	104(%r14), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_mmp_pdma_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	88(%r14), %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	88(%r14), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_of_property_read_u32
	movl	-44(%rbp), %eax
	jmp	LBB0_9
LBB0_5:
	testq	%r12, %r12
	je	LBB0_8
## %bb.6:
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, -44(%rbp)
	jmp	LBB0_9
LBB0_8:
	movl	$32, -44(%rbp)
	movl	$32, %eax
LBB0_9:
	movl	%eax, (%r14)
	movl	-44(%rbp), %esi
	testl	%esi, %esi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	jle	LBB0_10
## %bb.11:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_platform_get_irq
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setg	%cl
	addl	%ecx, %r15d
	incl	%ebx
	movl	-44(%rbp), %esi
	cmpl	%esi, %ebx
	jl	LBB0_12
	jmp	LBB0_13
LBB0_10:
	xorl	%r15d, %r15d
LBB0_13:
	movq	88(%r14), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 96(%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	80(%rax), %rdi
	callq	_INIT_LIST_HEAD
	movl	%r15d, %eax
	cmpl	-44(%rbp), %r15d
	je	LBB0_17
## %bb.15:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	88(%r14), %rdi
	movq	_mmp_pdma_int_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.1(%rip), %r8
	movl	%eax, %esi
	movq	%r14, %r9
	callq	_devm_request_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_33
## %bb.16:
	movl	-44(%rbp), %eax
LBB0_17:
	testl	%eax, %eax
	jle	LBB0_25
## %bb.18:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %r15d
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_platform_get_irq
	movq	%rax, %rdx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=1
	xorl	%edx, %edx
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mmp_pdma_chan_init
	testl	%eax, %eax
	jne	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_20 Depth=1
	incl	%ebx
	movl	-44(%rbp), %eax
	cmpl	%eax, %ebx
	jl	LBB0_20
LBB0_25:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addq	$8, %r15
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	76(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_MEMCPY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	76(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_CYCLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	76(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	76(%r14), %esi
	callq	_dma_cap_set
	movq	%r13, 24(%r14)
	movq	_mmp_pdma_alloc_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r14)
	movq	_mmp_pdma_free_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r14)
	movq	_mmp_pdma_tx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_mmp_pdma_prep_memcpy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_mmp_pdma_prep_slave_sg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_mmp_pdma_prep_dma_cyclic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_mmp_pdma_issue_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_mmp_pdma_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_mmp_pdma_terminate_all@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_DMAENGINE_ALIGN_8_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r14)
	movl	%eax, 12(%r14)
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, 16(%r14)
	movq	_DMA_RESIDUE_GRANULARITY_DESCRIPTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	88(%r14), %rbx
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_27
## %bb.26:
	movl	$64, %edi
	callq	_DMA_BIT_MASK
	movq	%rax, %rsi
LBB0_27:
	movq	%rbx, %rdi
	callq	_dma_set_mask
	movq	%r15, %rdi
	callq	_dma_async_device_register
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movl	%eax, %r12d
	movq	24(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_33
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_33:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	%eax, %r12d
	jmp	LBB0_33
LBB0_29:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.30:
	movq	_mmp_pdma_dma_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_of_dma_controller_register
	testl	%eax, %eax
	js	LBB0_31
LBB0_32:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	24(%r14), %rdi
	movl	-44(%rbp), %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_info
	xorl	%r12d, %r12d
	jmp	LBB0_33
LBB0_31:
	movl	%eax, %r12d
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_1_BYTE,4,2  ## @DMA_SLAVE_BUSWIDTH_1_BYTE
	.comm	_DMA_SLAVE_BUSWIDTH_2_BYTES,4,2 ## @DMA_SLAVE_BUSWIDTH_2_BYTES
	.comm	_DMA_SLAVE_BUSWIDTH_4_BYTES,4,2 ## @DMA_SLAVE_BUSWIDTH_4_BYTES
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_mmp_pdma_dt_ids,4,2            ## @mmp_pdma_dt_ids
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#dma-channels"

	.comm	_mmp_pdma_int_handler,4,2       ## @mmp_pdma_int_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.1:                               ## @.str.1
	.asciz	"pdma"

	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_DMA_MEMCPY,4,2                 ## @DMA_MEMCPY
	.comm	_DMA_CYCLIC,4,2                 ## @DMA_CYCLIC
	.comm	_DMA_PRIVATE,4,2                ## @DMA_PRIVATE
	.comm	_mmp_pdma_alloc_chan_resources,4,2 ## @mmp_pdma_alloc_chan_resources
	.comm	_mmp_pdma_free_chan_resources,4,2 ## @mmp_pdma_free_chan_resources
	.comm	_mmp_pdma_tx_status,4,2         ## @mmp_pdma_tx_status
	.comm	_mmp_pdma_prep_memcpy,4,2       ## @mmp_pdma_prep_memcpy
	.comm	_mmp_pdma_prep_slave_sg,4,2     ## @mmp_pdma_prep_slave_sg
	.comm	_mmp_pdma_prep_dma_cyclic,4,2   ## @mmp_pdma_prep_dma_cyclic
	.comm	_mmp_pdma_issue_pending,4,2     ## @mmp_pdma_issue_pending
	.comm	_mmp_pdma_config,4,2            ## @mmp_pdma_config
	.comm	_mmp_pdma_terminate_all,4,2     ## @mmp_pdma_terminate_all
	.comm	_DMAENGINE_ALIGN_8_BYTES,4,2    ## @DMAENGINE_ALIGN_8_BYTES
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_DMA_RESIDUE_GRANULARITY_DESCRIPTOR,4,2 ## @DMA_RESIDUE_GRANULARITY_DESCRIPTOR
L_.str.2:                               ## @.str.2
	.asciz	"unable to register\n"

	.comm	_mmp_pdma_dma_xlate,4,2         ## @mmp_pdma_dma_xlate
L_.str.3:                               ## @.str.3
	.asciz	"of_dma_controller_register failed\n"

L_.str.4:                               ## @.str.4
	.asciz	"initialized %d channels\n"

	.no_dead_strip	_mmp_pdma_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmp_pdma_probe
_mmp_pdma_probe:                        ; @mmp_pdma_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
	bl	_dev_get_platdata
	mov	x21, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x8, _DMA_SLAVE_BUSWIDTH_4_BYTES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_SLAVE_BUSWIDTH_4_BYTES@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
Lloh9:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_28
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #88]
	add	x0, x0, #108
	bl	_spin_lock_init
Lloh11:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	ldr	x0, [x20, #88]
	bl	_devm_ioremap_resource
	str	w0, [x20, #104]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #104]
	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_3:
Lloh14:
	adrp	x8, _mmp_pdma_dt_ids@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mmp_pdma_dt_ids@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x1, [x20, #88]
	bl	_of_match_device
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20, #88]
	ldr	x0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_of_property_read_u32
	ldr	w8, [sp, #12]
	b	LBB0_9
LBB0_5:
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w8, [x21]
	cbnz	w8, LBB0_8
LBB0_7:
	mov	w8, #32
LBB0_8:
	str	w8, [sp, #12]
LBB0_9:
	str	w8, [x20]
	ldr	w1, [sp, #12]
	cmp	w1, #1
	b.lt	LBB0_12
; %bb.10:
	mov	w26, #0
	mov	w21, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_platform_get_irq
	cmp	x0, #0
	cinc	w26, w26, gt
	add	w21, w21, #1
	ldr	w1, [sp, #12]
	cmp	w21, w1
	b.lt	LBB0_11
	b	LBB0_13
LBB0_12:
	mov	w26, #0
LBB0_13:
	ldr	x0, [x20, #88]
	ldr	w3, [x22]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x20, #96]
	cbz	x0, LBB0_28
; %bb.14:
	add	x0, x20, #80
	bl	_INIT_LIST_HEAD
	ldr	w9, [sp, #12]
	mov	x8, x26
	cmp	w26, w9
	b.eq	LBB0_17
; %bb.15:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x1, x0
	ldr	x0, [x20, #88]
Lloh19:
	adrp	x8, _mmp_pdma_int_handler@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mmp_pdma_int_handler@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
Lloh25:
	adrp	x4, l_.str.1@PAGE
Lloh26:
	add	x4, x4, l_.str.1@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x5, x20
	bl	_devm_request_irq
	mov	x21, x0
	cbnz	w0, LBB0_29
; %bb.16:
	ldr	w8, [sp, #12]
LBB0_17:
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.18:
	mov	w22, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	cmp	w26, w8
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_platform_get_irq
	mov	x2, x0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x2, #0
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x20
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_mmp_pdma_chan_init
	cbnz	w0, LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	add	w22, w22, #1
	ldr	w8, [sp, #12]
	cmp	w22, w8
	b.lt	LBB0_19
LBB0_24:
	orr	w8, w24, w23
	orr	w22, w8, w25
	add	x21, x20, #8
Lloh27:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x20, #76]
	bl	_dma_cap_set
Lloh30:
	adrp	x8, _DMA_MEMCPY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DMA_MEMCPY@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldr	w1, [x20, #76]
	bl	_dma_cap_set
Lloh33:
	adrp	x8, _DMA_CYCLIC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DMA_CYCLIC@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	w1, [x20, #76]
	bl	_dma_cap_set
Lloh36:
	adrp	x8, _DMA_PRIVATE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DMA_PRIVATE@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	w1, [x20, #76]
	bl	_dma_cap_set
	str	x19, [x20, #24]
Lloh39:
	adrp	x8, _mmp_pdma_alloc_chan_resources@GOTPAGE
Lloh40:
	ldr	x8, [x8, _mmp_pdma_alloc_chan_resources@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _mmp_pdma_free_chan_resources@GOTPAGE
Lloh43:
	ldr	x9, [x9, _mmp_pdma_free_chan_resources@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x10, _mmp_pdma_tx_status@GOTPAGE
Lloh46:
	ldr	x10, [x10, _mmp_pdma_tx_status@GOTPAGEOFF]
	stp	w9, w8, [x20, #68]
Lloh47:
	ldr	w8, [x10]
Lloh48:
	adrp	x9, _mmp_pdma_prep_memcpy@GOTPAGE
Lloh49:
	ldr	x9, [x9, _mmp_pdma_prep_memcpy@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #60]
Lloh51:
	adrp	x8, _mmp_pdma_prep_slave_sg@GOTPAGE
Lloh52:
	ldr	x8, [x8, _mmp_pdma_prep_slave_sg@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _mmp_pdma_prep_dma_cyclic@GOTPAGE
Lloh55:
	ldr	x9, [x9, _mmp_pdma_prep_dma_cyclic@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #52]
Lloh57:
	adrp	x8, _mmp_pdma_issue_pending@GOTPAGE
Lloh58:
	ldr	x8, [x8, _mmp_pdma_issue_pending@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, _mmp_pdma_config@GOTPAGE
Lloh61:
	ldr	x9, [x9, _mmp_pdma_config@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
Lloh63:
	adrp	x10, _mmp_pdma_terminate_all@GOTPAGE
Lloh64:
	ldr	x10, [x10, _mmp_pdma_terminate_all@GOTPAGEOFF]
	stp	w9, w8, [x20, #44]
Lloh65:
	ldr	w8, [x10]
Lloh66:
	adrp	x9, _DMAENGINE_ALIGN_8_BYTES@GOTPAGE
Lloh67:
	ldr	x9, [x9, _DMAENGINE_ALIGN_8_BYTES@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #36]
	stp	w22, w22, [x20, #8]
Lloh69:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh70:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
Lloh72:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh73:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w0, w22
	str	w8, [x20, #16]
Lloh75:
	adrp	x8, _DMA_RESIDUE_GRANULARITY_DESCRIPTOR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _DMA_RESIDUE_GRANULARITY_DESCRIPTOR@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	ldr	x22, [x20, #88]
	ldr	x1, [x22, #8]
	cbnz	x1, LBB0_26
; %bb.25:
	mov	w0, #64
	bl	_DMA_BIT_MASK
	mov	x1, x0
LBB0_26:
	mov	x0, x22
	bl	_dma_set_mask
	mov	x0, x21
	bl	_dma_async_device_register
	cbz	w0, LBB0_31
; %bb.27:
	mov	x21, x0
	ldr	x0, [x20, #24]
Lloh78:
	adrp	x1, l_.str.2@PAGE
Lloh79:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_29
LBB0_28:
Lloh80:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_29:
	mov	x0, x21
	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_30:
	mov	x21, x0
	b	LBB0_29
LBB0_31:
	ldr	x0, [x19]
	cbz	x0, LBB0_33
; %bb.32:
Lloh83:
	adrp	x8, _mmp_pdma_dma_xlate@GOTPAGE
Lloh84:
	ldr	x8, [x8, _mmp_pdma_dma_xlate@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_of_dma_controller_register
	tbnz	w0, #31, LBB0_34
LBB0_33:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	x0, [x20, #24]
	ldr	w2, [sp, #12]
Lloh86:
	adrp	x1, l_.str.4@PAGE
Lloh87:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_info
	mov	w21, #0
	b	LBB0_29
LBB0_34:
	mov	x21, x0
Lloh88:
	adrp	x1, l_.str.3@PAGE
Lloh89:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_29
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_1_BYTE,4,2  ; @DMA_SLAVE_BUSWIDTH_1_BYTE
	.comm	_DMA_SLAVE_BUSWIDTH_2_BYTES,4,2 ; @DMA_SLAVE_BUSWIDTH_2_BYTES
	.comm	_DMA_SLAVE_BUSWIDTH_4_BYTES,4,2 ; @DMA_SLAVE_BUSWIDTH_4_BYTES
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_mmp_pdma_dt_ids,4,2            ; @mmp_pdma_dt_ids
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#dma-channels"

	.comm	_mmp_pdma_int_handler,4,2       ; @mmp_pdma_int_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.1:                               ; @.str.1
	.asciz	"pdma"

	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_DMA_MEMCPY,4,2                 ; @DMA_MEMCPY
	.comm	_DMA_CYCLIC,4,2                 ; @DMA_CYCLIC
	.comm	_DMA_PRIVATE,4,2                ; @DMA_PRIVATE
	.comm	_mmp_pdma_alloc_chan_resources,4,2 ; @mmp_pdma_alloc_chan_resources
	.comm	_mmp_pdma_free_chan_resources,4,2 ; @mmp_pdma_free_chan_resources
	.comm	_mmp_pdma_tx_status,4,2         ; @mmp_pdma_tx_status
	.comm	_mmp_pdma_prep_memcpy,4,2       ; @mmp_pdma_prep_memcpy
	.comm	_mmp_pdma_prep_slave_sg,4,2     ; @mmp_pdma_prep_slave_sg
	.comm	_mmp_pdma_prep_dma_cyclic,4,2   ; @mmp_pdma_prep_dma_cyclic
	.comm	_mmp_pdma_issue_pending,4,2     ; @mmp_pdma_issue_pending
	.comm	_mmp_pdma_config,4,2            ; @mmp_pdma_config
	.comm	_mmp_pdma_terminate_all,4,2     ; @mmp_pdma_terminate_all
	.comm	_DMAENGINE_ALIGN_8_BYTES,4,2    ; @DMAENGINE_ALIGN_8_BYTES
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_DMA_RESIDUE_GRANULARITY_DESCRIPTOR,4,2 ; @DMA_RESIDUE_GRANULARITY_DESCRIPTOR
l_.str.2:                               ; @.str.2
	.asciz	"unable to register\n"

	.comm	_mmp_pdma_dma_xlate,4,2         ; @mmp_pdma_dma_xlate
l_.str.3:                               ; @.str.3
	.asciz	"of_dma_controller_register failed\n"

l_.str.4:                               ; @.str.4
	.asciz	"initialized %d channels\n"

	.no_dead_strip	_mmp_pdma_probe
.subsections_via_symbols
