	.file	"extr_stm32-dac.c_stm32_dac_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stm32_dac_probe, @function
stm32_dac_probe:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rdi], 0
	je	.L9
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	devm_iio_device_alloc@PLT
	mov	r12, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	r12, r12
	je	.L1
	mov	rsi, r12
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	mov	rdi, r12
	call	iio_priv@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	rbx, rax
	call	dev_get_drvdata@PLT
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	call	dev_name@PLT
	mov	QWORD PTR 24[r12], rbp
	mov	rdi, r12
	mov	DWORD PTR 32[r12], eax
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 16[r12], rax
	lea	rax, stm32_dac_iio_info[rip]
	mov	QWORD PTR 8[r12], rax
	mov	eax, DWORD PTR INDIO_DIRECT_MODE[rip]
	mov	DWORD PTR [r12], eax
	call	stm32_dac_chan_of_init@PLT
	test	eax, eax
	js	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	devm_iio_device_register@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	stm32_dac_probe, .-stm32_dac_probe
	.comm	stm32_dac_iio_info,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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-dac.c_stm32_dac_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stm32_dac_probe, %function
stm32_dac_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L9
	push	{r4, r5, r6, lr}
	mov	r1, #4
	mov	r5, r0
	bl	devm_iio_device_alloc
	subs	r4, r0, #0
	beq	.L10
	mov	r1, r4
	mov	r0, r5
	bl	platform_set_drvdata
	mov	r0, r4
	bl	iio_priv
	mov	r6, r0
	ldr	r0, [r5, #4]
	bl	dev_get_drvdata
	mov	r3, r0
	mov	r0, r5
	str	r3, [r6]
	bl	dev_name
	ldr	r3, .L11
	ldr	r2, [r5]
	ldr	r1, [r3]
	ldr	r3, .L11+4
	str	r0, [r4, #16]
	str	r5, [r4, #12]
	mov	r0, r4
	str	r1, [r4]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	bl	stm32_dac_chan_of_init
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	devm_iio_device_register
.L10:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L12:
	.align	2
.L11:
	.word	INDIO_DIRECT_MODE
	.word	stm32_dac_iio_info
	.word	ENOMEM
	.word	ENODEV
	.size	stm32_dac_probe, .-stm32_dac_probe
	.comm	stm32_dac_iio_info,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
