	.file	"extr_st_sensors_i2c.c_st_sensors_i2c_configure.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to register i2c regmap (%d)\n"
	.text
	.p2align 4
	.globl	st_sensors_i2c_configure
	.type	st_sensors_i2c_configure, @function
st_sensors_i2c_configure:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	lea	r12, 4[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	iio_priv@PLT
	lea	rsi, st_sensors_i2c_regmap_multiread_bit_config[rip]
	mov	rdi, rbp
	mov	rbx, rax
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR [rax], 0
	lea	rax, st_sensors_i2c_regmap_config[rip]
	cmove	rsi, rax
	call	devm_regmap_init_i2c@PLT
	mov	DWORD PTR 16[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L7
	mov	rsi, r13
	mov	rdi, rbp
	call	i2c_set_clientdata@PLT
	mov	eax, DWORD PTR 8[rbp]
	mov	QWORD PTR 8[r13], r12
	mov	DWORD PTR 0[r13], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	QWORD PTR 8[rbx], r12
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbx]
	call	PTR_ERR@PLT
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	dev_err@PLT
	mov	edi, DWORD PTR 16[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	st_sensors_i2c_configure, .-st_sensors_i2c_configure
	.comm	st_sensors_i2c_regmap_multiread_bit_config,4,4
	.comm	st_sensors_i2c_regmap_config,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_st_sensors_i2c.c_st_sensors_i2c_configure.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to register i2c regmap (%d)\012\000"
	.text
	.align	2
	.global	st_sensors_i2c_configure
	.syntax unified
	.arm
	.fpu softvfp
	.type	st_sensors_i2c_configure, %function
st_sensors_i2c_configure:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r0
	bl	iio_priv
	ldr	r3, [r0, #12]
	ldr	r2, .L8
	ldr	r1, [r3]
	ldr	r3, .L8+4
	cmp	r1, #0
	movne	r1, r2
	moveq	r1, r3
	mov	r4, r0
	mov	r0, r5
	bl	devm_regmap_init_i2c
	str	r0, [r4, #8]
	bl	IS_ERR
	subs	r7, r0, #0
	add	r8, r5, #4
	bne	.L7
	mov	r1, r6
	mov	r0, r5
	bl	i2c_set_clientdata
	ldr	r2, [r5, #8]
	ldr	r3, [r5]
	mov	r0, r7
	str	r8, [r6, #4]
	str	r2, [r6]
	stm	r4, {r3, r8}
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, [r4, #8]
	bl	PTR_ERR
	ldr	r1, .L8+8
	mov	r2, r0
	mov	r0, r8
	bl	dev_err
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L9:
	.align	2
.L8:
	.word	st_sensors_i2c_regmap_multiread_bit_config
	.word	st_sensors_i2c_regmap_config
	.word	.LC0
	.size	st_sensors_i2c_configure, .-st_sensors_i2c_configure
	.comm	st_sensors_i2c_regmap_multiread_bit_config,4,4
	.comm	st_sensors_i2c_regmap_config,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
