	.file	"extr_adm1026.c_adm1026_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adm1026_probe, @function
adm1026_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	r13, rdi
	mov	edi, 16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rsi, rax
	mov	rbp, rax
	mov	rdi, r13
	call	i2c_set_clientdata@PLT
	lea	rdi, 12[rbp]
	call	mutex_init@PLT
	xor	eax, eax
	call	vid_which_vrm@PLT
	mov	rdi, r13
	mov	DWORD PTR 8[rbp], eax
	call	adm1026_init_client@PLT
	lea	rsi, adm1026_group[rip]
	mov	rdi, r13
	call	sysfs_create_group@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR CFG1_AIN8_9[rip], eax
	je	.L5
	lea	rsi, adm1026_group_in8_9[rip]
	mov	rdi, r13
	call	sysfs_create_group@PLT
	mov	r12d, eax
.L6:
	test	r12d, r12d
	jne	.L7
	mov	rdi, r13
	call	hwmon_device_register@PLT
	mov	DWORD PTR 4[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR 4[rbp]
	call	PTR_ERR@PLT
	mov	r12d, eax
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, adm1026_group[rip]
	mov	rdi, r13
	call	sysfs_remove_group@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR CFG1_AIN8_9[rip], eax
	je	.L8
	lea	rsi, adm1026_group_in8_9[rip]
	mov	rdi, r13
	call	sysfs_remove_group@PLT
.L4:
	mov	rdi, rbp
	call	kfree@PLT
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	lea	rsi, adm1026_group_temp3[rip]
	mov	rdi, r13
	call	sysfs_create_group@PLT
	mov	r12d, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rsi, adm1026_group_temp3[rip]
	mov	rdi, r13
	call	sysfs_remove_group@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	adm1026_probe, .-adm1026_probe
	.comm	adm1026_group_temp3,4,4
	.comm	adm1026_group_in8_9,4,4
	.comm	adm1026_group,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	CFG1_AIN8_9,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_adm1026.c_adm1026_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adm1026_probe, %function
adm1026_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	mov	r6, r0
	mov	r0, #16
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L14
	mov	r1, r4
	mov	r0, r6
	bl	i2c_set_clientdata
	add	r0, r4, #12
	bl	mutex_init
	bl	vid_which_vrm
	mov	r3, r0
	mov	r0, r6
	str	r3, [r4, #8]
	bl	adm1026_init_client
	mov	r0, r6
	ldr	r1, .L15+4
	bl	sysfs_create_group
	subs	r5, r0, #0
	bne	.L4
	ldr	r7, .L15+8
	ldr	r2, [r4]
	ldr	r3, [r7]
	mov	r0, r6
	tst	r2, r3
	ldrne	r1, .L15+12
	ldreq	r1, .L15+16
	bl	sysfs_create_group
	cmp	r0, #0
	mov	r5, r0
	bne	.L7
	mov	r0, r6
	bl	hwmon_device_register
	str	r0, [r4, #4]
	bl	IS_ERR
	subs	r5, r0, #0
	beq	.L1
	ldr	r0, [r4, #4]
	bl	PTR_ERR
	mov	r5, r0
.L7:
	ldr	r1, .L15+4
	mov	r0, r6
	bl	sysfs_remove_group
	ldr	r3, [r7]
	ldr	r2, [r4]
	mov	r0, r6
	tst	r2, r3
	ldrne	r1, .L15+12
	ldreq	r1, .L15+16
	bl	sysfs_remove_group
.L4:
	mov	r0, r4
	bl	kfree
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	GFP_KERNEL
	.word	adm1026_group
	.word	CFG1_AIN8_9
	.word	adm1026_group_in8_9
	.word	adm1026_group_temp3
	.word	ENOMEM
	.size	adm1026_probe, .-adm1026_probe
	.comm	adm1026_group_temp3,4,4
	.comm	adm1026_group_in8_9,4,4
	.comm	adm1026_group,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	CFG1_AIN8_9,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
