	.file	"extr_cppi41.c_cppi41_dma_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"controller"
.LC1:
	.string	"reg-names"
.LC2:
	.string	"#dma-channels"
	.text
	.p2align 4
	.type	cppi41_dma_probe, @function
cppi41_dma_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	get_glue_info@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 136
	mov	rdi, r12
	mov	rbx, rax
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	mov	rbp, rax
	neg	r13d
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR 12[rax]
	mov	edi, DWORD PTR DMA_SLAVE[rip]
	call	dma_cap_set@PLT
	mov	eax, DWORD PTR cppi41_dma_alloc_chan_resources[rip]
	mov	edi, DWORD PTR DMA_DEV_TO_MEM[rip]
	mov	DWORD PTR 76[rbp], eax
	mov	eax, DWORD PTR cppi41_dma_free_chan_resources[rip]
	mov	DWORD PTR 72[rbp], eax
	mov	eax, DWORD PTR cppi41_dma_tx_status[rip]
	mov	DWORD PTR 68[rbp], eax
	mov	eax, DWORD PTR cppi41_dma_issue_pending[rip]
	mov	DWORD PTR 64[rbp], eax
	mov	eax, DWORD PTR cppi41_dma_prep_slave_sg[rip]
	mov	DWORD PTR 60[rbp], eax
	mov	eax, DWORD PTR cppi41_stop_chan[rip]
	mov	DWORD PTR 56[rbp], eax
	call	BIT@PLT
	mov	edi, DWORD PTR DMA_MEM_TO_DEV[rip]
	mov	r13d, eax
	call	BIT@PLT
	mov	QWORD PTR 24[rbp], r12
	lea	rdi, 16[rbp]
	or	r13d, eax
	mov	rax, QWORD PTR CPPI41_DMA_BUSWIDTHS[rip]
	mov	DWORD PTR 8[rbp], r13d
	mov	QWORD PTR 48[rbp], rax
	mov	QWORD PTR 40[rbp], rax
	mov	eax, DWORD PTR DMA_RESIDUE_GRANULARITY_BURST[rip]
	mov	DWORD PTR 32[rbp], eax
	call	INIT_LIST_HEAD@PLT
	mov	eax, DWORD PTR 12[rbp]
	mov	edi, DWORD PTR [r12]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	DWORD PTR cpp41_dma_info[rip], eax
	call	of_property_match_string@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	mov	edx, eax
	mov	rdi, r12
	call	platform_get_resource@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	QWORD PTR 128[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	lea	edx, 1[r13]
	mov	rdi, r12
	call	platform_get_resource@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	QWORD PTR 120[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L18
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	lea	edx, 2[r13]
	mov	rdi, r12
	call	platform_get_resource@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	QWORD PTR 112[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L19
	lea	rdi, 108[rbp]
	call	spin_lock_init@PLT
	lea	rdi, 104[rbp]
	call	INIT_LIST_HEAD@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	platform_set_drvdata@PLT
	mov	rdi, r12
	call	pm_runtime_enable@PLT
	mov	esi, 100
	mov	rdi, r12
	call	pm_runtime_set_autosuspend_delay@PLT
	mov	rdi, r12
	call	pm_runtime_use_autosuspend@PLT
	mov	rdi, r12
	call	pm_runtime_get_sync@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L13
	mov	eax, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR [r12]
	lea	rdx, 80[rbp]
	lea	rsi, .LC2[rip]
	mov	DWORD PTR 100[rbp], eax
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 96[rbp], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 92[rbp], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 88[rbp], eax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 84[rbp], eax
	call	of_property_read_u32@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L13
	mov	rsi, rbp
	mov	rdi, r12
	call	init_cppi41@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L9
	mov	rsi, rbp
	mov	rdi, r12
	call	cppi41_add_chans@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L10
	mov	edi, DWORD PTR [r12]
	xor	esi, esi
	call	irq_of_parse_and_map@PLT
	mov	ebx, eax
	test	eax, eax
	jne	.L11
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L10:
	mov	rsi, rbp
	mov	rdi, r12
	call	deinit_cppi41@PLT
.L9:
	mov	rdi, r12
	call	pm_runtime_dont_use_autosuspend@PLT
.L8:
.L13:
	mov	rdi, r12
	call	pm_runtime_put_sync@PLT
	mov	rdi, r12
	call	pm_runtime_disable@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, QWORD PTR 128[rbp]
.L15:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, QWORD PTR 120[rbp]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, QWORD PTR 112[rbp]
	jmp	.L15
.L11:
	mov	rdi, r12
	call	dev_name@PLT
	mov	ecx, DWORD PTR IRQF_SHARED[rip]
	mov	r9, rbp
	mov	esi, ebx
	mov	edx, DWORD PTR cppi41_irq[rip]
	mov	r8d, eax
	mov	rdi, r12
	call	devm_request_irq@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L10
	mov	DWORD PTR 0[rbp], ebx
	lea	r14, 8[rbp]
	mov	rdi, r14
	call	dma_async_device_register@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L10
	mov	esi, DWORD PTR cppi41_dma_xlate[rip]
	mov	edi, DWORD PTR [r12]
	lea	rdx, cpp41_dma_info[rip]
	call	of_dma_controller_register@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L20
	mov	rdi, r12
	call	pm_runtime_mark_last_busy@PLT
	mov	rdi, r12
	call	pm_runtime_put_autosuspend@PLT
	jmp	.L1
.L20:
	mov	rdi, r14
	call	dma_async_device_unregister@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	cppi41_dma_probe, .-cppi41_dma_probe
	.comm	cppi41_stop_chan,4,4
	.comm	cppi41_irq,4,4
	.comm	cppi41_dma_xlate,4,4
	.comm	cppi41_dma_tx_status,4,4
	.comm	cppi41_dma_prep_slave_sg,4,4
	.comm	cppi41_dma_issue_pending,4,4
	.comm	cppi41_dma_free_chan_resources,4,4
	.comm	cppi41_dma_alloc_chan_resources,4,4
	.comm	cpp41_dma_info,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DMA_SLAVE,4,4
	.comm	DMA_RESIDUE_GRANULARITY_BURST,4,4
	.comm	DMA_MEM_TO_DEV,4,4
	.comm	DMA_DEV_TO_MEM,4,4
	.comm	CPPI41_DMA_BUSWIDTHS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cppi41.c_cppi41_dma_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"controller\000"
	.align	2
.LC1:
	.ascii	"reg-names\000"
	.align	2
.LC2:
	.ascii	"#dma-channels\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cppi41_dma_probe, %function
cppi41_dma_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r6, r0
	bl	get_glue_info
	subs	r7, r0, #0
	beq	.L17
	ldr	r3, .L21
	mov	r1, #100
	mov	r0, r6
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L18
	ldr	r3, .L21+4
	ldr	r1, [r4, #8]
	ldr	r0, [r3]
	bl	dma_cap_set
	ldr	ip, .L21+8
	ldr	r0, .L21+12
	ldr	r1, .L21+16
	ldr	r2, .L21+20
	ldr	r3, .L21+24
	ldr	lr, [ip]
	ldr	r3, [r3]
	ldr	ip, [r0]
	ldr	r0, [r1]
	ldr	r1, [r2]
	ldr	r2, .L21+28
	str	r3, [r4, #44]
	ldr	r2, [r2]
	ldr	r3, .L21+32
	str	lr, [r4, #52]
	str	ip, [r4, #48]
	str	r1, [r4, #36]
	str	r2, [r4, #32]
	str	r0, [r4, #40]
	ldr	r0, [r3]
	bl	BIT
	ldr	r3, .L21+36
	mov	r5, r0
	ldr	r0, [r3]
	bl	BIT
	ldr	r3, .L21+40
	ldr	r2, .L21+44
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r5, r5, r0
	str	r5, [r4, #4]
	str	r3, [r4, #28]
	str	r3, [r4, #24]
	str	r2, [r4, #20]
	str	r6, [r4, #16]
	add	r0, r4, #12
	bl	INIT_LIST_HEAD
	ldr	r0, [r4, #8]
	ldr	r3, .L21+48
	ldr	r2, .L21+52
	str	r0, [r3]
	ldr	r1, .L21+56
	ldr	r0, [r6]
	bl	of_property_match_string
	subs	r5, r0, #0
	blt	.L1
	ldr	r8, .L21+60
	mov	r2, r5
	ldr	r1, [r8]
	mov	r0, r6
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r6
	bl	devm_ioremap_resource
	str	r0, [r4, #96]
	bl	IS_ERR
	cmp	r0, #0
	ldrne	r0, [r4, #96]
	bne	.L15
	add	r2, r5, #1
	ldr	r1, [r8]
	mov	r0, r6
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r6
	bl	devm_ioremap_resource
	str	r0, [r4, #92]
	bl	IS_ERR
	cmp	r0, #0
	ldrne	r0, [r4, #92]
	bne	.L15
	add	r2, r5, #2
	ldr	r1, [r8]
	mov	r0, r6
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r6
	bl	devm_ioremap_resource
	str	r0, [r4, #88]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L19
	add	r0, r4, #84
	bl	spin_lock_init
	add	r0, r4, #80
	bl	INIT_LIST_HEAD
	mov	r1, r4
	mov	r0, r6
	bl	platform_set_drvdata
	mov	r0, r6
	bl	pm_runtime_enable
	mov	r1, #100
	mov	r0, r6
	bl	pm_runtime_set_autosuspend_delay
	mov	r0, r6
	bl	pm_runtime_use_autosuspend
	mov	r0, r6
	bl	pm_runtime_get_sync
	subs	r5, r0, #0
	blt	.L13
	ldr	r3, [r7, #16]
	ldr	r0, [r7, #12]
	ldr	r1, [r7, #8]
	ldr	r2, [r7, #4]
	str	r3, [r4, #76]
	ldr	r3, [r7]
	str	r0, [r4, #72]
	str	r1, [r4, #68]
	str	r2, [r4, #64]
	ldr	r1, .L21+64
	ldr	r0, [r6]
	str	r3, [r4, #60]
	add	r2, r4, #56
	bl	of_property_read_u32
	subs	r5, r0, #0
	bne	.L13
	mov	r1, r4
	mov	r0, r6
	bl	init_cppi41
	subs	r5, r0, #0
	bne	.L9
	mov	r1, r4
	mov	r0, r6
	bl	cppi41_add_chans
	subs	r5, r0, #0
	bne	.L10
	mov	r1, #0
	ldr	r0, [r6]
	bl	irq_of_parse_and_map
	subs	r7, r0, #0
	bne	.L11
	ldr	r3, .L21+68
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L10:
	mov	r1, r4
	mov	r0, r6
	bl	deinit_cppi41
.L9:
	mov	r0, r6
	bl	pm_runtime_dont_use_autosuspend
.L8:
.L13:
	mov	r0, r6
	bl	pm_runtime_put_sync
	mov	r0, r6
	bl	pm_runtime_disable
	b	.L1
.L18:
	ldr	r3, .L21+72
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r3, .L21+68
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	ldr	r0, [r4, #88]
.L15:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L11:
	ldr	r2, .L21+76
	ldr	r3, .L21+80
	mov	r0, r6
	ldr	r5, [r2]
	ldr	r8, [r3]
	bl	dev_name
	mov	r2, r5
	stm	sp, {r0, r4}
	mov	r3, r8
	mov	r1, r7
	mov	r0, r6
	bl	devm_request_irq
	subs	r5, r0, #0
	bne	.L10
	mov	r8, r4
	str	r7, [r8], #4
	mov	r0, r8
	bl	dma_async_device_register
	subs	r5, r0, #0
	bne	.L10
	ldr	r3, .L21+84
	ldr	r2, .L21+48
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	of_dma_controller_register
	subs	r5, r0, #0
	bne	.L20
	mov	r0, r6
	bl	pm_runtime_mark_last_busy
	mov	r0, r6
	bl	pm_runtime_put_autosuspend
	b	.L1
.L20:
	mov	r0, r8
	bl	dma_async_device_unregister
	b	.L10
.L22:
	.align	2
.L21:
	.word	GFP_KERNEL
	.word	DMA_SLAVE
	.word	cppi41_dma_alloc_chan_resources
	.word	cppi41_dma_free_chan_resources
	.word	cppi41_dma_issue_pending
	.word	cppi41_dma_prep_slave_sg
	.word	cppi41_dma_tx_status
	.word	cppi41_stop_chan
	.word	DMA_DEV_TO_MEM
	.word	DMA_MEM_TO_DEV
	.word	CPPI41_DMA_BUSWIDTHS
	.word	DMA_RESIDUE_GRANULARITY_BURST
	.word	cpp41_dma_info
	.word	.LC0
	.word	.LC1
	.word	IORESOURCE_MEM
	.word	.LC2
	.word	EINVAL
	.word	ENOMEM
	.word	cppi41_irq
	.word	IRQF_SHARED
	.word	cppi41_dma_xlate
	.size	cppi41_dma_probe, .-cppi41_dma_probe
	.comm	cppi41_stop_chan,4,4
	.comm	cppi41_irq,4,4
	.comm	cppi41_dma_xlate,4,4
	.comm	cppi41_dma_tx_status,4,4
	.comm	cppi41_dma_prep_slave_sg,4,4
	.comm	cppi41_dma_issue_pending,4,4
	.comm	cppi41_dma_free_chan_resources,4,4
	.comm	cppi41_dma_alloc_chan_resources,4,4
	.comm	cpp41_dma_info,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DMA_SLAVE,4,4
	.comm	DMA_RESIDUE_GRANULARITY_BURST,4,4
	.comm	DMA_MEM_TO_DEV,4,4
	.comm	DMA_DEV_TO_MEM,4,4
	.comm	CPPI41_DMA_BUSWIDTHS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
