	.file	"extr_w83793.c_store_sf2_temp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	store_sf2_temp, @function
store_sf2_temp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rcx
	call	to_i2c_client@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	i2c_get_clientdata@PLT
	mov	rdi, r14
	mov	rbx, rax
	call	to_sensor_dev_attr_2@PLT
	mov	rdi, r12
	mov	edx, 10
	xor	esi, esi
	mov	r13d, DWORD PTR [rax]
	mov	r15d, DWORD PTR 4[rax]
	lea	r14, 8[rbx]
	call	simple_strtol@PLT
	mov	edx, 127
	xor	esi, esi
	mov	edi, eax
	call	TEMP_TO_REG@PLT
	mov	rdi, r14
	mov	DWORD PTR 4[rsp], eax
	call	mutex_lock@PLT
	mov	esi, r13d
	mov	edi, r15d
	call	W83793_REG_SF2_TEMP@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	w83793_read_value@PLT
	movsx	rcx, r15d
	movsx	rdx, r13d
	mov	esi, r13d
	mov	r12d, eax
	mov	rax, QWORD PTR [rbx]
	mov	edi, r15d
	and	r12d, 128
	or	r12d, DWORD PTR 4[rsp]
	mov	rax, QWORD PTR [rax+rcx*8]
	mov	DWORD PTR [rax+rdx*4], r12d
	call	W83793_REG_SF2_TEMP@PLT
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, eax
	call	w83793_write_value@PLT
	mov	rdi, r14
	call	mutex_unlock@PLT
	mov	r8, QWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	rax, r8
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	store_sf2_temp, .-store_sf2_temp
	.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_w83793.c_store_sf2_temp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_sf2_temp, %function
store_sf2_temp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r3
	mov	r6, r1
	mov	r5, r2
	bl	to_i2c_client
	mov	r7, r0
	bl	i2c_get_clientdata
	mov	r4, r0
	mov	r0, r6
	bl	to_sensor_dev_attr_2
	mov	ip, r0
	mov	r2, #10
	mov	r0, r5
	ldm	ip, {r5, r6}
	mov	r1, #0
	bl	simple_strtol
	mov	r2, #127
	mov	r1, #0
	bl	TEMP_TO_REG
	add	r9, r4, #4
	mov	r10, r0
	mov	r0, r9
	bl	mutex_lock
	mov	r1, r5
	mov	r0, r6
	bl	W83793_REG_SF2_TEMP
	mov	r1, r0
	mov	r0, r7
	bl	w83793_read_value
	ldr	r3, [r4]
	and	r2, r0, #128
	ldr	r3, [r3, r6, lsl #2]
	orr	r2, r2, r10
	str	r2, [r3, r5, lsl #2]
	mov	r1, r5
	mov	r0, r6
	bl	W83793_REG_SF2_TEMP
	ldr	r3, [r4]
	mov	r1, r0
	ldr	r3, [r3, r6, lsl #2]
	mov	r0, r7
	ldr	r2, [r3, r5, lsl #2]
	bl	w83793_write_value
	mov	r0, r9
	bl	mutex_unlock
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	store_sf2_temp, .-store_sf2_temp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
