	.file	"extr_pc87427.c_pc87427_update_device.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pc87427_update_device, @function
pc87427_update_device:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	dev_get_drvdata@PLT
	lea	rbp, 4[rax]
	mov	r12, rax
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	rdi, QWORD PTR jiffies[rip]
	mov	rsi, QWORD PTR HZ[rip]
	add	rsi, QWORD PTR 8[r12]
	call	time_after@PLT
	test	eax, eax
	jne	.L6
	cmp	QWORD PTR 8[r12], 0
	mov	ebx, eax
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR [r12]
	bt	eax, ebx
	jnc	.L4
	mov	esi, ebx
	mov	rdi, r12
	call	pc87427_readall_fan@PLT
.L4:
	add	ebx, 1
	cmp	ebx, 8
	jne	.L5
	mov	rax, QWORD PTR jiffies[rip]
	mov	QWORD PTR 8[r12], rax
.L3:
	mov	rdi, rbp
	call	mutex_unlock@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	ebx, ebx
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	pc87427_update_device, .-pc87427_update_device
	.comm	jiffies,8,8
	.comm	HZ,8,8
	.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_pc87427.c_pc87427_update_device.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pc87427_update_device, %function
pc87427_update_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	dev_get_drvdata
	mov	r5, r0
	add	r6, r0, #4
	mov	r0, r6
	bl	mutex_lock
	ldr	r3, .L13
	ldr	r1, [r5, #8]
	ldr	r3, [r3]
	ldr	r7, .L13+4
	add	r1, r1, r3
	ldr	r0, [r7]
	bl	time_after
	cmp	r0, #0
	bne	.L6
	ldr	r4, [r5, #8]
	cmp	r4, #0
	bne	.L3
.L5:
	ldr	r3, [r5]
	asr	r3, r3, r4
	tst	r3, #1
	beq	.L4
	mov	r1, r4
	mov	r0, r5
	bl	pc87427_readall_fan
.L4:
	add	r4, r4, #1
	cmp	r4, #8
	bne	.L5
	ldr	r3, [r7]
	str	r3, [r5, #8]
.L3:
	mov	r0, r6
	bl	mutex_unlock
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r4, #0
	b	.L5
.L14:
	.align	2
.L13:
	.word	HZ
	.word	jiffies
	.size	pc87427_update_device, .-pc87427_update_device
	.comm	jiffies,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
