	.file	"extr_abp060mg.c_abp060mg_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	abp060mg_probe, @function
abp060mg_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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR [rsi]
	mov	esi, 16
	call	devm_iio_device_alloc@PLT
	test	rax, rax
	je	.L8
	mov	rdi, rax
	mov	rbp, rax
	call	iio_priv@PLT
	mov	rdi, r12
	mov	rbx, rax
	mov	rsi, rax
	call	i2c_set_clientdata@PLT
	mov	QWORD PTR 8[rbx], r12
	mov	edi, DWORD PTR 4[r12]
	mov	esi, DWORD PTR I2C_FUNC_SMBUS_QUICK[rip]
	call	i2c_check_functionality@PLT
	test	eax, eax
	jne	.L4
	mov	DWORD PTR [rbx], 1
.L4:
	mov	rsi, r13
	mov	rdi, rbp
	call	abp060mg_init_device@PLT
	mov	QWORD PTR 24[rbp], r12
	mov	rdi, r12
	call	dev_name@PLT
	mov	edi, DWORD PTR abp060mg_channels[rip]
	mov	DWORD PTR 20[rbp], eax
	mov	eax, DWORD PTR INDIO_DIRECT_MODE[rip]
	mov	DWORD PTR 4[rbp], edi
	mov	DWORD PTR 16[rbp], eax
	lea	rax, abp060mg_info[rip]
	mov	QWORD PTR 8[rbp], rax
	call	ARRAY_SIZE@PLT
	lea	rdi, 4[rbx]
	mov	DWORD PTR 0[rbp], eax
	call	mutex_init@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	devm_iio_device_register@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	abp060mg_probe, .-abp060mg_probe
	.comm	abp060mg_info,4,4
	.comm	abp060mg_channels,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	I2C_FUNC_SMBUS_QUICK,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_abp060mg.c_abp060mg_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	abp060mg_probe, %function
abp060mg_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, r7, r8, lr}
	mov	r1, #12
	mov	r5, r0
	ldr	r7, [r3]
	bl	devm_iio_device_alloc
	subs	r4, r0, #0
	beq	.L8
	bl	iio_priv
	mov	r6, r0
	mov	r0, r5
	mov	r1, r6
	bl	i2c_set_clientdata
	ldr	r3, .L9
	ldr	r0, [r5, #4]
	ldr	r1, [r3]
	str	r5, [r6, #8]
	bl	i2c_check_functionality
	cmp	r0, #0
	moveq	r3, #1
	mov	r1, r7
	streq	r3, [r6]
	mov	r0, r4
	bl	abp060mg_init_device
	mov	r0, r5
	str	r5, [r4, #20]
	bl	dev_name
	ldr	r2, .L9+4
	ldr	r3, .L9+8
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L9+12
	str	r1, [r4, #12]
	str	r0, [r4, #16]
	str	r3, [r4, #4]
	str	r2, [r4, #8]
	mov	r0, r3
	bl	ARRAY_SIZE
	mov	r3, r0
	add	r0, r6, #4
	str	r3, [r4]
	bl	mutex_init
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	devm_iio_device_register
.L8:
	ldr	r3, .L9+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	I2C_FUNC_SMBUS_QUICK
	.word	INDIO_DIRECT_MODE
	.word	abp060mg_channels
	.word	abp060mg_info
	.word	ENOMEM
	.size	abp060mg_probe, .-abp060mg_probe
	.comm	abp060mg_info,4,4
	.comm	abp060mg_channels,4,4
	.comm	INDIO_DIRECT_MODE,4,4
	.comm	I2C_FUNC_SMBUS_QUICK,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
