	.file	"extr_nct6775.c_store_fan_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	store_fan_time, @function
store_fan_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	to_sensor_dev_attr_2@PLT
	mov	rdx, rsp
	mov	esi, 10
	mov	rdi, r14
	movsx	r12, DWORD PTR [rax]
	movsx	r13, DWORD PTR 4[rax]
	call	kstrtoul@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, QWORD PTR [rsp]
	lea	r14, 8[rbp]
	mov	esi, DWORD PTR [rax+r12*4]
	call	step_time_to_reg@PLT
	mov	rdi, r14
	mov	QWORD PTR [rsp], rax
	call	mutex_lock@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR [rsp]
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax+r13*8]
	mov	QWORD PTR [rax+r12*8], rdx
	mov	rax, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR [rax+r13*8]
	mov	esi, DWORD PTR [rax+r12*4]
	call	nct6775_write_value@PLT
	mov	rdi, r14
	call	mutex_unlock@PLT
	mov	eax, ebx
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	store_fan_time, .-store_fan_time
	.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_nct6775.c_store_fan_time.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_fan_time, %function
store_fan_time:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r3
	ldr	r3, .L7
	sub	sp, sp, #8
	mov	r6, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	dev_get_drvdata
	mov	r4, r0
	mov	r0, r6
	bl	to_sensor_dev_attr_2
	mov	ip, r0
	mov	r2, sp
	mov	r0, r5
	ldm	ip, {r5, r6}
	mov	r1, #10
	bl	kstrtoul
	cmp	r0, #0
	blt	.L1
	ldr	r3, [r4, #12]
	ldr	r0, [sp]
	ldr	r1, [r3, r5, lsl #2]
	bl	step_time_to_reg
	mov	r3, r0
	add	r8, r4, #4
	mov	r0, r8
	str	r3, [sp]
	bl	mutex_lock
	ldr	r2, [r4]
	ldr	r3, [r4, #8]
	ldr	r1, [r2, r6, lsl #2]
	ldr	r3, [r3, r6, lsl #2]
	ldr	r2, [sp]
	mov	r0, r4
	str	r2, [r1, r5, lsl #2]
	ldr	r1, [r3, r5, lsl #2]
	bl	nct6775_write_value
	mov	r0, r8
	bl	mutex_unlock
	mov	r0, r7
.L1:
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	store_fan_time, .-store_fan_time
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
