	.file	"extr_stm32_rproc.c_stm32_rproc_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stm32_rproc_probe, @function
stm32_rproc_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	r13, QWORD PTR [rdi]
	mov	edi, 32
	call	DMA_BIT_MASK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	dma_coerce_mask_and_coherent@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR 0[r13]
	mov	r8d, 4
	xor	ecx, ecx
	mov	rdi, rbp
	lea	rdx, st_rproc_ops[rip]
	call	rproc_alloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r13, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	DWORD PTR [rax], 0
	mov	rsi, rax
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	mov	rdi, rbp
	call	stm32_rproc_parse_dt@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L11
.L4:
	mov	rdi, r13
	call	rproc_free@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, r13
	call	stm32_rproc_request_mbox@PLT
	mov	rdi, r13
	call	rproc_add@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	rdi, r13
	call	stm32_rproc_free_mbox@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	stm32_rproc_probe, .-stm32_rproc_probe
	.comm	st_rproc_ops,4,4
	.comm	ENOMEM,4,4
	.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_stm32_rproc.c_stm32_rproc_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stm32_rproc_probe, %function
stm32_rproc_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	sub	sp, sp, #8
	mov	r0, #32
	ldr	r6, [r5]
	bl	DMA_BIT_MASK
	mov	r1, r0
	mov	r0, r5
	bl	dma_coerce_mask_and_coherent
	subs	r4, r0, #0
	beq	.L10
.L1:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	mov	r2, #4
	ldr	r1, [r6]
	mov	r3, r4
	str	r2, [sp]
	mov	r0, r5
	ldr	r2, .L13
	bl	rproc_alloc
	subs	r6, r0, #0
	beq	.L11
	mov	r1, r6
	str	r4, [r6]
	mov	r0, r5
	bl	platform_set_drvdata
	mov	r0, r5
	bl	stm32_rproc_parse_dt
	subs	r4, r0, #0
	beq	.L12
.L4:
	mov	r0, r6
	bl	rproc_free
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r6
	bl	stm32_rproc_request_mbox
	mov	r0, r6
	bl	rproc_add
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r6
	bl	stm32_rproc_free_mbox
	b	.L4
.L11:
	ldr	r3, .L13+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	st_rproc_ops
	.word	ENOMEM
	.size	stm32_rproc_probe, .-stm32_rproc_probe
	.comm	st_rproc_ops,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
