	.file	"extr_thmc50.c_thmc50_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"thmc50: detect failed, kzalloc failed!\n"
	.text
	.p2align 4
	.type	thmc50_probe, @function
thmc50_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, 24
	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	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	test	rax, rax
	je	.L11
	mov	rsi, rax
	mov	rdi, r12
	mov	rbp, rax
	call	i2c_set_clientdata@PLT
	mov	eax, DWORD PTR 0[r13]
	lea	rdi, 12[rbp]
	mov	DWORD PTR 16[rbp], eax
	call	mutex_init@PLT
	mov	rdi, r12
	call	thmc50_init_client@PLT
	lea	rsi, thmc50_group[rip]
	mov	rdi, r12
	call	sysfs_create_group@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L4
	cmp	QWORD PTR 0[rbp], 0
	jne	.L5
.L8:
	mov	rdi, r12
	call	hwmon_device_register@PLT
	mov	DWORD PTR 8[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L5:
	.cfi_restore_state
	lea	rsi, temp3_group[rip]
	mov	rdi, r12
	call	sysfs_create_group@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L8
.L7:
	lea	rsi, thmc50_group[rip]
	mov	rdi, r12
	mov	r13d, ebx
	call	sysfs_remove_group@PLT
.L4:
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L11:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r13d
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	call	PTR_ERR@PLT
	cmp	QWORD PTR 0[rbp], 0
	mov	ebx, eax
	je	.L7
	lea	rsi, temp3_group[rip]
	mov	rdi, r12
	call	sysfs_remove_group@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	thmc50_probe, .-thmc50_probe
	.comm	thmc50_group,4,4
	.comm	temp3_group,4,4
	.comm	GFP_KERNEL,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_thmc50.c_thmc50_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"thmc50: detect failed, kzalloc failed!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	thmc50_probe, %function
thmc50_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L16
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r5, r1
	mov	r0, #16
	ldr	r1, [r2]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L14
	mov	r1, r4
	mov	r0, r6
	bl	i2c_set_clientdata
	ldr	r3, [r5]
	add	r0, r4, #8
	str	r3, [r4, #12]
	bl	mutex_init
	mov	r0, r6
	bl	thmc50_init_client
	mov	r0, r6
	ldr	r1, .L16+4
	bl	sysfs_create_group
	subs	r5, r0, #0
	bne	.L4
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L5
.L8:
	mov	r0, r6
	bl	hwmon_device_register
	str	r0, [r4, #4]
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L15
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r6
	ldr	r1, .L16+8
	bl	sysfs_create_group
	subs	r5, r0, #0
	beq	.L8
.L7:
	mov	r0, r6
	ldr	r1, .L16+4
	bl	sysfs_remove_group
.L4:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r0, .L16+12
	bl	pr_debug
	ldr	r3, .L16+16
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L15:
	ldr	r0, [r4, #4]
	bl	PTR_ERR
	ldr	r3, [r4]
	mov	r5, r0
	cmp	r3, #0
	beq	.L7
	mov	r0, r6
	ldr	r1, .L16+8
	bl	sysfs_remove_group
	b	.L7
.L17:
	.align	2
.L16:
	.word	GFP_KERNEL
	.word	thmc50_group
	.word	temp3_group
	.word	.LC0
	.word	ENOMEM
	.size	thmc50_probe, .-thmc50_probe
	.comm	thmc50_group,4,4
	.comm	temp3_group,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
