	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w83781d_update_device
_w83781d_update_device:                 ## @w83781d_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	144(%rax), %r14
	leaq	128(%rax), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %rdx
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	addq	136(%r15), %rax
	movq	(%rdx), %rdi
	sarl	%ecx
	movslq	%ecx, %rsi
	addq	%rax, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_dbg
	movq	8(%r15), %rax
	xorl	%ebx, %ebx
	movq	_w83783s@GOTPCREL(%rip), %r12
	movq	_w83782d@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	$9, %rbx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, %rbx
	je	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_W83781D_REG_IN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_W83781D_REG_IN_MIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	24(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_W83781D_REG_IN_MAX
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	32(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	8(%r15), %rax
	cmpq	(%r13), %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$6, %rbx
	jne	LBB0_7
LBB0_8:
	xorl	%edi, %edi
	callq	_W83781D_REG_FAN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	40(%r15), %rcx
	movl	%eax, (%rcx)
	xorl	%edi, %edi
	callq	_W83781D_REG_FAN_MIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	48(%r15), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_W83781D_REG_FAN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	40(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	$1, %edi
	callq	_W83781D_REG_FAN_MIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	48(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	$2, %edi
	callq	_W83781D_REG_FAN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	40(%r15), %rcx
	movl	%eax, 8(%rcx)
	movl	$2, %edi
	callq	_W83781D_REG_FAN_MIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	48(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	8(%r15), %rax
	movq	_w83781d@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.9:
	movq	_as99127f@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.10:
	movq	_W83781D_REG_PWM@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movq	56(%r15), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movq	56(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	8(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_13
## %bb.11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	(%rbx), %rax
	movl	8(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movq	56(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	(%rbx), %rax
	movl	12(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movq	56(%r15), %rcx
	movl	%eax, 12(%rcx)
LBB0_13:
	movq	_W83781D_REG_PWMCLK12@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 64(%r15)
LBB0_14:
	movl	$1, %edi
	callq	_W83781D_REG_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movl	%eax, 68(%r15)
	movl	$1, %edi
	callq	_W83781D_REG_TEMP_OVER
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movl	%eax, 72(%r15)
	movl	$1, %edi
	callq	_W83781D_REG_TEMP_HYST
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movl	%eax, 76(%r15)
	movl	$2, %edi
	callq	_W83781D_REG_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	80(%r15), %rcx
	movl	%eax, (%rcx)
	movl	$2, %edi
	callq	_W83781D_REG_TEMP_OVER
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	88(%r15), %rcx
	movl	%eax, (%rcx)
	movl	$2, %edi
	callq	_W83781D_REG_TEMP_HYST
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	96(%r15), %rcx
	movl	%eax, (%rcx)
	movq	8(%r15), %rax
	cmpq	(%r12), %rax
	je	LBB0_16
## %bb.15:
	movl	$3, %edi
	callq	_W83781D_REG_TEMP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	80(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	$3, %edi
	callq	_W83781D_REG_TEMP_OVER
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	88(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	$3, %edi
	callq	_W83781D_REG_TEMP_HYST
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_w83781d_read_value
	movq	96(%r15), %rcx
	movl	%eax, 4(%rcx)
LBB0_16:
	movq	_W83781D_REG_VID_FANDIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %ebx
	andl	$15, %eax
	movl	%eax, 104(%r15)
	movq	_W83781D_REG_CHIPID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	shll	$4, %eax
	andl	$16, %eax
	orl	%eax, 104(%r15)
	movl	%ebx, %eax
	shrl	$4, %eax
	andl	$3, %eax
	movq	112(%r15), %rcx
	movl	%eax, (%rcx)
	shrl	$6, %ebx
	andl	$3, %ebx
	movl	%ebx, 4(%rcx)
	movq	_W83781D_REG_PIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	shrl	$6, %eax
	andl	$3, %eax
	movq	112(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	8(%r15), %rax
	movq	_w83781d@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.17:
	movq	_as99127f@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:
	movq	_W83781D_REG_VBAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	$4, %ecx
	movq	112(%r15), %rdx
	orl	%ecx, (%rdx)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$4, %ecx
	orl	%ecx, 4(%rdx)
	shrl	$5, %eax
	andl	$4, %eax
	orl	%eax, 8(%rdx)
	movq	8(%r15), %rax
LBB0_19:
	cmpq	(%r13), %rax
	jne	LBB0_21
## %bb.20:
	movq	_W83782D_REG_ALARM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %r12d
	movq	_W83782D_REG_ALARM2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %ebx
	shll	$8, %ebx
	orl	%r12d, %ebx
	movq	_W83782D_REG_ALARM3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %r12d
	shll	$16, %r12d
	movq	_jiffies@GOTPCREL(%rip), %r14
	jmp	LBB0_25
LBB0_21:
	cmpq	(%r12), %rax
	movq	_jiffies@GOTPCREL(%rip), %r14
	jne	LBB0_23
## %bb.22:
	movq	_W83782D_REG_ALARM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %r12d
	movq	_W83782D_REG_ALARM2@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_1:
	cmpl	$0, (%r15)
	jne	LBB0_29
	jmp	LBB0_2
LBB0_23:
	movq	_W83781D_REG_ALARM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %r12d
	movq	_W83781D_REG_ALARM2@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %ebx
	shll	$8, %ebx
LBB0_25:
	orl	%ebx, %r12d
	movl	%r12d, 120(%r15)
	movq	_W83781D_REG_BEEP_INTS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	movl	%eax, %ebx
	shll	$8, %ebx
	movq	_W83781D_REG_BEEP_INTS1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	addl	%ebx, %eax
	movl	%eax, 124(%r15)
	movq	8(%r15), %rax
	movq	_w83781d@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.26:
	movq	_as99127f@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.27:
	movq	_W83781D_REG_BEEP_INTS3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_w83781d_read_value
	shll	$16, %eax
	orl	%eax, 124(%r15)
LBB0_28:
	movq	(%r14), %rax
	movq	%rax, 136(%r15)
	movl	$1, (%r15)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_29:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r15, %rax
	addq	$8, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Starting device update\n"

	.comm	_w83783s,8,3                    ## @w83783s
	.comm	_w83782d,8,3                    ## @w83782d
	.comm	_w83781d,8,3                    ## @w83781d
	.comm	_as99127f,8,3                   ## @as99127f
	.comm	_W83781D_REG_PWM,8,3            ## @W83781D_REG_PWM
	.comm	_W83781D_REG_PWMCLK12,4,2       ## @W83781D_REG_PWMCLK12
	.comm	_W83781D_REG_VID_FANDIV,4,2     ## @W83781D_REG_VID_FANDIV
	.comm	_W83781D_REG_CHIPID,4,2         ## @W83781D_REG_CHIPID
	.comm	_W83781D_REG_PIN,4,2            ## @W83781D_REG_PIN
	.comm	_W83781D_REG_VBAT,4,2           ## @W83781D_REG_VBAT
	.comm	_W83782D_REG_ALARM1,4,2         ## @W83782D_REG_ALARM1
	.comm	_W83782D_REG_ALARM2,4,2         ## @W83782D_REG_ALARM2
	.comm	_W83782D_REG_ALARM3,4,2         ## @W83782D_REG_ALARM3
	.comm	_W83781D_REG_ALARM1,4,2         ## @W83781D_REG_ALARM1
	.comm	_W83781D_REG_ALARM2,4,2         ## @W83781D_REG_ALARM2
	.comm	_W83781D_REG_BEEP_INTS2,4,2     ## @W83781D_REG_BEEP_INTS2
	.comm	_W83781D_REG_BEEP_INTS1,4,2     ## @W83781D_REG_BEEP_INTS1
	.comm	_W83781D_REG_BEEP_INTS3,4,2     ## @W83781D_REG_BEEP_INTS3
	.no_dead_strip	_w83781d_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 w83781d_update_device
lCPI0_0:
	.long	4294967292                      ; 0xfffffffc
	.long	4294967290                      ; 0xfffffffa
lCPI0_1:
	.long	4294967293                      ; 0xfffffffd
	.long	4294967292                      ; 0xfffffffc
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_w83781d_update_device:                 ; @w83781d_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
	mov	x21, x0
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	x27, [x0, #144]
	add	x20, x0, #128
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x22, _jiffies@GOTPAGE
Lloh1:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	x8, [x19, #136]
Lloh2:
	adrp	x9, _HZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x8, x8, x9
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	x1, x8, w9, sxtw
	bl	_time_after
	cbz	x0, LBB0_20
LBB0_1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	mov	x21, #0
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x23, _w83783s@GOTPAGE
Lloh8:
	ldr	x23, [x23, _w83783s@GOTPAGEOFF]
Lloh9:
	adrp	x24, _w83782d@GOTPAGE
Lloh10:
	ldr	x24, [x24, _w83782d@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	cmp	x21, #9
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	cmp	x8, x9
	ccmp	x21, #1, #0, eq
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_W83781D_REG_IN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #16]
	lsl	x25, x21, #2
	str	w0, [x8, x25]
	mov	x0, x21
	bl	_W83781D_REG_IN_MIN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #24]
	str	w0, [x8, x25]
	mov	x0, x21
	bl	_W83781D_REG_IN_MAX
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #32]
	str	w0, [x8, x25]
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	ccmp	x21, #6, #0, ne
	b.ne	LBB0_2
LBB0_5:
	mov	w0, #0
	bl	_W83781D_REG_FAN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #40]
	str	w0, [x8]
	mov	w0, #0
	bl	_W83781D_REG_FAN_MIN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #48]
	str	w0, [x8]
	mov	w0, #1
	bl	_W83781D_REG_FAN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #40]
	str	w0, [x8, #4]
	mov	w0, #1
	bl	_W83781D_REG_FAN_MIN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #48]
	str	w0, [x8, #4]
	mov	w0, #2
	bl	_W83781D_REG_FAN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #40]
	str	w0, [x8, #8]
	mov	w0, #2
	bl	_W83781D_REG_FAN_MIN
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #48]
	str	w0, [x8, #8]
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x26, _w83781d@GOTPAGE
Lloh12:
	ldr	x26, [x26, _w83781d@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh13:
	adrp	x25, _as99127f@GOTPAGE
Lloh14:
	ldr	x25, [x25, _as99127f@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.6:
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.7:
Lloh15:
	adrp	x21, _W83781D_REG_PWM@GOTPAGE
Lloh16:
	ldr	x21, [x21, _W83781D_REG_PWM@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8]
	ldr	x8, [x21]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8, #4]
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	cbz	x27, LBB0_10
; %bb.9:
	ldr	x8, [x21]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8, #8]
	ldr	x8, [x21]
	ldr	w1, [x8, #12]
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8, #12]
LBB0_10:
Lloh17:
	adrp	x8, _W83781D_REG_PWMCLK12@GOTPAGE
Lloh18:
	ldr	x8, [x8, _W83781D_REG_PWMCLK12@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	ubfx	w8, w0, #3, #1
	str	w8, [x19, #64]
LBB0_11:
	mov	w0, #1
	bl	_W83781D_REG_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	str	w0, [x19, #68]
	mov	w0, #1
	bl	_W83781D_REG_TEMP_OVER
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	str	w0, [x19, #72]
	mov	w0, #1
	bl	_W83781D_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	str	w0, [x19, #76]
	mov	w0, #2
	bl	_W83781D_REG_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #80]
	str	w0, [x8]
	mov	w0, #2
	bl	_W83781D_REG_TEMP_OVER
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #88]
	str	w0, [x8]
	mov	w0, #2
	bl	_W83781D_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #96]
	str	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.12:
	mov	w0, #3
	bl	_W83781D_REG_TEMP
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #80]
	str	w0, [x8, #4]
	mov	w0, #3
	bl	_W83781D_REG_TEMP_OVER
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #88]
	str	w0, [x8, #4]
	mov	w0, #3
	bl	_W83781D_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #96]
	str	w0, [x8, #4]
LBB0_13:
Lloh20:
	adrp	x8, _W83781D_REG_VID_FANDIV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _W83781D_REG_VID_FANDIV@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	mov	x21, x0
	and	w8, w0, #0xf
	str	w8, [x19, #104]
Lloh23:
	adrp	x8, _W83781D_REG_CHIPID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _W83781D_REG_CHIPID@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	ubfiz	w8, w0, #4, #1
	ldr	w9, [x19, #104]
	orr	w8, w8, w9
	str	w8, [x19, #104]
	ldr	x8, [x19, #112]
	dup.2s	v0, w21
Lloh26:
	adrp	x9, lCPI0_0@PAGE
Lloh27:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi.2s	v1, #3
	and.8b	v0, v0, v1
	str	d0, [x8]
Lloh28:
	adrp	x8, _W83781D_REG_PIN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _W83781D_REG_PIN@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	ubfx	w8, w0, #6, #2
	ldr	x9, [x19, #112]
	str	w8, [x9, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.14:
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
Lloh31:
	adrp	x8, _W83781D_REG_VBAT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _W83781D_REG_VBAT@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	x8, [x19, #112]
	dup.2s	v0, w0
Lloh34:
	adrp	x9, lCPI0_1@PAGE
Lloh35:
	ldr	d1, [x9, lCPI0_1@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi.2s	v1, #4
	and.8b	v0, v0, v1
	ldr	d1, [x8]
	orr.8b	v0, v1, v0
	str	d0, [x8]
	lsr	w9, w0, #5
	and	w9, w9, #0x4
	ldr	w10, [x8, #8]
	orr	w9, w10, w9
	str	w9, [x8, #8]
	ldr	x8, [x19, #8]
LBB0_16:
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
Lloh36:
	adrp	x8, _W83782D_REG_ALARM1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _W83782D_REG_ALARM1@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	mov	x21, x0
Lloh39:
	adrp	x8, _W83782D_REG_ALARM2@GOTPAGE
Lloh40:
	ldr	x8, [x8, _W83782D_REG_ALARM2@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	orr	w23, w21, w0, lsl #8
Lloh42:
	adrp	x8, _W83782D_REG_ALARM3@GOTPAGE
Lloh43:
	ldr	x8, [x8, _W83782D_REG_ALARM3@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	lsl	w21, w0, #16
	b	LBB0_23
LBB0_18:
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.19:
Lloh45:
	adrp	x8, _W83782D_REG_ALARM1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _W83782D_REG_ALARM1@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	mov	x21, x0
Lloh48:
	adrp	x8, _W83782D_REG_ALARM2@GOTPAGE
Lloh49:
	ldr	x8, [x8, _W83782D_REG_ALARM2@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
	ldr	w8, [x19]
	cbnz	w8, LBB0_27
	b	LBB0_1
LBB0_21:
Lloh50:
	adrp	x8, _W83781D_REG_ALARM1@GOTPAGE
Lloh51:
	ldr	x8, [x8, _W83781D_REG_ALARM1@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	mov	x21, x0
Lloh53:
	adrp	x8, _W83781D_REG_ALARM2@GOTPAGE
Lloh54:
	ldr	x8, [x8, _W83781D_REG_ALARM2@GOTPAGEOFF]
LBB0_22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	lsl	w23, w0, #8
LBB0_23:
	orr	w8, w23, w21
	str	w8, [x19, #120]
Lloh55:
	adrp	x8, _W83781D_REG_BEEP_INTS2@GOTPAGE
Lloh56:
	ldr	x8, [x8, _W83781D_REG_BEEP_INTS2@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	mov	x21, x0
Lloh58:
	adrp	x8, _W83781D_REG_BEEP_INTS1@GOTPAGE
Lloh59:
	ldr	x8, [x8, _W83781D_REG_BEEP_INTS1@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	add	w8, w0, w21, lsl #8
	str	w8, [x19, #124]
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.24:
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.25:
Lloh61:
	adrp	x8, _W83781D_REG_BEEP_INTS3@GOTPAGE
Lloh62:
	ldr	x8, [x8, _W83781D_REG_BEEP_INTS3@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83781d_read_value
	ldr	w8, [x19, #124]
	orr	w8, w8, w0, lsl #16
	str	w8, [x19, #124]
LBB0_26:
	ldr	x8, [x22]
	str	x8, [x19, #136]
	mov	w8, #1
	str	w8, [x19]
LBB0_27:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Starting device update\n"

	.comm	_w83783s,8,3                    ; @w83783s
	.comm	_w83782d,8,3                    ; @w83782d
	.comm	_w83781d,8,3                    ; @w83781d
	.comm	_as99127f,8,3                   ; @as99127f
	.comm	_W83781D_REG_PWM,8,3            ; @W83781D_REG_PWM
	.comm	_W83781D_REG_PWMCLK12,4,2       ; @W83781D_REG_PWMCLK12
	.comm	_W83781D_REG_VID_FANDIV,4,2     ; @W83781D_REG_VID_FANDIV
	.comm	_W83781D_REG_CHIPID,4,2         ; @W83781D_REG_CHIPID
	.comm	_W83781D_REG_PIN,4,2            ; @W83781D_REG_PIN
	.comm	_W83781D_REG_VBAT,4,2           ; @W83781D_REG_VBAT
	.comm	_W83782D_REG_ALARM1,4,2         ; @W83782D_REG_ALARM1
	.comm	_W83782D_REG_ALARM2,4,2         ; @W83782D_REG_ALARM2
	.comm	_W83782D_REG_ALARM3,4,2         ; @W83782D_REG_ALARM3
	.comm	_W83781D_REG_ALARM1,4,2         ; @W83781D_REG_ALARM1
	.comm	_W83781D_REG_ALARM2,4,2         ; @W83781D_REG_ALARM2
	.comm	_W83781D_REG_BEEP_INTS2,4,2     ; @W83781D_REG_BEEP_INTS2
	.comm	_W83781D_REG_BEEP_INTS1,4,2     ; @W83781D_REG_BEEP_INTS1
	.comm	_W83781D_REG_BEEP_INTS3,4,2     ; @W83781D_REG_BEEP_INTS3
	.no_dead_strip	_w83781d_update_device
.subsections_via_symbols
