	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7475_update_limits
_adt7475_update_limits:                 ## @adt7475_update_limits
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_i2c_get_clientdata
	movq	%rax, %r15
	movq	_REG_CONFIG4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.1:
	movl	%eax, (%r15)
	movq	_REG_CONFIG5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 4(%r15)
	movq	_ADT7475_VOLTAGE_COUNT@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	xorl	%ebx, %ebx
	movq	_MIN@GOTPCREL(%rip), %r13
	movq	_MAX@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	shll	$2, %eax
	movq	16(%r15), %rcx
	movq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	(%r12), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %ecx
	btl	%ebx, %ecx
	jae	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_VOLTAGE_MIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	shll	$2, %eax
	movq	16(%r15), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_VOLTAGE_MAX_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	jns	LBB0_7
	jmp	LBB0_40
LBB0_9:
	testb	$32, 8(%r15)
	je	LBB0_13
## %bb.10:
	movq	_REG_VTT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.11:
	shll	$2, %eax
	movq	16(%r15), %rcx
	movq	_MIN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, 20(%rcx)
	movq	_REG_VTT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.12:
	shll	$2, %eax
	movq	16(%r15), %rcx
	movq	_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, 20(%rcx)
LBB0_13:
	movq	_ADT7475_TEMP_COUNT@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_21
## %bb.14:
	xorl	%ebx, %ebx
	movq	_MIN@GOTPCREL(%rip), %r13
	movq	_MAX@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_TEMP_MIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	shll	$2, %eax
	movq	24(%r15), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_TEMP_MAX_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	shll	$2, %eax
	movq	24(%r15), %rcx
	movq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_TEMP_TMIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	shll	$2, %eax
	movq	24(%r15), %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
	testl	%eax, %eax
	js	LBB0_40
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	shll	$2, %eax
	movq	24(%r15), %rcx
	movq	_THERM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_TEMP_OFFSET_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	24(%r15), %rcx
	movq	_OFFSET@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_21:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_adt7475_read_hystersis
	movq	_ADT7475_TACH_COUNT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_28
## %bb.22:
	xorl	%ebx, %ebx
	movq	_MIN@GOTPCREL(%rip), %r12
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	%ebx, %edi
	callq	_TACH_MIN_REG
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_adt7475_read_word
	testl	%eax, %eax
	js	LBB0_40
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	32(%r15), %rcx
	movq	(%r12), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	(%r14), %eax
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_28
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$3, %rbx
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	$0, 60(%r15)
	jne	LBB0_25
	jmp	LBB0_27
LBB0_28:
	movq	_ADT7475_PWM_COUNT@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_36
## %bb.29:
	xorl	%ebx, %ebx
	movq	_MAX@GOTPCREL(%rip), %r13
	movq	_MIN@GOTPCREL(%rip), %r14
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	40(%r15), %rcx
	movq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_adt7475_read_pwm
	movl	(%r12), %eax
LBB0_35:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_36
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %rbx
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpl	$0, 56(%r15)
	je	LBB0_35
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	%ebx, %edi
	callq	_PWM_MAX_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.33:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	40(%r15), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_PWM_MIN_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	jns	LBB0_34
	jmp	LBB0_40
LBB0_36:
	xorl	%edi, %edi
	callq	_TEMP_TRANGE_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.37:
	movq	48(%r15), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_TEMP_TRANGE_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.38:
	movq	48(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	$2, %edi
	callq	_TEMP_TRANGE_REG
	movl	%eax, %edi
	callq	_adt7475_read
	testl	%eax, %eax
	js	LBB0_40
## %bb.39:
	movq	48(%r15), %rcx
	movl	%eax, 8(%rcx)
	xorl	%eax, %eax
LBB0_40:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_CONFIG4,4,2                ## @REG_CONFIG4
	.comm	_REG_CONFIG5,4,2                ## @REG_CONFIG5
	.comm	_ADT7475_VOLTAGE_COUNT,4,2      ## @ADT7475_VOLTAGE_COUNT
	.comm	_MIN,8,3                        ## @MIN
	.comm	_MAX,8,3                        ## @MAX
	.comm	_REG_VTT_MIN,4,2                ## @REG_VTT_MIN
	.comm	_REG_VTT_MAX,4,2                ## @REG_VTT_MAX
	.comm	_ADT7475_TEMP_COUNT,4,2         ## @ADT7475_TEMP_COUNT
	.comm	_AUTOMIN,8,3                    ## @AUTOMIN
	.comm	_THERM,8,3                      ## @THERM
	.comm	_OFFSET,8,3                     ## @OFFSET
	.comm	_ADT7475_TACH_COUNT,4,2         ## @ADT7475_TACH_COUNT
	.comm	_ADT7475_PWM_COUNT,4,2          ## @ADT7475_PWM_COUNT
	.no_dead_strip	_adt7475_update_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7475_update_limits
_adt7475_update_limits:                 ; @adt7475_update_limits
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_CONFIG4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_CONFIG4@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.1:
	str	w0, [x19]
Lloh3:
	adrp	x8, _REG_CONFIG5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_CONFIG5@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.2:
	str	w0, [x19, #4]
Lloh6:
	adrp	x22, _ADT7475_VOLTAGE_COUNT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ADT7475_VOLTAGE_COUNT@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x21, #0
Lloh8:
	adrp	x23, _MIN@GOTPAGE
Lloh9:
	ldr	x23, [x23, _MIN@GOTPAGEOFF]
Lloh10:
	adrp	x24, _MAX@GOTPAGE
Lloh11:
	ldr	x24, [x24, _MAX@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
	ldr	x10, [x24]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x21, lsl #2]
	ldr	w8, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #8]
	lsr	w9, w9, w21
	tbz	w9, #0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_VOLTAGE_MIN_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
	ldr	x10, [x23]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x21, lsl #2]
	mov	x0, x21
	bl	_VOLTAGE_MAX_REG
	bl	_adt7475_read
	tbz	w0, #31, LBB0_4
	b	LBB0_40
LBB0_9:
	ldrb	w8, [x19, #8]
	tbz	w8, #5, LBB0_13
; %bb.10:
Lloh12:
	adrp	x8, _REG_VTT_MIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_VTT_MIN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.11:
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
Lloh15:
	adrp	x10, _MIN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MIN@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, #20]
Lloh18:
	adrp	x8, _REG_VTT_MAX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REG_VTT_MAX@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.12:
	lsl	w8, w0, #2
	ldr	x9, [x19, #16]
Lloh21:
	adrp	x10, _MAX@GOTPAGE
Lloh22:
	ldr	x10, [x10, _MAX@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, #20]
LBB0_13:
Lloh24:
	adrp	x22, _ADT7475_TEMP_COUNT@GOTPAGE
Lloh25:
	ldr	x22, [x22, _ADT7475_TEMP_COUNT@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.14:
	mov	x21, #0
Lloh26:
	adrp	x23, _MIN@GOTPAGE
Lloh27:
	ldr	x23, [x23, _MIN@GOTPAGEOFF]
Lloh28:
	adrp	x24, _MAX@GOTPAGE
Lloh29:
	ldr	x24, [x24, _MAX@GOTPAGEOFF]
Lloh30:
	adrp	x25, _AUTOMIN@GOTPAGE
Lloh31:
	ldr	x25, [x25, _AUTOMIN@GOTPAGEOFF]
Lloh32:
	adrp	x26, _THERM@GOTPAGE
Lloh33:
	ldr	x26, [x26, _THERM@GOTPAGEOFF]
Lloh34:
	adrp	x27, _OFFSET@GOTPAGE
Lloh35:
	ldr	x27, [x27, _OFFSET@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TEMP_MIN_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	lsl	w8, w0, #2
	ldr	x9, [x19, #24]
	ldr	x10, [x23]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x21, lsl #2]
	mov	x0, x21
	bl	_TEMP_MAX_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	lsl	w8, w0, #2
	ldr	x9, [x19, #24]
	ldr	x10, [x24]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x21, lsl #2]
	mov	x0, x21
	bl	_TEMP_TMIN_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	lsl	w8, w0, #2
	ldr	x9, [x19, #24]
	ldr	x10, [x25]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x21, lsl #2]
	mov	x0, x21
	bl	_TEMP_THERM_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	lsl	w8, w0, #2
	ldr	x9, [x19, #24]
	ldr	x10, [x26]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x21, lsl #2]
	mov	x0, x21
	bl	_TEMP_OFFSET_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #24]
	ldr	x9, [x27]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_15
LBB0_21:
	mov	x0, x20
	bl	_adt7475_read_hystersis
Lloh36:
	adrp	x22, _ADT7475_TACH_COUNT@GOTPAGE
Lloh37:
	ldr	x22, [x22, _ADT7475_TACH_COUNT@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.22:
	mov	x21, #0
Lloh38:
	adrp	x23, _MIN@GOTPAGE
Lloh39:
	ldr	x23, [x23, _MIN@GOTPAGEOFF]
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x21
	bl	_TACH_MIN_REG
	mov	x1, x0
	mov	x0, x20
	bl	_adt7475_read_word
	tbnz	w0, #31, LBB0_40
; %bb.24:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x21, lsl #2]
	ldr	w8, [x22]
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_28
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	cmp	x21, #3
	b.ne	LBB0_23
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w9, [x19, #60]
	cbnz	w9, LBB0_23
	b	LBB0_25
LBB0_28:
Lloh40:
	adrp	x22, _ADT7475_PWM_COUNT@GOTPAGE
Lloh41:
	ldr	x22, [x22, _ADT7475_PWM_COUNT@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.29:
	mov	x21, #0
Lloh42:
	adrp	x23, _MAX@GOTPAGE
Lloh43:
	ldr	x23, [x23, _MAX@GOTPAGEOFF]
Lloh44:
	adrp	x24, _MIN@GOTPAGE
Lloh45:
	ldr	x24, [x24, _MIN@GOTPAGEOFF]
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x21, lsl #2]
	mov	x0, x20
	mov	x1, x21
	bl	_adt7475_read_pwm
	ldr	w8, [x22]
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_36
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	cmp	x21, #1
	b.ne	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	w9, [x19, #56]
	cbz	w9, LBB0_31
LBB0_34:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x21
	bl	_PWM_MAX_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	str	w0, [x8, x21, lsl #2]
	mov	x0, x21
	bl	_PWM_MIN_REG
	bl	_adt7475_read
	tbz	w0, #31, LBB0_30
	b	LBB0_40
LBB0_36:
	mov	w0, #0
	bl	_TEMP_TRANGE_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.37:
	ldr	x8, [x19, #48]
	str	w0, [x8]
	mov	w0, #1
	bl	_TEMP_TRANGE_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.38:
	ldr	x8, [x19, #48]
	str	w0, [x8, #4]
	mov	w0, #2
	bl	_TEMP_TRANGE_REG
	bl	_adt7475_read
	tbnz	w0, #31, LBB0_40
; %bb.39:
	ldr	x8, [x19, #48]
	str	w0, [x8, #8]
	mov	w0, #0
LBB0_40:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_CONFIG4,4,2                ; @REG_CONFIG4
	.comm	_REG_CONFIG5,4,2                ; @REG_CONFIG5
	.comm	_ADT7475_VOLTAGE_COUNT,4,2      ; @ADT7475_VOLTAGE_COUNT
	.comm	_MIN,8,3                        ; @MIN
	.comm	_MAX,8,3                        ; @MAX
	.comm	_REG_VTT_MIN,4,2                ; @REG_VTT_MIN
	.comm	_REG_VTT_MAX,4,2                ; @REG_VTT_MAX
	.comm	_ADT7475_TEMP_COUNT,4,2         ; @ADT7475_TEMP_COUNT
	.comm	_AUTOMIN,8,3                    ; @AUTOMIN
	.comm	_THERM,8,3                      ; @THERM
	.comm	_OFFSET,8,3                     ; @OFFSET
	.comm	_ADT7475_TACH_COUNT,4,2         ; @ADT7475_TACH_COUNT
	.comm	_ADT7475_PWM_COUNT,4,2          ; @ADT7475_PWM_COUNT
	.no_dead_strip	_adt7475_update_limits
.subsections_via_symbols
