	.file	"extr_ina209.c_ina209_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ina209_probe, @function
ina209_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR I2C_FUNC_SMBUS_WORD_DATA[rip]
	call	i2c_check_functionality@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	lea	r14, 4[rbp]
	mov	esi, 16
	mov	rdi, r14
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r13, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rsi, rax
	mov	rdi, rbp
	call	i2c_set_clientdata@PLT
	mov	QWORD PTR 8[r13], rbp
	mov	rdi, r13
	call	mutex_init@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	ina209_init_client@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR ina209_groups[rip]
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r14
	mov	rdx, r13
	call	devm_hwmon_device_register_with_groups@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L1
	mov	rdi, r14
	call	PTR_ERR@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	r12d, eax
	call	ina209_restore_conf@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ina209_probe, .-ina209_probe
	.comm	ina209_groups,4,4
	.comm	I2C_FUNC_SMBUS_WORD_DATA,4,4
	.comm	GFP_KERNEL,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_ina209.c_ina209_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ina209_probe, %function
ina209_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	i2c_check_functionality
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L11+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L11+8
	add	r7, r4, #4
	mov	r0, r7
	mov	r1, #8
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r6, r0, #0
	beq	.L10
	mov	r1, r6
	mov	r0, r4
	bl	i2c_set_clientdata
	mov	r0, r6
	str	r4, [r6, #4]
	bl	mutex_init
	mov	r1, r6
	mov	r0, r4
	bl	ina209_init_client
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, .L11+12
	mov	r0, r7
	mov	r2, r6
	ldr	r3, [r3]
	ldr	r1, [r4]
	bl	devm_hwmon_device_register_with_groups
	mov	r7, r0
	bl	IS_ERR
	subs	r5, r0, #0
	beq	.L1
	mov	r0, r7
	bl	PTR_ERR
	mov	r1, r6
	mov	r5, r0
	mov	r0, r4
	bl	ina209_restore_conf
	b	.L1
.L10:
	ldr	r3, .L11+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	I2C_FUNC_SMBUS_WORD_DATA
	.word	ENODEV
	.word	GFP_KERNEL
	.word	ina209_groups
	.word	ENOMEM
	.size	ina209_probe, .-ina209_probe
	.comm	ina209_groups,4,4
	.comm	I2C_FUNC_SMBUS_WORD_DATA,4,4
	.comm	GFP_KERNEL,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
