	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prochot_interval_store
_prochot_interval_store:                ## @prochot_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, %r15
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	8(%rax), %rbx
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r15d
	movq	%r12, %r14
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_LM93_REG_PROCHOT_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_lm93_read_byte
	movl	%eax, %r13d
	cmpl	$1, %r15d
	jne	LBB0_3
## %bb.2:
	andl	$15, %r13d
	movq	-56(%rbp), %rdi
	callq	_LM93_INTERVAL_TO_REG
	shll	$4, %eax
	jmp	LBB0_4
LBB0_3:
	andl	$240, %r13d
	movq	-56(%rbp), %rdi
	callq	_LM93_INTERVAL_TO_REG
LBB0_4:
	orl	%r13d, %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, (%r12)
	movq	_LM93_REG_PROCHOT_INTERVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_lm93_write_byte
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM93_REG_PROCHOT_INTERVAL,4,2  ## @LM93_REG_PROCHOT_INTERVAL
	.no_dead_strip	_prochot_interval_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prochot_interval_store
_prochot_interval_store:                ; @prochot_interval_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x20, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr
	ldr	w24, [x0]
	mov	x0, x20
	bl	_dev_get_drvdata
	mov	x21, x0
	ldr	x20, [x0, #8]
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #10
	bl	_kstrtoul
	cbnz	w0, LBB0_5
; %bb.1:
	add	x22, x21, #4
	mov	x0, x22
	bl	_mutex_lock
Lloh0:
	adrp	x25, _LM93_REG_PROCHOT_INTERVAL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LM93_REG_PROCHOT_INTERVAL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_lm93_read_byte
	mov	x23, x0
	cmp	w24, #1
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_LM93_INTERVAL_TO_REG
	bfi	w23, w0, #4, #28
	b	LBB0_4
LBB0_3:
	and	w23, w23, #0xf0
	ldr	x0, [sp, #8]
	bl	_LM93_INTERVAL_TO_REG
	orr	w23, w0, w23
LBB0_4:
	str	w23, [x21]
	ldr	w1, [x25]
	mov	x0, x20
	mov	x2, x23
	bl	_lm93_write_byte
	mov	x0, x22
	bl	_mutex_unlock
	mov	x0, x19
LBB0_5:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LM93_REG_PROCHOT_INTERVAL,4,2  ; @LM93_REG_PROCHOT_INTERVAL
	.no_dead_strip	_prochot_interval_store
.subsections_via_symbols
