	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asb100_update_device
_asb100_update_device:                  ## @asb100_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
	callq	_to_i2c_client
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r12
	leaq	92(%rax), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	addq	96(%r12), %rax
	movq	(%r13), %rdi
	sarl	%ecx
	movslq	%ecx, %rsi
	addq	%rax, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%r12)
	jne	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ASB100_REG_IN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_ASB100_REG_IN_MIN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	16(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_ASB100_REG_IN_MAX
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	24(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$7, %rbx
	jne	LBB0_3
## %bb.4:
	xorl	%edi, %edi
	callq	_ASB100_REG_FAN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	32(%r12), %rcx
	movl	%eax, (%rcx)
	xorl	%edi, %edi
	callq	_ASB100_REG_FAN_MIN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	40(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_ASB100_REG_FAN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	32(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	$1, %edi
	callq	_ASB100_REG_FAN_MIN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	40(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	$2, %edi
	callq	_ASB100_REG_FAN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	32(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	$2, %edi
	callq	_ASB100_REG_FAN_MIN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	40(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	$1, %edi
	callq	_ASB100_REG_TEMP
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	48(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_ASB100_REG_TEMP_MAX
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	56(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_ASB100_REG_TEMP_HYST
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	64(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$2, %edi
	callq	_ASB100_REG_TEMP
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	48(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	$2, %edi
	callq	_ASB100_REG_TEMP_MAX
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	56(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	$2, %edi
	callq	_ASB100_REG_TEMP_HYST
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	64(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	$3, %edi
	callq	_ASB100_REG_TEMP
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	48(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	$3, %edi
	callq	_ASB100_REG_TEMP_MAX
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	56(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	$3, %edi
	callq	_ASB100_REG_TEMP_HYST
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	64(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	$4, %edi
	callq	_ASB100_REG_TEMP
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	48(%r12), %rcx
	movl	%eax, 12(%rcx)
	movl	$4, %edi
	callq	_ASB100_REG_TEMP_MAX
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	56(%r12), %rcx
	movl	%eax, 12(%rcx)
	movl	$4, %edi
	callq	_ASB100_REG_TEMP_HYST
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_asb100_read_value
	movq	64(%r12), %rcx
	movl	%eax, 12(%rcx)
	movq	_ASB100_REG_VID_FANDIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_asb100_read_value
	movl	%eax, %ebx
	andl	$15, %eax
	movl	%eax, 72(%r12)
	movq	_ASB100_REG_CHIPID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_asb100_read_value
	shll	$4, %eax
	andl	$16, %eax
	orl	%eax, 72(%r12)
	movl	%ebx, %eax
	shrl	$4, %eax
	andl	$3, %eax
	movq	80(%r12), %rcx
	movl	%eax, (%rcx)
	shrl	$6, %ebx
	andl	$3, %ebx
	movl	%ebx, 4(%rcx)
	movq	_ASB100_REG_PIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_asb100_read_value
	shrl	$6, %eax
	andl	$3, %eax
	movq	80(%r12), %rcx
	movl	%eax, 8(%rcx)
	movq	_ASB100_REG_PWM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_asb100_read_value
	movl	%eax, 88(%r12)
	movq	_ASB100_REG_ALARM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_asb100_read_value
	movl	%eax, %ebx
	movq	_ASB100_REG_ALARM2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_asb100_read_value
	shll	$8, %eax
	addl	%ebx, %eax
	movl	%eax, 104(%r12)
	movq	(%r13), %rax
	movq	%rax, 96(%r12)
	movl	$1, (%r12)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
LBB0_5:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	%r12, %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	_ASB100_REG_VID_FANDIV,4,2      ## @ASB100_REG_VID_FANDIV
	.comm	_ASB100_REG_CHIPID,4,2          ## @ASB100_REG_CHIPID
	.comm	_ASB100_REG_PIN,4,2             ## @ASB100_REG_PIN
	.comm	_ASB100_REG_PWM1,4,2            ## @ASB100_REG_PWM1
	.comm	_ASB100_REG_ALARM1,4,2          ## @ASB100_REG_ALARM1
	.comm	_ASB100_REG_ALARM2,4,2          ## @ASB100_REG_ALARM2
L_.str.1:                               ## @.str.1
	.asciz	"... device update complete\n"

	.no_dead_strip	_asb100_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 asb100_update_device
lCPI0_0:
	.long	4294967292                      ; 0xfffffffc
	.long	4294967290                      ; 0xfffffffa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_asb100_update_device:                  ; @asb100_update_device
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_to_i2c_client
	mov	x20, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
	add	x21, x0, #92
	mov	x0, x21
	bl	_mutex_lock
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	x8, [x19, #96]
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
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cbnz	w8, LBB0_5
LBB0_2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_ASB100_REG_IN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #8]
	lsl	x24, x22, #2
	str	w0, [x8, x24]
	mov	x0, x22
	bl	_ASB100_REG_IN_MIN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #16]
	str	w0, [x8, x24]
	mov	x0, x22
	bl	_ASB100_REG_IN_MAX
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #24]
	str	w0, [x8, x24]
	add	x22, x22, #1
	cmp	x22, #7
	b.ne	LBB0_3
; %bb.4:
	mov	w0, #0
	bl	_ASB100_REG_FAN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #32]
	str	w0, [x8]
	mov	w0, #0
	bl	_ASB100_REG_FAN_MIN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #40]
	str	w0, [x8]
	mov	w24, #1
	mov	w0, #1
	bl	_ASB100_REG_FAN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #32]
	str	w0, [x8, #4]
	mov	w0, #1
	bl	_ASB100_REG_FAN_MIN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #40]
	str	w0, [x8, #4]
	mov	w0, #2
	bl	_ASB100_REG_FAN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #32]
	str	w0, [x8, #8]
	mov	w0, #2
	bl	_ASB100_REG_FAN_MIN
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #40]
	str	w0, [x8, #8]
	mov	w0, #1
	bl	_ASB100_REG_TEMP
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #48]
	str	w0, [x8]
	mov	w0, #1
	bl	_ASB100_REG_TEMP_MAX
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8]
	mov	w0, #1
	bl	_ASB100_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #64]
	str	w0, [x8]
	mov	w0, #2
	bl	_ASB100_REG_TEMP
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #48]
	str	w0, [x8, #4]
	mov	w0, #2
	bl	_ASB100_REG_TEMP_MAX
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8, #4]
	mov	w0, #2
	bl	_ASB100_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #64]
	str	w0, [x8, #4]
	mov	w0, #3
	bl	_ASB100_REG_TEMP
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #48]
	str	w0, [x8, #8]
	mov	w0, #3
	bl	_ASB100_REG_TEMP_MAX
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8, #8]
	mov	w0, #3
	bl	_ASB100_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #64]
	str	w0, [x8, #8]
	mov	w0, #4
	bl	_ASB100_REG_TEMP
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #48]
	str	w0, [x8, #12]
	mov	w0, #4
	bl	_ASB100_REG_TEMP_MAX
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #56]
	str	w0, [x8, #12]
	mov	w0, #4
	bl	_ASB100_REG_TEMP_HYST
	mov	x1, x0
	mov	x0, x20
	bl	_asb100_read_value
	ldr	x8, [x19, #64]
	str	w0, [x8, #12]
Lloh7:
	adrp	x8, _ASB100_REG_VID_FANDIV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ASB100_REG_VID_FANDIV@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asb100_read_value
	mov	x22, x0
	and	w8, w0, #0xf
	str	w8, [x19, #72]
Lloh10:
	adrp	x8, _ASB100_REG_CHIPID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ASB100_REG_CHIPID@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asb100_read_value
	ubfiz	w8, w0, #4, #1
	ldr	w9, [x19, #72]
	orr	w8, w8, w9
	str	w8, [x19, #72]
	ldr	x8, [x19, #80]
	dup.2s	v0, w22
Lloh13:
	adrp	x9, lCPI0_0@PAGE
Lloh14:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi.2s	v1, #3
	and.8b	v0, v0, v1
	str	d0, [x8]
Lloh15:
	adrp	x8, _ASB100_REG_PIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ASB100_REG_PIN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asb100_read_value
	ubfx	w8, w0, #6, #2
	ldr	x9, [x19, #80]
	str	w8, [x9, #8]
Lloh18:
	adrp	x8, _ASB100_REG_PWM1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ASB100_REG_PWM1@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asb100_read_value
	str	w0, [x19, #88]
Lloh21:
	adrp	x8, _ASB100_REG_ALARM1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ASB100_REG_ALARM1@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asb100_read_value
	mov	x22, x0
Lloh24:
	adrp	x8, _ASB100_REG_ALARM2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ASB100_REG_ALARM2@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asb100_read_value
	add	w8, w22, w0, lsl #8
	str	w8, [x19, #104]
	ldr	x8, [x23]
	str	x8, [x19, #96]
	str	w24, [x19]
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_5:
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.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	_ASB100_REG_VID_FANDIV,4,2      ; @ASB100_REG_VID_FANDIV
	.comm	_ASB100_REG_CHIPID,4,2          ; @ASB100_REG_CHIPID
	.comm	_ASB100_REG_PIN,4,2             ; @ASB100_REG_PIN
	.comm	_ASB100_REG_PWM1,4,2            ; @ASB100_REG_PWM1
	.comm	_ASB100_REG_ALARM1,4,2          ; @ASB100_REG_ALARM1
	.comm	_ASB100_REG_ALARM2,4,2          ; @ASB100_REG_ALARM2
l_.str.1:                               ; @.str.1
	.asciz	"... device update complete\n"

	.no_dead_strip	_asb100_update_device
.subsections_via_symbols
