	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7475_update_device
_adt7475_update_device:                 ## @adt7475_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, %r13
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r12
	leaq	48(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_HZ@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rsi
	addq	%rsi, %rsi
	addq	72(%r12), %rsi
	callq	_time_after
	testq	%rax, %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
LBB0_3:
	movq	_REG_STATUS2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	shll	$8, %eax
	movl	%eax, 4(%r12)
	movq	_REG_STATUS1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	orl	%eax, 4(%r12)
	movq	_REG_EXTEND1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	movq	_ADT7475_VOLTAGE_COUNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	movl	%eax, %r13d
	movl	$2, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VOLTAGE_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movl	%r13d, %edx
	movl	%r14d, %ecx
	sarl	%cl, %edx
                                        ## kill: def $eax killed $eax def $rax
	andl	$3, %edx
	leal	(%rdx,%rax,4), %eax
	movq	8(%r12), %rcx
	movq	_INPUT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	addl	$2, %r14d
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_REG_EXTEND2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	movq	_ADT7475_TEMP_COUNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.7:
	movl	%eax, %r13d
	movl	$2, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_TEMP_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movl	%r13d, %edx
	movl	%ebx, %ecx
	sarl	%cl, %edx
                                        ## kill: def $eax killed $eax def $rax
	andl	$3, %edx
	leal	(%rdx,%rax,4), %eax
	movq	16(%r12), %rcx
	movq	_INPUT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	movslq	(%r15), %rax
	addl	$2, %ebx
	cmpq	%rax, %r14
	jl	LBB0_8
LBB0_9:
	movq	_ADT7475_TACH_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	movq	_INPUT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_TACH_REG
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_adt7475_read_word
	movq	64(%r12), %rcx
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movq	_ADT7475_PWM_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	movq	_INPUT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_PWM_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movq	24(%r12), %rcx
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_15:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 72(%r12)
	movq	_HZ@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_1:
	cmpl	$0, (%r12)
	je	LBB0_3
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_16:
	movslq	(%rbx), %rax
	imulq	$60, %rax, %rsi
	addq	56(%r12), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_17
LBB0_18:
	movq	_REG_CONFIG5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	movl	%eax, 32(%r12)
	movq	_ADT7475_VOLTAGE_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	movq	_MIN@GOTPCREL(%rip), %r15
	movq	_MAX@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VOLTAGE_MIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	shll	$2, %eax
	movq	8(%r12), %rcx
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_VOLTAGE_MAX_REG
	movl	%eax, %edi
	callq	_adt7475_read
	shll	$2, %eax
	movq	8(%r12), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
LBB0_21:
	movq	_ADT7475_TEMP_COUNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_24
## %bb.22:
	xorl	%ebx, %ebx
	movq	_THERM@GOTPCREL(%rip), %r13
	movq	_OFFSET@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_TEMP_MIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	shll	$2, %eax
	movq	16(%r12), %rcx
	movq	_MIN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_TEMP_MAX_REG
	movl	%eax, %edi
	callq	_adt7475_read
	shll	$2, %eax
	movq	16(%r12), %rcx
	movq	_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_TEMP_TMIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	shll	$2, %eax
	movq	16(%r12), %rcx
	movq	_AUTOMIN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_TEMP_THERM_REG
	movl	%eax, %edi
	callq	_adt7475_read
	shll	$2, %eax
	movq	16(%r12), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_TEMP_OFFSET_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movq	16(%r12), %rcx
	movq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_23
LBB0_24:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_adt7475_read_hystersis
	movq	_ADT7475_TACH_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_27
## %bb.25:
	xorl	%ebx, %ebx
	movq	_MIN@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_TACH_MIN_REG
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_adt7475_read_word
	movq	64(%r12), %rcx
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_26
LBB0_27:
	movq	_ADT7475_PWM_COUNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_30
## %bb.28:
	movq	%r13, %r14
	xorl	%ebx, %ebx
	movq	_MIN@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_PWM_MAX_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movq	24(%r12), %rcx
	movq	_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_PWM_MIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movq	24(%r12), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_adt7475_read_pwm
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_29
LBB0_30:
	xorl	%edi, %edi
	callq	_TEMP_TRANGE_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movq	40(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_TEMP_TRANGE_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movq	40(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	$2, %edi
	callq	_TEMP_TRANGE_REG
	movl	%eax, %edi
	callq	_adt7475_read
	movq	40(%r12), %rcx
	movl	%eax, 8(%rcx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	movl	$1, (%r12)
	jmp	LBB0_31
LBB0_17:
	cmpl	$0, (%r12)
	je	LBB0_18
LBB0_31:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movq	%r12, %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	_HZ,4,2                         ## @HZ
	.comm	_REG_STATUS2,4,2                ## @REG_STATUS2
	.comm	_REG_STATUS1,4,2                ## @REG_STATUS1
	.comm	_REG_EXTEND1,4,2                ## @REG_EXTEND1
	.comm	_ADT7475_VOLTAGE_COUNT,4,2      ## @ADT7475_VOLTAGE_COUNT
	.comm	_INPUT,8,3                      ## @INPUT
	.comm	_REG_EXTEND2,4,2                ## @REG_EXTEND2
	.comm	_ADT7475_TEMP_COUNT,4,2         ## @ADT7475_TEMP_COUNT
	.comm	_ADT7475_TACH_COUNT,4,2         ## @ADT7475_TACH_COUNT
	.comm	_ADT7475_PWM_COUNT,4,2          ## @ADT7475_PWM_COUNT
	.comm	_REG_CONFIG5,4,2                ## @REG_CONFIG5
	.comm	_MIN,8,3                        ## @MIN
	.comm	_MAX,8,3                        ## @MAX
	.comm	_AUTOMIN,8,3                    ## @AUTOMIN
	.comm	_THERM,8,3                      ## @THERM
	.comm	_OFFSET,8,3                     ## @OFFSET
	.no_dead_strip	_adt7475_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7475_update_device
_adt7475_update_device:                 ; @adt7475_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	x21, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
	add	x26, x0, #48
	mov	x0, x26
	bl	_mutex_lock
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	x8, [x19, #72]
Lloh3:
	adrp	x24, _HZ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _HZ@GOTPAGEOFF]
	ldrsw	x9, [x24]
	add	x1, x8, x9, lsl #1
	bl	_time_after
Lloh5:
	adrp	x28, _ADT7475_VOLTAGE_COUNT@GOTPAGE
Lloh6:
	ldr	x28, [x28, _ADT7475_VOLTAGE_COUNT@GOTPAGEOFF]
Lloh7:
	adrp	x27, _ADT7475_TEMP_COUNT@GOTPAGE
Lloh8:
	ldr	x27, [x27, _ADT7475_TEMP_COUNT@GOTPAGEOFF]
	cbz	x0, LBB0_14
LBB0_1:
Lloh9:
	adrp	x8, _REG_STATUS2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_STATUS2@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_adt7475_read
	lsl	w8, w0, #8
	str	w8, [x19, #4]
Lloh12:
	adrp	x8, _REG_STATUS1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_STATUS1@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_adt7475_read
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
Lloh15:
	adrp	x8, _REG_EXTEND1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_EXTEND1@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_adt7475_read
	ldr	w8, [x28]
Lloh18:
	adrp	x20, _INPUT@GOTPAGE
Lloh19:
	ldr	x20, [x20, _INPUT@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x22, x0
	mov	x23, #0
	mov	w25, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_VOLTAGE_REG
	bl	_adt7475_read
	asr	w8, w22, w25
	bfi	w8, w0, #2, #30
	ldr	x9, [x19, #8]
	ldr	x10, [x20]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x23, lsl #2]
	add	x8, x23, #1
	ldrsw	x9, [x28]
	add	w25, w25, #2
	mov	x23, x8
	cmp	x8, x9
	b.lt	LBB0_3
LBB0_4:
Lloh20:
	adrp	x8, _REG_EXTEND2@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REG_EXTEND2@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_adt7475_read
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, x0
	mov	x23, #0
	mov	w25, #2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_TEMP_REG
	bl	_adt7475_read
	asr	w8, w22, w25
	bfi	w8, w0, #2, #30
	ldr	x9, [x19, #16]
	ldr	x10, [x20]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x23, lsl #2]
	add	x8, x23, #1
	ldrsw	x9, [x27]
	add	w25, w25, #2
	mov	x23, x8
	cmp	x8, x9
	b.lt	LBB0_6
LBB0_7:
Lloh23:
	adrp	x23, _ADT7475_TACH_COUNT@GOTPAGE
Lloh24:
	ldr	x23, [x23, _ADT7475_TACH_COUNT@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x22, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_TACH_REG
	mov	x1, x0
	mov	x0, x21
	bl	_adt7475_read_word
	ldr	x8, [x19, #64]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x23]
	cmp	x22, x8
	b.lt	LBB0_9
LBB0_10:
Lloh25:
	adrp	x23, _ADT7475_PWM_COUNT@GOTPAGE
Lloh26:
	ldr	x23, [x23, _ADT7475_PWM_COUNT@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x22, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_PWM_REG
	bl	_adt7475_read
	ldr	x8, [x19, #24]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x23]
	cmp	x22, x8
	b.lt	LBB0_12
LBB0_13:
Lloh27:
	adrp	x8, _jiffies@GOTPAGE
Lloh28:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
	str	x0, [x19, #72]
	b	LBB0_16
LBB0_14:
	ldr	w8, [x19]
	cbz	w8, LBB0_1
; %bb.15:
Lloh30:
	adrp	x8, _jiffies@GOTPAGE
Lloh31:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh32:
	ldr	x0, [x8]
LBB0_16:
	ldr	x8, [x19, #56]
	ldrsw	x9, [x24]
	mov	w10, #60
	madd	x1, x9, x10, x8
	bl	_time_after
	cbz	x0, LBB0_30
LBB0_17:
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
Lloh33:
	adrp	x8, _REG_CONFIG5@GOTPAGE
Lloh34:
	ldr	x8, [x8, _REG_CONFIG5@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_adt7475_read
	str	w0, [x19, #32]
	ldr	w8, [x28]
Lloh36:
	adrp	x23, _MIN@GOTPAGE
Lloh37:
	ldr	x23, [x23, _MIN@GOTPAGEOFF]
Lloh38:
	adrp	x24, _MAX@GOTPAGE
Lloh39:
	ldr	x24, [x24, _MAX@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x22, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_VOLTAGE_MIN_REG
	bl	_adt7475_read
	lsl	w8, w0, #2
	ldr	x9, [x19, #8]
	ldr	x10, [x23]
	ldr	x9, [x9, x10, lsl #3]
	lsl	x20, x22, #2
	str	w8, [x9, x20]
	mov	x0, x22
	bl	_VOLTAGE_MAX_REG
	bl	_adt7475_read
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	lsl	w9, w0, #2
	str	w9, [x8, x20]
	add	x22, x22, #1
	ldrsw	x8, [x28]
	cmp	x22, x8
	b.lt	LBB0_19
LBB0_20:
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.21:
	mov	x22, #0
Lloh40:
	adrp	x20, _AUTOMIN@GOTPAGE
Lloh41:
	ldr	x20, [x20, _AUTOMIN@GOTPAGEOFF]
Lloh42:
	adrp	x28, _THERM@GOTPAGE
Lloh43:
	ldr	x28, [x28, _THERM@GOTPAGEOFF]
Lloh44:
	adrp	x25, _OFFSET@GOTPAGE
Lloh45:
	ldr	x25, [x25, _OFFSET@GOTPAGEOFF]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_TEMP_MIN_REG
	bl	_adt7475_read
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
	ldr	x10, [x23]
	ldr	x9, [x9, x10, lsl #3]
	lsl	x26, x22, #2
	str	w8, [x9, x26]
	mov	x0, x22
	bl	_TEMP_MAX_REG
	bl	_adt7475_read
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
	ldr	x10, [x24]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x26]
	mov	x0, x22
	bl	_TEMP_TMIN_REG
	bl	_adt7475_read
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
	ldr	x10, [x20]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x26]
	mov	x0, x22
	bl	_TEMP_THERM_REG
	bl	_adt7475_read
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
	ldr	x10, [x28]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x26]
	mov	x0, x22
	bl	_TEMP_OFFSET_REG
	bl	_adt7475_read
	ldr	x8, [x19, #16]
	ldr	x9, [x25]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x26]
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.lt	LBB0_22
LBB0_23:
	mov	x0, x21
	bl	_adt7475_read_hystersis
Lloh46:
	adrp	x20, _ADT7475_TACH_COUNT@GOTPAGE
Lloh47:
	ldr	x20, [x20, _ADT7475_TACH_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.24:
	mov	x22, #0
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_TACH_MIN_REG
	mov	x1, x0
	mov	x0, x21
	bl	_adt7475_read_word
	ldr	x8, [x19, #64]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_25
LBB0_26:
Lloh48:
	adrp	x25, _ADT7475_PWM_COUNT@GOTPAGE
Lloh49:
	ldr	x25, [x25, _ADT7475_PWM_COUNT@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
	b.lt	LBB0_29
; %bb.27:
	mov	x22, #0
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_PWM_MAX_REG
	bl	_adt7475_read
	ldr	x8, [x19, #24]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	lsl	x20, x22, #2
	str	w0, [x8, x20]
	mov	x0, x22
	bl	_PWM_MIN_REG
	bl	_adt7475_read
	ldr	x8, [x19, #24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x20]
	mov	x0, x21
	mov	x1, x22
	bl	_adt7475_read_pwm
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_28
LBB0_29:
	mov	w0, #0
	bl	_TEMP_TRANGE_REG
	bl	_adt7475_read
	ldr	x8, [x19, #40]
	str	w0, [x8]
	mov	w20, #1
	mov	w0, #1
	bl	_TEMP_TRANGE_REG
	bl	_adt7475_read
	ldr	x8, [x19, #40]
	str	w0, [x8, #4]
	mov	w0, #2
	bl	_TEMP_TRANGE_REG
	bl	_adt7475_read
	ldr	x8, [x19, #40]
	str	w0, [x8, #8]
Lloh50:
	adrp	x8, _jiffies@GOTPAGE
Lloh51:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	str	x8, [x19, #56]
	str	w20, [x19]
	b	LBB0_31
LBB0_30:
	ldr	w8, [x19]
	cbz	w8, LBB0_17
LBB0_31:
	mov	x0, x26
	bl	_mutex_unlock
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_REG_STATUS2,4,2                ; @REG_STATUS2
	.comm	_REG_STATUS1,4,2                ; @REG_STATUS1
	.comm	_REG_EXTEND1,4,2                ; @REG_EXTEND1
	.comm	_ADT7475_VOLTAGE_COUNT,4,2      ; @ADT7475_VOLTAGE_COUNT
	.comm	_INPUT,8,3                      ; @INPUT
	.comm	_REG_EXTEND2,4,2                ; @REG_EXTEND2
	.comm	_ADT7475_TEMP_COUNT,4,2         ; @ADT7475_TEMP_COUNT
	.comm	_ADT7475_TACH_COUNT,4,2         ; @ADT7475_TACH_COUNT
	.comm	_ADT7475_PWM_COUNT,4,2          ; @ADT7475_PWM_COUNT
	.comm	_REG_CONFIG5,4,2                ; @REG_CONFIG5
	.comm	_MIN,8,3                        ; @MIN
	.comm	_MAX,8,3                        ; @MAX
	.comm	_AUTOMIN,8,3                    ; @AUTOMIN
	.comm	_THERM,8,3                      ; @THERM
	.comm	_OFFSET,8,3                     ; @OFFSET
	.no_dead_strip	_adt7475_update_device
.subsections_via_symbols
