	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7470_update_device
_adt7470_update_device:                 ## @adt7470_update_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_to_i2c_client
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r12
	movq	%rax, %r13
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_SENSOR_REFRESH_INTERVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_time_before
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	movb	$1, %r14b
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$0, 8(%r13)
	sete	%r14b
LBB0_2:
	movq	_LIMIT_REFRESH_INTERVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r13), %rsi
	movq	%rbx, %rdi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpl	$0, 24(%r13)
	sete	%cl
	movl	%r14d, %eax
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	orb	%cl, %al
	cmpb	$1, %al
	jne	LBB0_32
LBB0_4:
	addq	$112, %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	testb	%r14b, %r14b
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_20
## %bb.5:
	cmpl	$0, 152(%r13)
	je	LBB0_33
## %bb.6:
	movq	_ADT7470_TEMP_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ADT7470_TEMP_REG
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	32(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
	jmp	LBB0_9
LBB0_33:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_adt7470_read_temperatures
LBB0_9:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	_ADT7470_FAN_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ADT7470_REG_FAN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_adt7470_read_word_data
	movq	144(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movq	_ADT7470_PWM_COUNT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_17
## %bb.13:
	xorl	%ebx, %ebx
	movq	_ADT7470_PWM2_AUTO_MASK@GOTPCREL(%rip), %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rax), %r12d
	movl	%ebx, %edi
	callq	_ADT7470_REG_PWM_CFG
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	xorl	%ecx, %ecx
	testl	%r12d, %eax
	setne	%cl
	movq	48(%r13), %rax
	movl	%ecx, (%rax,%rbx,4)
	movl	%ebx, %edi
	callq	_ADT7470_REG_PWM_AUTO_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ecx
	andl	$15, %ecx
	sarl	$4, %eax
	testb	$1, %bl
	cmovnel	%ecx, %eax
	movq	56(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movq	_ADT7470_PWM_COUNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ADT7470_REG_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	40(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	%r14, %rax
	testb	$1, %bl
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_ADT7470_PWM1_AUTO_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_17:
	movq	_ADT7470_REG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	_ADT7470_FSPD_MASK@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 64(%r13)
	movq	_ADT7470_REG_ALARM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, 68(%r13)
	movq	_ADT7470_OOL_ALARM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.18:
	movq	_ADT7470_REG_ALARM2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %edi
	callq	_ALARM2
	orl	%eax, 68(%r13)
LBB0_19:
	movq	_ADT7470_REG_ALARM1_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_adt7470_read_word_data
	movq	%rax, 136(%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%r13)
	movl	$1, 8(%r13)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_20:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_31
## %bb.21:
	movq	_ADT7470_TEMP_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_24
## %bb.22:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ADT7470_TEMP_MIN_REG
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	72(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_ADT7470_TEMP_MAX_REG
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	80(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_23
LBB0_24:
	movq	_ADT7470_FAN_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_27
## %bb.25:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ADT7470_REG_FAN_MIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_adt7470_read_word_data
	movq	128(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	%ebx, %edi
	callq	_ADT7470_REG_FAN_MAX
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_adt7470_read_word_data
	movq	120(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_26
LBB0_27:
	movq	_ADT7470_PWM_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_30
## %bb.28:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ADT7470_REG_PWM_MAX
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	88(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_ADT7470_REG_PWM_MIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	96(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_ADT7470_REG_PWM_TMIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	104(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_29
LBB0_30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r13)
	movl	$1, 24(%r13)
LBB0_31:
	movq	%r12, %rdi
	callq	_mutex_unlock
LBB0_32:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SENSOR_REFRESH_INTERVAL,8,3    ## @SENSOR_REFRESH_INTERVAL
	.comm	_LIMIT_REFRESH_INTERVAL,8,3     ## @LIMIT_REFRESH_INTERVAL
	.comm	_ADT7470_TEMP_COUNT,4,2         ## @ADT7470_TEMP_COUNT
	.comm	_ADT7470_FAN_COUNT,4,2          ## @ADT7470_FAN_COUNT
	.comm	_ADT7470_PWM_COUNT,4,2          ## @ADT7470_PWM_COUNT
	.comm	_ADT7470_PWM2_AUTO_MASK,4,2     ## @ADT7470_PWM2_AUTO_MASK
	.comm	_ADT7470_PWM1_AUTO_MASK,4,2     ## @ADT7470_PWM1_AUTO_MASK
	.comm	_ADT7470_REG_CFG,4,2            ## @ADT7470_REG_CFG
	.comm	_ADT7470_FSPD_MASK,4,2          ## @ADT7470_FSPD_MASK
	.comm	_ADT7470_REG_ALARM1,4,2         ## @ADT7470_REG_ALARM1
	.comm	_ADT7470_OOL_ALARM,4,2          ## @ADT7470_OOL_ALARM
	.comm	_ADT7470_REG_ALARM2,4,2         ## @ADT7470_REG_ALARM2
	.comm	_ADT7470_REG_ALARM1_MASK,4,2    ## @ADT7470_REG_ALARM1_MASK
	.no_dead_strip	_adt7470_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7470_update_device
_adt7470_update_device:                 ; @adt7470_update_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_to_i2c_client
	mov	x20, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _SENSOR_REFRESH_INTERVAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SENSOR_REFRESH_INTERVAL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x22
	bl	_time_before
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	cset	w23, eq
	b	LBB0_3
LBB0_2:
	mov	w23, #1
LBB0_3:
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _LIMIT_REFRESH_INTERVAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LIMIT_REFRESH_INTERVAL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x22
	bl	_time_before
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x19, #24]
	cmp	w8, #0
	cset	w26, eq
	orr	w8, w23, w26
	cmp	w8, #1
	b.eq	LBB0_6
	b	LBB0_33
LBB0_5:
	mov	w26, #1
LBB0_6:
	add	x27, x19, #112
	mov	x0, x27
	bl	_mutex_lock
Lloh9:
	adrp	x25, _ADT7470_FAN_COUNT@GOTPAGE
Lloh10:
	ldr	x25, [x25, _ADT7470_FAN_COUNT@GOTPAGEOFF]
Lloh11:
	adrp	x24, _ADT7470_PWM_COUNT@GOTPAGE
Lloh12:
	ldr	x24, [x24, _ADT7470_PWM_COUNT@GOTPAGEOFF]
	cbz	w23, LBB0_21
; %bb.7:
	str	x27, [sp]                       ; 8-byte Folded Spill
	ldr	w8, [x19, #152]
	cbz	w8, LBB0_11
; %bb.8:
Lloh13:
	adrp	x27, _ADT7470_TEMP_COUNT@GOTPAGE
Lloh14:
	ldr	x27, [x27, _ADT7470_TEMP_COUNT@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x23, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ADT7470_TEMP_REG
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #32]
	str	w0, [x8, x23, lsl #2]
	add	x23, x23, #1
	ldrsw	x8, [x27]
	cmp	x23, x8
	b.lt	LBB0_10
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_adt7470_read_temperatures
LBB0_12:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x23, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ADT7470_REG_FAN
	mov	x1, x0
	mov	x0, x20
	bl	_adt7470_read_word_data
	ldr	x8, [x19, #144]
	str	x0, [x8, x23, lsl #3]
	add	x23, x23, #1
	ldrsw	x8, [x25]
	cmp	x23, x8
	b.lt	LBB0_14
LBB0_15:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x23, #0
Lloh15:
	adrp	x27, _ADT7470_PWM1_AUTO_MASK@GOTPAGE
Lloh16:
	ldr	x27, [x27, _ADT7470_PWM1_AUTO_MASK@GOTPAGEOFF]
Lloh17:
	adrp	x28, _ADT7470_PWM2_AUTO_MASK@GOTPAGE
Lloh18:
	ldr	x28, [x28, _ADT7470_PWM2_AUTO_MASK@GOTPAGEOFF]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ADT7470_REG_PWM
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #40]
	lsl	x22, x23, #2
	str	w0, [x8, x22]
	tst	w23, #0x1
	csel	x8, x27, x28, eq
	ldr	w21, [x8]
	mov	x0, x23
	bl	_ADT7470_REG_PWM_CFG
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tst	w0, w21
	cset	w8, ne
	ldr	x9, [x19, #48]
	str	w8, [x9, x22]
	mov	x0, x23
	bl	_ADT7470_REG_PWM_AUTO_TEMP
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tst	w23, #0x1
	and	w8, w0, #0xf
	asr	w9, w0, #4
	csel	w8, w9, w8, eq
	ldr	x9, [x19, #56]
	str	w8, [x9, x22]
	add	x23, x23, #1
	ldrsw	x8, [x24]
	cmp	x23, x8
	b.lt	LBB0_17
LBB0_18:
Lloh19:
	adrp	x8, _ADT7470_REG_CFG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ADT7470_REG_CFG@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
Lloh22:
	adrp	x8, _ADT7470_FSPD_MASK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ADT7470_FSPD_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	str	w8, [x19, #64]
Lloh25:
	adrp	x8, _ADT7470_REG_ALARM1@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ADT7470_REG_ALARM1@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	str	w0, [x19, #68]
Lloh28:
	adrp	x8, _ADT7470_OOL_ALARM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ADT7470_OOL_ALARM@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_20
; %bb.19:
Lloh31:
	adrp	x8, _ADT7470_REG_ALARM2@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ADT7470_REG_ALARM2@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	bl	_ALARM2
	ldr	w8, [x19, #68]
	orr	w8, w8, w0
	str	w8, [x19, #68]
LBB0_20:
Lloh34:
	adrp	x8, _ADT7470_REG_ALARM1_MASK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ADT7470_REG_ALARM1_MASK@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_adt7470_read_word_data
	str	x0, [x19, #136]
	ldp	x27, x22, [sp]                  ; 16-byte Folded Reload
	str	x22, [x19]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_21:
	cbz	w26, LBB0_32
; %bb.22:
Lloh37:
	adrp	x26, _ADT7470_TEMP_COUNT@GOTPAGE
Lloh38:
	ldr	x26, [x26, _ADT7470_TEMP_COUNT@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.23:
	mov	x23, #0
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ADT7470_TEMP_MIN_REG
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #72]
	lsl	x21, x23, #2
	str	w0, [x8, x21]
	mov	x0, x23
	bl	_ADT7470_TEMP_MAX_REG
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #80]
	str	w0, [x8, x21]
	add	x23, x23, #1
	ldrsw	x8, [x26]
	cmp	x23, x8
	b.lt	LBB0_24
LBB0_25:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.26:
	mov	x23, #0
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ADT7470_REG_FAN_MIN
	mov	x1, x0
	mov	x0, x20
	bl	_adt7470_read_word_data
	ldr	x8, [x19, #128]
	lsl	x21, x23, #3
	str	x0, [x8, x21]
	mov	x0, x23
	bl	_ADT7470_REG_FAN_MAX
	mov	x1, x0
	mov	x0, x20
	bl	_adt7470_read_word_data
	ldr	x8, [x19, #120]
	str	x0, [x8, x21]
	add	x23, x23, #1
	ldrsw	x8, [x25]
	cmp	x23, x8
	b.lt	LBB0_27
LBB0_28:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.29:
	mov	x23, #0
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ADT7470_REG_PWM_MAX
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #88]
	lsl	x21, x23, #2
	str	w0, [x8, x21]
	mov	x0, x23
	bl	_ADT7470_REG_PWM_MIN
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #96]
	str	w0, [x8, x21]
	mov	x0, x23
	bl	_ADT7470_REG_PWM_TMIN
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #104]
	str	w0, [x8, x21]
	add	x23, x23, #1
	ldrsw	x8, [x24]
	cmp	x23, x8
	b.lt	LBB0_30
LBB0_31:
	str	x22, [x19, #16]
	mov	w8, #1
	str	w8, [x19, #24]
LBB0_32:
	mov	x0, x27
	bl	_mutex_unlock
LBB0_33:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SENSOR_REFRESH_INTERVAL,8,3    ; @SENSOR_REFRESH_INTERVAL
	.comm	_LIMIT_REFRESH_INTERVAL,8,3     ; @LIMIT_REFRESH_INTERVAL
	.comm	_ADT7470_TEMP_COUNT,4,2         ; @ADT7470_TEMP_COUNT
	.comm	_ADT7470_FAN_COUNT,4,2          ; @ADT7470_FAN_COUNT
	.comm	_ADT7470_PWM_COUNT,4,2          ; @ADT7470_PWM_COUNT
	.comm	_ADT7470_PWM2_AUTO_MASK,4,2     ; @ADT7470_PWM2_AUTO_MASK
	.comm	_ADT7470_PWM1_AUTO_MASK,4,2     ; @ADT7470_PWM1_AUTO_MASK
	.comm	_ADT7470_REG_CFG,4,2            ; @ADT7470_REG_CFG
	.comm	_ADT7470_FSPD_MASK,4,2          ; @ADT7470_FSPD_MASK
	.comm	_ADT7470_REG_ALARM1,4,2         ; @ADT7470_REG_ALARM1
	.comm	_ADT7470_OOL_ALARM,4,2          ; @ADT7470_OOL_ALARM
	.comm	_ADT7470_REG_ALARM2,4,2         ; @ADT7470_REG_ALARM2
	.comm	_ADT7470_REG_ALARM1_MASK,4,2    ; @ADT7470_REG_ALARM1_MASK
	.no_dead_strip	_adt7470_update_device
.subsections_via_symbols
