	.file	"extr_tmp108.c_tmp108_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"adapter doesn't support SMBus word transactions\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"regmap init failed: %d"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"error reading config register: %d"
	.align 8
.LC3:
	.string	"error writing config register: %d"
	.align 8
.LC4:
	.string	"add action or reset failed: %d"
	.text
	.p2align 4
	.type	tmp108_probe, @function
tmp108_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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	rbp, 8[rdi]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR I2C_FUNC_SMBUS_WORD_DATA[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	i2c_check_functionality@PLT
	test	eax, eax
	je	.L13
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 12
	mov	rdi, rbp
	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	dev_set_drvdata@PLT
	mov	rdi, rbx
	lea	rsi, tmp108_regmap_config[rip]
	call	devm_regmap_init_i2c@PLT
	mov	DWORD PTR 8[r13], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L14
	mov	edi, DWORD PTR 8[r13]
	mov	esi, DWORD PTR TMP108_REG_CONF[rip]
	lea	rdx, 4[rsp]
	call	regmap_read@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L15
	mov	edx, DWORD PTR TMP108_CONF_MODE_MASK[rip]
	mov	eax, DWORD PTR 4[rsp]
	mov	edi, DWORD PTR 8[r13]
	mov	esi, DWORD PTR TMP108_REG_CONF[rip]
	not	edx
	mov	DWORD PTR 0[r13], eax
	and	edx, eax
	mov	eax, DWORD PTR TMP108_CONF_TM[rip]
	or	edx, DWORD PTR TMP108_MODE_CONTINUOUS[rip]
	not	eax
	and	edx, eax
	mov	DWORD PTR 4[rsp], edx
	call	regmap_write@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L16
	mov	eax, DWORD PTR jiffies[rip]
	mov	DWORD PTR 4[r13], eax
	mov	eax, DWORD PTR 0[r13]
	and	eax, DWORD PTR TMP108_CONF_MODE_MASK[rip]
	cmp	eax, DWORD PTR TMP108_MODE_SHUTDOWN[rip]
	je	.L17
.L8:
	mov	esi, DWORD PTR tmp108_restore_config[rip]
	mov	rdx, r13
	mov	rdi, rbp
	call	devm_add_action_or_reset@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L18
	mov	esi, DWORD PTR [rbx]
	xor	r8d, r8d
	lea	rcx, tmp108_chip_info[rip]
	mov	rdx, r13
	mov	rdi, rbp
	call	devm_hwmon_device_register_with_info@PLT
	mov	rdi, rax
	call	PTR_ERR_OR_ZERO@PLT
	mov	r12d, eax
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L13:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR 8[r13]
	call	PTR_ERR@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	r12d, eax
	mov	edx, eax
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edx, eax
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR TMP108_CONVERSION_TIME_MS[rip]
	call	msecs_to_jiffies@PLT
	add	DWORD PTR 4[r13], eax
	jmp	.L8
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tmp108_probe, .-tmp108_probe
	.comm	tmp108_restore_config,4,4
	.comm	tmp108_regmap_config,4,4
	.comm	tmp108_chip_info,4,4
	.comm	jiffies,4,4
	.comm	TMP108_REG_CONF,4,4
	.comm	TMP108_MODE_SHUTDOWN,4,4
	.comm	TMP108_MODE_CONTINUOUS,4,4
	.comm	TMP108_CONVERSION_TIME_MS,4,4
	.comm	TMP108_CONF_TM,4,4
	.comm	TMP108_CONF_MODE_MASK,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_tmp108.c_tmp108_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"adapter doesn't support SMBus word transactions\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"regmap init failed: %d\000"
	.align	2
.LC2:
	.ascii	"error reading config register: %d\000"
	.align	2
.LC3:
	.ascii	"error writing config register: %d\000"
	.align	2
.LC4:
	.ascii	"add action or reset failed: %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tmp108_probe, %function
tmp108_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L21
	mov	r5, r0
	ldr	r1, [r3]
	ldr	r3, .L21+4
	sub	sp, sp, #20
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	i2c_check_functionality
	cmp	r0, #0
	add	r7, r5, #8
	beq	.L13
	ldr	r3, .L21+8
	mov	r1, #12
	mov	r0, r7
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r6, r0, #0
	beq	.L14
	mov	r1, r6
	mov	r0, r7
	bl	dev_set_drvdata
	ldr	r1, .L21+12
	mov	r0, r5
	bl	devm_regmap_init_i2c
	str	r0, [r6, #8]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L15
	ldr	r8, .L21+16
	ldr	r0, [r6, #8]
	ldr	r1, [r8]
	add	r2, sp, #8
	bl	regmap_read
	subs	r4, r0, #0
	blt	.L16
	ldr	r1, .L21+20
	ldr	r9, .L21+24
	ldr	r0, [r1]
	ldr	r3, [sp, #8]
	ldr	r2, [r9]
	ldr	r1, .L21+28
	bic	r2, r3, r2
	ldr	r1, [r1]
	orr	r2, r2, r0
	bic	r2, r2, r1
	ldr	r0, [r6, #8]
	ldr	r1, [r8]
	str	r3, [r6]
	str	r2, [sp, #8]
	bl	regmap_write
	subs	r4, r0, #0
	blt	.L17
	ldr	r2, [r9]
	ldr	r1, .L21+32
	ldr	r3, [r6]
	ldr	r1, [r1]
	and	r3, r3, r2
	ldr	r2, .L21+36
	cmp	r3, r1
	ldr	r3, [r2]
	str	r3, [r6, #4]
	beq	.L18
.L8:
	ldr	r3, .L21+40
	mov	r2, r6
	mov	r0, r7
	ldr	r1, [r3]
	bl	devm_add_action_or_reset
	subs	r4, r0, #0
	bne	.L19
	str	r4, [sp]
	mov	r2, r6
	ldr	r1, [r5]
	ldr	r3, .L21+44
	mov	r0, r7
	bl	devm_hwmon_device_register_with_info
	bl	PTR_ERR_OR_ZERO
	mov	r4, r0
	b	.L1
.L14:
	ldr	r3, .L21+48
	ldr	r0, [r3]
	rsb	r4, r0, #0
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	mov	r0, r7
	ldr	r1, .L21+52
	bl	dev_err
	ldr	r3, .L21+56
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L15:
	ldr	r0, [r6, #8]
	bl	PTR_ERR
	mov	r4, r0
	ldr	r1, .L21+60
	mov	r0, r7
	mov	r2, r4
	bl	dev_err
	b	.L1
.L16:
	mov	r0, r7
	mov	r2, r4
	ldr	r1, .L21+64
	bl	dev_err
	b	.L1
.L19:
	mov	r0, r7
	mov	r2, r4
	ldr	r1, .L21+68
	bl	dev_err
	b	.L1
.L17:
	mov	r0, r7
	mov	r2, r4
	ldr	r1, .L21+72
	bl	dev_err
	b	.L1
.L18:
	ldr	r3, .L21+76
	ldr	r0, [r3]
	bl	msecs_to_jiffies
	ldr	r3, [r6, #4]
	add	r3, r3, r0
	str	r3, [r6, #4]
	b	.L8
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	I2C_FUNC_SMBUS_WORD_DATA
	.word	.LC5
	.word	GFP_KERNEL
	.word	tmp108_regmap_config
	.word	TMP108_REG_CONF
	.word	TMP108_MODE_CONTINUOUS
	.word	TMP108_CONF_MODE_MASK
	.word	TMP108_CONF_TM
	.word	TMP108_MODE_SHUTDOWN
	.word	jiffies
	.word	tmp108_restore_config
	.word	tmp108_chip_info
	.word	ENOMEM
	.word	.LC0
	.word	ENODEV
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	.LC3
	.word	TMP108_CONVERSION_TIME_MS
	.size	tmp108_probe, .-tmp108_probe
	.comm	tmp108_restore_config,4,4
	.comm	tmp108_regmap_config,4,4
	.comm	tmp108_chip_info,4,4
	.comm	jiffies,4,4
	.comm	TMP108_REG_CONF,4,4
	.comm	TMP108_MODE_SHUTDOWN,4,4
	.comm	TMP108_MODE_CONTINUOUS,4,4
	.comm	TMP108_CONVERSION_TIME_MS,4,4
	.comm	TMP108_CONF_TM,4,4
	.comm	TMP108_CONF_MODE_MASK,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
