	.file	"extr_vt8231.c_set_fan_min.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_fan_min, @function
set_fan_min:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	to_sensor_dev_attr@PLT
	mov	rdi, rbp
	movsx	rbx, DWORD PTR [rax]
	call	dev_get_drvdata@PLT
	mov	edx, 10
	xor	esi, esi
	mov	rdi, r13
	mov	rbp, rax
	lea	r13, 0[0+rbx*4]
	call	simple_strtoul@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	mutex_lock@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	DIV_FROM_REG@PLT
	mov	edi, r15d
	add	r13, QWORD PTR 8[rbp]
	mov	esi, eax
	call	FAN_TO_REG@PLT
	mov	edi, ebx
	mov	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[rbp]
	mov	r13d, DWORD PTR [rax+rbx*4]
	call	VT8231_REG_FAN_MIN@PLT
	mov	rdi, rbp
	mov	edx, r13d
	mov	esi, eax
	call	vt8231_write_value@PLT
	mov	rdi, rbp
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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	set_fan_min, .-set_fan_min
	.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_vt8231.c_set_fan_min.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_fan_min, %function
set_fan_min:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r7, r2
	mov	r6, r3
	bl	to_sensor_dev_attr
	mov	r3, r0
	mov	r0, r4
	ldr	r5, [r3]
	bl	dev_get_drvdata
	mov	r2, #10
	mov	r4, r0
	mov	r1, #0
	mov	r0, r7
	bl	simple_strtoul
	mov	r7, r0
	mov	r0, r4
	bl	mutex_lock
	ldr	r3, [r4, #8]
	ldr	r0, [r3, r5, lsl #2]
	bl	DIV_FROM_REG
	mov	r1, r0
	mov	r0, r7
	ldr	r7, [r4, #4]
	bl	FAN_TO_REG
	mov	r3, r0
	mov	r0, r5
	str	r3, [r7, r5, lsl #2]
	bl	VT8231_REG_FAN_MIN
	ldr	r3, [r4, #4]
	mov	r1, r0
	ldr	r2, [r3, r5, lsl #2]
	mov	r0, r4
	bl	vt8231_write_value
	mov	r0, r4
	bl	mutex_unlock
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
	.size	set_fan_min, .-set_fan_min
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
