	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_lm95234_update_device
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movq	-40(%rbp), %rax
	movq	_update_intervals@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jbe	LBB0_5
## %bb.3:
	movl	$1, %r15d
	cmpq	8(%rcx), %rax
	jbe	LBB0_5
## %bb.4:
	xorl	%r15d, %r15d
	cmpq	16(%rcx), %rax
	seta	%r15b
	orl	$2, %r15d
LBB0_5:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movl	%r15d, %ecx
	movq	(%rax,%rcx,8), %rdi
	callq	_msecs_to_jiffies
	movl	%eax, 8(%r12)
	movl	4(%r12), %edi
	movq	_LM95234_REG_CONVRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_i2c_smbus_write_byte_data
	movq	%r12, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_update_intervals,8,3           ## @update_intervals
	.comm	_LM95234_REG_CONVRATE,4,2       ## @LM95234_REG_CONVRATE
	.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, #64
	.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
	mov	x19, x3
	mov	x21, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	bl	_lm95234_update_device
	cbnz	w0, LBB0_8
; %bb.1:
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #10
	bl	_kstrtoul
	tbnz	w0, #31, LBB0_8
; %bb.2:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x22, _update_intervals@GOTPAGE
Lloh1:
	ldr	x22, [x22, _update_intervals@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ls	LBB0_5
; %bb.3:
	ldr	x10, [x9, #8]
	cmp	x8, x10
	b.ls	LBB0_6
; %bb.4:
	ldr	x9, [x9, #16]
	cmp	x8, x9
	mov	w8, #2
	cinc	w21, w8, hi
	b	LBB0_7
LBB0_5:
	mov	w21, #0
	b	LBB0_7
LBB0_6:
	mov	w21, #1
LBB0_7:
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x22]
	ldr	x0, [x8, w21, uxtw #3]
	bl	_msecs_to_jiffies
	str	w0, [x20, #8]
	ldr	w0, [x20, #4]
Lloh2:
	adrp	x8, _LM95234_REG_CONVRATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LM95234_REG_CONVRATE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_i2c_smbus_write_byte_data
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_update_intervals,8,3           ; @update_intervals
	.comm	_LM95234_REG_CONVRATE,4,2       ; @LM95234_REG_CONVRATE
	.no_dead_strip	_update_interval_store
.subsections_via_symbols
