	.file	"extr_tsc2007_iio.c_tsc2007_iio_configure.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"iio_device_alloc failed\n"
.LC1:
	.string	"tsc2007"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"iio_device_register() failed: %d\n"
	.text
	.p2align 4
	.globl	tsc2007_iio_configure
	.type	tsc2007_iio_configure, @function
tsc2007_iio_configure:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 8
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rdi]
	call	devm_iio_device_alloc@PLT
	test	rax, rax
	je	.L9
	mov	rdi, rax
	mov	rbp, rax
	call	iio_priv@PLT
	mov	edi, DWORD PTR tsc2007_iio_channel[rip]
	mov	QWORD PTR [rax], rbx
	lea	rax, .LC1[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR 12[rbp], edi
	mov	QWORD PTR 32[rbp], rax
	lea	rax, tsc2007_iio_info[rip]
	mov	QWORD PTR 24[rbp], rax
	mov	eax, DWORD PTR INDIO_DIRECT_MODE[rip]
	mov	DWORD PTR 16[rbp], eax
	call	ARRAY_SIZE@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	mov	DWORD PTR 8[rbp], eax
	call	devm_iio_device_register@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.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_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tsc2007_iio_configure, .-tsc2007_iio_configure
	.comm	tsc2007_iio_info,4,4
	.comm	tsc2007_iio_channel,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_tsc2007_iio.c_tsc2007_iio_configure.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"iio_device_alloc failed\012\000"
	.align	2
.LC1:
	.ascii	"tsc2007\000"
	.align	2
.LC2:
	.ascii	"iio_device_register() failed: %d\012\000"
	.text
	.align	2
	.global	tsc2007_iio_configure
	.syntax unified
	.arm
	.fpu softvfp
	.type	tsc2007_iio_configure, %function
tsc2007_iio_configure:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #4
	mov	r5, r0
	ldr	r0, [r0]
	bl	devm_iio_device_alloc
	subs	r4, r0, #0
	beq	.L9
	bl	iio_priv
	ldr	r2, .L11
	ldr	r3, .L11+4
	ldr	r2, [r2]
	ldr	ip, [r5]
	ldr	r3, [r3]
	ldr	r1, .L11+8
	str	r5, [r0]
	str	r2, [r4, #12]
	ldr	r2, .L11+12
	str	ip, [r4, #20]
	str	r3, [r4, #8]
	str	r1, [r4]
	str	r2, [r4, #16]
	mov	r0, r3
	bl	ARRAY_SIZE
	mov	r1, r4
	str	r0, [r4, #4]
	ldr	r0, [r5]
	bl	devm_iio_device_register
	subs	r4, r0, #0
	bne	.L10
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [r5]
	ldr	r1, .L11+16
	bl	dev_err
	ldr	r3, .L11+20
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, .L11+24
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	INDIO_DIRECT_MODE
	.word	tsc2007_iio_channel
	.word	.LC1
	.word	tsc2007_iio_info
	.word	.LC0
	.word	ENOMEM
	.word	.LC2
	.size	tsc2007_iio_configure, .-tsc2007_iio_configure
	.comm	tsc2007_iio_info,4,4
	.comm	tsc2007_iio_channel,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
