	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f71882fg_update_device
_f71882fg_update_device:                ## @f71882fg_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	_dev_get_drvdata
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_f71882fg@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	sete	%bl
	addl	$3, %ebx
	movq	_f71858fg@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%r13b
	movq	_f8000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%r14b
	leaq	24(%r15), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$60, %rax, %rsi
	addq	120(%r15), %rsi
	callq	_time_after
	movl	%ebx, %r12d
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movb	%r14b, -41(%rbp)                ## 1-byte Spill
	movq	(%r15), %rax
	movq	_f71882fg@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_F71882FG_REG_IN1_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 216(%r15)
	movq	_F71882FG_REG_IN_BEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 208(%r15)
LBB0_5:
	movslq	12(%r15), %r14
	movq	%r14, %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_F71882FG_REG_TEMP_OVT
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	200(%r15), %rcx
	movq	%rax, 8(%rcx,%rbx,8)
	movl	%r14d, %edi
	callq	_F71882FG_REG_TEMP_HIGH
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	192(%r15), %rcx
	movq	%rax, 8(%rcx,%rbx,8)
	movslq	12(%r15), %rax
	addq	$2, %rax
	incq	%rbx
	incl	%r14d
	cmpq	%rax, %rbx
	jl	LBB0_6
## %bb.7:
	movq	(%r15), %rax
	movq	_f8000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	callq	_F71882FG_REG_TEMP_HYST
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	184(%r15), %rcx
	movq	%rax, (%rcx)
	movl	$1, %edi
	callq	_F71882FG_REG_TEMP_HYST
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	184(%r15), %rcx
	movq	%rax, 8(%rcx)
	movq	(%r15), %rax
LBB0_9:
	movq	_f71862fg@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_11
## %bb.10:
	xorl	%ebx, %ebx
	movq	_f71882fg@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_11:
	movq	_F71882FG_REG_FAN_BEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 176(%r15)
	movq	_F71882FG_REG_TEMP_BEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 168(%r15)
	movq	_F71882FG_REG_TEMP_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, %rbx
	xorl	%eax, %eax
	testb	$4, %bl
	sete	%al
	addl	%eax, %eax
	addl	$2, %eax
	movq	16(%r15), %rcx
	movl	%eax, 8(%rcx)
	xorl	%eax, %eax
	testb	$8, %bl
	sete	%al
	addl	%eax, %eax
	addl	$2, %eax
	movl	%eax, 12(%rcx)
	andl	$2, %ebx
LBB0_12:
	movq	_F71882FG_REG_PECI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	andl	$3, %eax
	cmpl	$1, %eax
	je	LBB0_13
## %bb.14:
	cmpl	$2, %eax
	jne	LBB0_16
## %bb.15:
	movl	$5, %eax
	jmp	LBB0_19
LBB0_1:
	cmpl	$0, 8(%r15)
	je	LBB0_3
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_25
LBB0_13:
	movl	$6, %eax
	jmp	LBB0_19
LBB0_16:
	movq	(%r15), %rcx
	cmpq	(%r14), %rcx
	je	LBB0_18
## %bb.17:
	movl	$2, %eax
	movq	_f71882fg@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_19
LBB0_18:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	sete	%al
	addl	%eax, %eax
	addl	$2, %eax
LBB0_19:
	movq	16(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	_F71882FG_REG_PWM_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 160(%r15)
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_F71882FG_REG_FAN_HYST
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	152(%r15), %rcx
	movq	%rax, (%rcx)
	movl	$1, %edi
	callq	_F71882FG_REG_FAN_HYST
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	152(%r15), %rcx
	movq	%rax, 8(%rcx)
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_F71882FG_REG_POINT_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	136(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 8(%rcx)
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_F71882FG_REG_POINT_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	136(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 32(%rcx)
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_F71882FG_REG_POINT_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	128(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, (%rcx)
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	%ebx, %edi
	movl	$3, %esi
	callq	_F71882FG_REG_POINT_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	128(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 24(%rcx)
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_24
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_F71882FG_REG_POINT_MAPPING
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	144(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r15), %rax
	cmpq	(%r14), %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_F71882FG_REG_POINT_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	136(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, (%rcx)
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_F71882FG_REG_POINT_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	136(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 8(%rcx)
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_F71882FG_REG_POINT_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	136(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 16(%rcx)
	movl	%ebx, %edi
	movl	$3, %esi
	callq	_F71882FG_REG_POINT_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	136(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 24(%rcx)
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_F71882FG_REG_POINT_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	136(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 32(%rcx)
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_F71882FG_REG_POINT_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	128(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, (%rcx)
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_F71882FG_REG_POINT_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	128(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 8(%rcx)
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_F71882FG_REG_POINT_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	128(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rax, 16(%rcx)
	jmp	LBB0_23
LBB0_24:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 120(%r15)
	movb	-41(%rbp), %r14b                ## 1-byte Reload
LBB0_25:
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	addq	32(%r15), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_26
LBB0_27:
	orb	%r14b, %r13b
	movq	_F71882FG_REG_TEMP_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 112(%r15)
	movq	_F71882FG_REG_TEMP_DIODE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 104(%r15)
	movslq	12(%r15), %r14
	movq	%r14, %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_f71882fg_read_temp
	movq	96(%r15), %rcx
	movl	%eax, 4(%rcx,%rbx,4)
	movslq	12(%r15), %rax
	addq	$2, %rax
	incq	%rbx
	incl	%r14d
	cmpq	%rax, %rbx
	jl	LBB0_28
## %bb.29:
	movq	_F71882FG_REG_FAN_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 88(%r15)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_F71882FG_REG_FAN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read16
	movq	56(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	%ebx, %edi
	callq	_F71882FG_REG_FAN_TARGET
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read16
	movq	80(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	%ebx, %edi
	callq	_F71882FG_REG_FAN_FULL_SPEED
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read16
	movq	72(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	%ebx, %edi
	callq	_F71882FG_REG_PWM
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	64(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_30
## %bb.31:
	movq	(%r15), %rax
	movq	_f8000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.32:
	movl	$3, %edi
	callq	_F71882FG_REG_FAN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read16
	movq	56(%r15), %rcx
	movq	%rax, 24(%rcx)
	movq	(%r15), %rax
LBB0_33:
	movq	_f71882fg@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.34:
	movq	_F71882FG_REG_IN_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_f71882fg_read8
	movq	%rax, 48(%r15)
LBB0_35:
	testb	%r13b, %r13b
	movl	$3, %eax
	movl	$9, %r14d
	cmovneq	%rax, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_F71882FG_REG_IN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	40(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_36
## %bb.37:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	movl	$1, 8(%r15)
	jmp	LBB0_38
LBB0_26:
	cmpl	$0, 8(%r15)
	je	LBB0_27
LBB0_38:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_f71882fg,8,3                   ## @f71882fg
	.comm	_f71858fg,8,3                   ## @f71858fg
	.comm	_f8000,8,3                      ## @f8000
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_F71882FG_REG_IN1_HIGH,4,2      ## @F71882FG_REG_IN1_HIGH
	.comm	_F71882FG_REG_IN_BEEP,4,2       ## @F71882FG_REG_IN_BEEP
	.comm	_f71862fg,8,3                   ## @f71862fg
	.comm	_F71882FG_REG_FAN_BEEP,4,2      ## @F71882FG_REG_FAN_BEEP
	.comm	_F71882FG_REG_TEMP_BEEP,4,2     ## @F71882FG_REG_TEMP_BEEP
	.comm	_F71882FG_REG_TEMP_TYPE,4,2     ## @F71882FG_REG_TEMP_TYPE
	.comm	_F71882FG_REG_PECI,4,2          ## @F71882FG_REG_PECI
	.comm	_F71882FG_REG_PWM_ENABLE,4,2    ## @F71882FG_REG_PWM_ENABLE
	.comm	_F71882FG_REG_TEMP_STATUS,4,2   ## @F71882FG_REG_TEMP_STATUS
	.comm	_F71882FG_REG_TEMP_DIODE_OPEN,4,2 ## @F71882FG_REG_TEMP_DIODE_OPEN
	.comm	_F71882FG_REG_FAN_STATUS,4,2    ## @F71882FG_REG_FAN_STATUS
	.comm	_F71882FG_REG_IN_STATUS,4,2     ## @F71882FG_REG_IN_STATUS
	.no_dead_strip	_f71882fg_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function f71882fg_update_device
lCPI0_0:
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_f71882fg_update_device:                ; @f71882fg_update_device
	.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
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x24, _f71882fg@GOTPAGE
Lloh1:
	ldr	x24, [x24, _f71882fg@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	mov	w9, #3
	cinc	w25, w9, eq
Lloh2:
	adrp	x9, _f71858fg@GOTPAGE
Lloh3:
	ldr	x9, [x9, _f71858fg@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh5:
	adrp	x26, _f8000@GOTPAGE
Lloh6:
	ldr	x26, [x26, _f8000@GOTPAGEOFF]
	ldr	x9, [x26]
	ccmp	x8, x9, #4, ne
	cset	w22, eq
	add	x20, x0, #24
	mov	x0, x20
	bl	_mutex_lock
Lloh7:
	adrp	x28, _jiffies@GOTPAGE
Lloh8:
	ldr	x28, [x28, _jiffies@GOTPAGEOFF]
	ldr	x0, [x28]
	ldr	x8, [x19, #120]
Lloh9:
	adrp	x27, _HZ@GOTPAGE
Lloh10:
	ldr	x27, [x27, _HZ@GOTPAGEOFF]
	ldrsw	x9, [x27]
	mov	w10, #60
	madd	x1, x9, x10, x8
	bl	_time_after
	cbz	x0, LBB0_13
LBB0_1:
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _F71882FG_REG_IN1_HIGH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F71882FG_REG_IN1_HIGH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #216]
Lloh14:
	adrp	x8, _F71882FG_REG_IN_BEEP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _F71882FG_REG_IN_BEEP@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #208]
LBB0_3:
	ldrsw	x21, [x19, #12]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_F71882FG_REG_TEMP_OVT
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #200]
	lsl	x23, x21, #3
	str	x0, [x8, x23]
	mov	x0, x21
	bl	_F71882FG_REG_TEMP_HIGH
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #192]
	str	x0, [x8, x23]
	add	x8, x21, #1
	ldrsw	x9, [x19, #12]
	add	x9, x9, #2
	cmp	x21, x9
	mov	x21, x8
	b.lt	LBB0_4
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	mov	w0, #0
	bl	_F71882FG_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #184]
	str	x0, [x8]
	mov	w0, #1
	bl	_F71882FG_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #184]
	str	x0, [x8, #8]
	ldr	x8, [x19]
LBB0_7:
Lloh17:
	adrp	x28, _f71862fg@GOTPAGE
Lloh18:
	ldr	x28, [x28, _f71862fg@GOTPAGEOFF]
	ldr	x9, [x28]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _F71882FG_REG_FAN_BEEP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _F71882FG_REG_FAN_BEEP@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #176]
Lloh22:
	adrp	x8, _F71882FG_REG_TEMP_BEEP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _F71882FG_REG_TEMP_BEEP@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #168]
Lloh25:
	adrp	x8, _F71882FG_REG_TEMP_TYPE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _F71882FG_REG_TEMP_TYPE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #16]
	dup.2s	v0, w0
Lloh28:
	adrp	x9, lCPI0_0@PAGE
Lloh29:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	and.8b	v0, v0, v1
	cmeq.2s	v0, v0, #0
	movi.2s	v1, #2
	movi.2s	v2, #4
	bsl.8b	v0, v2, v1
	str	d0, [x8, #8]
	and	w21, w0, #0x2
	b	LBB0_10
LBB0_9:
	mov	w21, #0
LBB0_10:
Lloh30:
	adrp	x8, _F71882FG_REG_PECI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _F71882FG_REG_PECI@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	and	w8, w0, #0x3
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.11:
	cmp	w8, #2
	b.ne	LBB0_16
; %bb.12:
	mov	w8, #5
	b	LBB0_19
LBB0_13:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_1
; %bb.14:
	ldr	x0, [x28]
	b	LBB0_25
LBB0_15:
	mov	w8, #6
	b	LBB0_19
LBB0_16:
	ldr	x9, [x19]
	ldr	x10, [x28]
	mov	w8, #2
	cmp	x9, x10
	b.eq	LBB0_18
; %bb.17:
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_19
LBB0_18:
	mov	w9, #4
	cmp	w21, #0
	csel	w8, w9, w8, eq
LBB0_19:
	ldr	x9, [x19, #16]
	str	w8, [x9, #4]
Lloh33:
	adrp	x8, _F71882FG_REG_PWM_ENABLE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _F71882FG_REG_PWM_ENABLE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #160]
	mov	w0, #0
	bl	_F71882FG_REG_FAN_HYST
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #152]
	str	x0, [x8]
	mov	w0, #1
	bl	_F71882FG_REG_FAN_HYST
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	mov	x21, #0
	ldr	x8, [x19, #152]
	str	x0, [x8, #8]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	w1, #1
	bl	_F71882FG_REG_POINT_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #136]
	ldr	x8, [x8, x23]
	str	x0, [x8, #8]
	mov	x0, x21
	mov	w1, #4
	bl	_F71882FG_REG_POINT_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #136]
	ldr	x8, [x8, x23]
	str	x0, [x8, #32]
	mov	x0, x21
	mov	w1, #0
	bl	_F71882FG_REG_POINT_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #128]
	ldr	x8, [x8, x23]
	str	x0, [x8]
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x21
	mov	w1, #3
	bl	_F71882FG_REG_POINT_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #128]
	ldr	x8, [x8, x21, lsl #3]
	str	x0, [x8, #24]
	add	x21, x21, #1
	cmp	x25, x21
	b.eq	LBB0_24
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_F71882FG_REG_POINT_MAPPING
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #144]
	str	x0, [x8, x21, lsl #3]
	ldr	x8, [x19]
	ldr	x9, [x28]
	lsl	x23, x21, #3
	mov	x0, x21
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	w1, #0
	bl	_F71882FG_REG_POINT_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #136]
	ldr	x8, [x8, x23]
	str	x0, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_F71882FG_REG_POINT_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #136]
	ldr	x8, [x8, x23]
	str	x0, [x8, #8]
	mov	x0, x21
	mov	w1, #2
	bl	_F71882FG_REG_POINT_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #136]
	ldr	x8, [x8, x23]
	str	x0, [x8, #16]
	mov	x0, x21
	mov	w1, #3
	bl	_F71882FG_REG_POINT_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #136]
	ldr	x8, [x8, x23]
	str	x0, [x8, #24]
	mov	x0, x21
	mov	w1, #4
	bl	_F71882FG_REG_POINT_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #136]
	ldr	x8, [x8, x23]
	str	x0, [x8, #32]
	mov	x0, x21
	mov	w1, #0
	bl	_F71882FG_REG_POINT_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #128]
	ldr	x8, [x8, x23]
	str	x0, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_F71882FG_REG_POINT_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #128]
	ldr	x8, [x8, x23]
	str	x0, [x8, #8]
	mov	x0, x21
	mov	w1, #2
	bl	_F71882FG_REG_POINT_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #128]
	ldr	x8, [x8, x23]
	str	x0, [x8, #16]
	b	LBB0_21
LBB0_24:
Lloh36:
	adrp	x28, _jiffies@GOTPAGE
Lloh37:
	ldr	x28, [x28, _jiffies@GOTPAGEOFF]
	ldr	x0, [x28]
	str	x0, [x19, #120]
LBB0_25:
	ldr	x8, [x19, #32]
	ldrsw	x9, [x27]
	add	x1, x8, x9
	bl	_time_after
	cbz	x0, LBB0_37
LBB0_26:
Lloh38:
	adrp	x8, _F71882FG_REG_TEMP_STATUS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _F71882FG_REG_TEMP_STATUS@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #112]
Lloh41:
	adrp	x8, _F71882FG_REG_TEMP_DIODE_OPEN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _F71882FG_REG_TEMP_DIODE_OPEN@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #104]
	ldrsw	x21, [x19, #12]
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_f71882fg_read_temp
	ldr	x8, [x19, #96]
	str	w0, [x8, x21, lsl #2]
	add	x8, x21, #1
	ldrsw	x9, [x19, #12]
	add	x9, x9, #2
	cmp	x21, x9
	mov	x21, x8
	b.lt	LBB0_27
; %bb.28:
Lloh44:
	adrp	x8, _F71882FG_REG_FAN_STATUS@GOTPAGE
Lloh45:
	ldr	x8, [x8, _F71882FG_REG_FAN_STATUS@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	mov	x21, #0
	str	x0, [x19, #88]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_F71882FG_REG_FAN
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read16
	ldr	x8, [x19, #56]
	lsl	x23, x21, #3
	str	x0, [x8, x23]
	mov	x0, x21
	bl	_F71882FG_REG_FAN_TARGET
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read16
	ldr	x8, [x19, #80]
	str	x0, [x8, x23]
	mov	x0, x21
	bl	_F71882FG_REG_FAN_FULL_SPEED
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read16
	ldr	x8, [x19, #72]
	str	x0, [x8, x23]
	mov	x0, x21
	bl	_F71882FG_REG_PWM
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #64]
	str	x0, [x8, x23]
	add	x21, x21, #1
	cmp	x25, x21
	b.ne	LBB0_29
; %bb.30:
	ldr	x8, [x19]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.31:
	mov	w0, #3
	bl	_F71882FG_REG_FAN
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read16
	ldr	x8, [x19, #56]
	str	x0, [x8, #24]
	ldr	x8, [x19]
LBB0_32:
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.33:
Lloh47:
	adrp	x8, _F71882FG_REG_IN_STATUS@GOTPAGE
Lloh48:
	ldr	x8, [x8, _F71882FG_REG_IN_STATUS@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_f71882fg_read8
	str	x0, [x19, #48]
LBB0_34:
	mov	x21, #0
	cmp	w22, #0
	mov	w8, #9
	mov	w9, #3
	csel	x23, x9, x8, ne
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_F71882FG_REG_IN
	mov	x1, x0
	mov	x0, x19
	bl	_f71882fg_read8
	ldr	x8, [x19, #40]
	str	x0, [x8, x21, lsl #3]
	add	x21, x21, #1
	cmp	x23, x21
	b.ne	LBB0_35
; %bb.36:
	ldr	x8, [x28]
	str	x8, [x19, #32]
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_38
LBB0_37:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_26
LBB0_38:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_f71882fg,8,3                   ; @f71882fg
	.comm	_f71858fg,8,3                   ; @f71858fg
	.comm	_f8000,8,3                      ; @f8000
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_F71882FG_REG_IN1_HIGH,4,2      ; @F71882FG_REG_IN1_HIGH
	.comm	_F71882FG_REG_IN_BEEP,4,2       ; @F71882FG_REG_IN_BEEP
	.comm	_f71862fg,8,3                   ; @f71862fg
	.comm	_F71882FG_REG_FAN_BEEP,4,2      ; @F71882FG_REG_FAN_BEEP
	.comm	_F71882FG_REG_TEMP_BEEP,4,2     ; @F71882FG_REG_TEMP_BEEP
	.comm	_F71882FG_REG_TEMP_TYPE,4,2     ; @F71882FG_REG_TEMP_TYPE
	.comm	_F71882FG_REG_PECI,4,2          ; @F71882FG_REG_PECI
	.comm	_F71882FG_REG_PWM_ENABLE,4,2    ; @F71882FG_REG_PWM_ENABLE
	.comm	_F71882FG_REG_TEMP_STATUS,4,2   ; @F71882FG_REG_TEMP_STATUS
	.comm	_F71882FG_REG_TEMP_DIODE_OPEN,4,2 ; @F71882FG_REG_TEMP_DIODE_OPEN
	.comm	_F71882FG_REG_FAN_STATUS,4,2    ; @F71882FG_REG_FAN_STATUS
	.comm	_F71882FG_REG_IN_STATUS,4,2     ; @F71882FG_REG_IN_STATUS
	.no_dead_strip	_f71882fg_update_device
.subsections_via_symbols
