	.file	"extr_ti-dac5571.c_dac5571_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vref"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"failed to initialize channel %d to 0\n"
	.text
	.p2align 4
	.type	dac5571_probe, @function
dac5571_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	esi, 40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	devm_iio_device_alloc@PLT
	test	rax, rax
	je	.L17
	mov	rbp, rax
	mov	rdi, rax
	call	iio_priv@PLT
	mov	rsi, rbp
	mov	rdi, r13
	mov	rbx, rax
	call	i2c_set_clientdata@PLT
	mov	eax, DWORD PTR 0[r13]
	mov	QWORD PTR 32[rbx], r13
	mov	rdi, r13
	mov	rdx, QWORD PTR [r12]
	mov	QWORD PTR 32[rbp], r13
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 24[rbp], eax
	lea	rax, dac5571_info[rip]
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR 8[r12]
	mov	DWORD PTR 12[rbp], eax
	mov	eax, DWORD PTR INDIO_DIRECT_MODE[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR dac5571_channels[rip]
	mov	DWORD PTR 4[rbp], eax
	mov	rax, QWORD PTR dac5571_spec[rip]
	lea	r14, [rax+rdx*4]
	mov	eax, DWORD PTR [r14]
	mov	DWORD PTR 0[rbp], eax
	mov	QWORD PTR 24[rbx], r14
	call	devm_regulator_get@PLT
	mov	DWORD PTR 8[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	mov	edi, DWORD PTR 8[rbx]
	test	rax, rax
	jne	.L18
	call	regulator_enable@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	lea	rdi, 16[rbx]
	call	mutex_init@PLT
	mov	eax, DWORD PTR [r14]
	cmp	eax, 1
	je	.L5
	cmp	eax, 4
	jne	.L7
	mov	rax, QWORD PTR dac5571_cmd_quad@GOTPCREL[rip]
	mov	edx, DWORD PTR dac5571_pwrdwn_quad[rip]
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR 12[rbx], edx
.L8:
	xor	r15d, r15d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	add	r15d, 1
	cmp	DWORD PTR [r14], r15d
	jle	.L19
	mov	rax, QWORD PTR [rbx]
.L11:
	xor	edx, edx
	mov	esi, r15d
	mov	rdi, rbx
	call	rax
	mov	r12d, eax
	test	eax, eax
	je	.L9
	mov	edx, r15d
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	dev_err@PLT
.L7:
	mov	edi, DWORD PTR 8[rbx]
	call	regulator_disable@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR dac5571_cmd_single@GOTPCREL[rip]
	mov	edx, DWORD PTR dac5571_pwrdwn_single[rip]
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR 12[rbx], edx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, rbp
	call	iio_device_register@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	dac5571_probe, .-dac5571_probe
	.comm	dac5571_spec,8,8
	.comm	dac5571_pwrdwn_single,4,4
	.comm	dac5571_pwrdwn_quad,4,4
	.comm	dac5571_info,4,4
	.comm	dac5571_channels,4,4
	.comm	INDIO_DIRECT_MODE,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_ti-dac5571.c_dac5571_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vref\000"
	.align	2
.LC1:
	.ascii	"failed to initialize channel %d to 0\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dac5571_probe, %function
dac5571_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	mov	r1, #24
	mov	r7, r0
	bl	devm_iio_device_alloc
	subs	r5, r0, #0
	beq	.L17
	bl	iio_priv
	mov	r6, r0
	mov	r1, r5
	mov	r0, r7
	bl	i2c_set_clientdata
	ldr	r3, .L20
	ldr	r10, [r4]
	ldr	r9, [r3]
	ldr	r1, .L20+4
	ldr	r3, .L20+8
	ldr	r2, [r4, #4]
	ldr	lr, [r9, r10, lsl #2]
	ldr	ip, [r1]
	ldr	r0, [r3]
	ldr	r1, [r7]
	ldr	r3, .L20+12
	add	r8, r9, r10, lsl #2
	str	r7, [r6, #20]
	stmib	r5, {r0, ip}
	str	lr, [r5]
	str	r1, [r5, #20]
	str	r2, [r5, #12]
	str	r3, [r5, #16]
	ldr	r1, .L20+16
	str	r7, [r5, #24]
	mov	r0, r7
	str	r8, [r6, #16]
	bl	devm_regulator_get
	str	r0, [r6, #4]
	bl	IS_ERR
	subs	fp, r0, #0
	ldr	r0, [r6, #4]
	bne	.L18
	bl	regulator_enable
	subs	r4, r0, #0
	blt	.L1
	add	r0, r6, #12
	bl	mutex_init
	ldr	r3, [r9, r10, lsl #2]
	cmp	r3, #1
	beq	.L5
	cmp	r3, #4
	bne	.L7
	ldr	r2, .L20+20
	ldr	r3, .L20+24
	ldr	r2, [r2]
	str	r3, [r6]
	str	r2, [r6, #8]
	b	.L11
.L9:
	ldr	r3, [r8]
	add	fp, fp, #1
	cmp	r3, fp
	ble	.L19
	ldr	r3, [r6]
.L11:
	mov	r2, #0
	mov	r1, fp
	mov	r0, r6
	blx	r3
	subs	r4, r0, #0
	beq	.L9
	mov	r2, fp
	mov	r0, r7
	ldr	r1, .L20+28
	bl	dev_err
.L7:
	ldr	r0, [r6, #4]
	bl	regulator_disable
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	PTR_ERR
.L17:
	ldr	r3, .L20+32
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r2, .L20+36
	ldr	r3, .L20+40
	ldr	r2, [r2]
	str	r3, [r6]
	str	r2, [r6, #8]
	b	.L11
.L19:
	mov	r0, r5
	bl	iio_device_register
	subs	r4, r0, #0
	beq	.L1
	b	.L7
.L21:
	.align	2
.L20:
	.word	dac5571_spec
	.word	INDIO_DIRECT_MODE
	.word	dac5571_channels
	.word	dac5571_info
	.word	.LC0
	.word	dac5571_pwrdwn_quad
	.word	dac5571_cmd_quad
	.word	.LC1
	.word	ENOMEM
	.word	dac5571_pwrdwn_single
	.word	dac5571_cmd_single
	.size	dac5571_probe, .-dac5571_probe
	.comm	dac5571_spec,4,4
	.comm	dac5571_pwrdwn_single,4,4
	.comm	dac5571_pwrdwn_quad,4,4
	.comm	dac5571_info,4,4
	.comm	dac5571_channels,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
