	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_interval_store
_update_interval_store:                 ## @update_interval_store
	.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
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	16(%rax), %r15
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_update_intervals@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	xorl	%r14d, %r14d
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.2:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movq	(%r13), %rdi
	cmpq	(%rdi,%r14,8), %rax
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	callq	_ARRAY_SIZE
	decl	%eax
	cltq
	cmpq	%rax, %r14
	jl	LBB0_3
LBB0_5:
	movq	_ADM1031_REG_FAN_FILTER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_adm1031_read_value
	movq	_ADM1031_UPDATE_RATE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ADM1031_UPDATE_RATE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r14d, %edx
	shll	%cl, %edx
	notl	%esi
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_adm1031_write_value
	movq	%r12, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	(%r13), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_update_intervals,8,3           ## @update_intervals
	.comm	_ADM1031_REG_FAN_FILTER,4,2     ## @ADM1031_REG_FAN_FILTER
	.comm	_ADM1031_UPDATE_RATE_MASK,4,2   ## @ADM1031_UPDATE_RATE_MASK
	.comm	_ADM1031_UPDATE_RATE_SHIFT,4,2  ## @ADM1031_UPDATE_RATE_SHIFT
	.no_dead_strip	_update_interval_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_interval_store
_update_interval_store:                 ; @update_interval_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x22, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	x21, [x0, #16]
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #10
	bl	_kstrtoul
	cbnz	w0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x22, _update_intervals@GOTPAGE
Lloh1:
	ldr	x22, [x22, _update_intervals@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #2
	b.lt	LBB0_5
; %bb.2:
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x0, [x22]
	ldr	x9, [x0, x23, lsl #3]
	cmp	x8, x9
	b.hs	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	sub	w8, w0, #1
	cmp	x23, w8, sxtw
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	w23, #0
LBB0_6:
Lloh2:
	adrp	x24, _ADM1031_REG_FAN_FILTER@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ADM1031_REG_FAN_FILTER@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_adm1031_read_value
Lloh4:
	adrp	x8, _ADM1031_UPDATE_RATE_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ADM1031_UPDATE_RATE_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh7:
	adrp	x9, _ADM1031_UPDATE_RATE_SHIFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ADM1031_UPDATE_RATE_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	lsl	w9, w23, w9
	orr	w2, w9, w8
	ldr	w1, [x24]
	mov	x0, x21
	bl	_adm1031_write_value
	add	x21, x20, #8
	mov	x0, x21
	bl	_mutex_lock
	ldr	x8, [x22]
	ldr	x8, [x8, w23, uxtw #3]
	str	x8, [x20]
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_update_intervals,8,3           ; @update_intervals
	.comm	_ADM1031_REG_FAN_FILTER,4,2     ; @ADM1031_REG_FAN_FILTER
	.comm	_ADM1031_UPDATE_RATE_MASK,4,2   ; @ADM1031_UPDATE_RATE_MASK
	.comm	_ADM1031_UPDATE_RATE_SHIFT,4,2  ; @ADM1031_UPDATE_RATE_SHIFT
	.no_dead_strip	_update_interval_store
.subsections_via_symbols
