	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function type_store
_type_store:                            ## @type_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
	pushq	%rax
	.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, %r12
	movq	%rsi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_to_sensor_dev_attr
	movl	(%rax), %r15d
	movq	%r13, %rdi
	callq	_lm95234_update_device
	testl	%eax, %eax
	je	LBB0_1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movq	-48(%rbp), %rax
	addq	$-3, %rax
	cmpq	$-3, %rax
	ja	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	movq	%r13, %r12
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	cmpq	$1, -48(%rbp)
	jne	LBB0_6
## %bb.5:
	orl	8(%r13), %r15d
	jmp	LBB0_7
LBB0_6:
	notl	%r15d
	andl	8(%r13), %r15d
LBB0_7:
	movl	%r15d, 8(%r13)
	movl	$0, (%r13)
	movl	12(%r13), %edi
	movq	_LM95234_REG_REM_MODEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_i2c_smbus_write_byte_data
	movq	%r12, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_LM95234_REG_REM_MODEL,4,2      ## @LM95234_REG_REM_MODEL
	.no_dead_strip	_type_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function type_store
_type_store:                            ; @type_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
	mov	x22, x1
	bl	_dev_get_drvdata
	mov	x20, x0
	mov	x0, x22
	bl	_to_sensor_dev_attr
	ldr	w22, [x0]
	mov	x0, x20
	bl	_lm95234_update_device
	cbz	w0, LBB0_2
LBB0_1:
	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
LBB0_2:
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #10
	bl	_kstrtoul
	tbnz	w0, #31, LBB0_1
; %bb.3:
	ldr	x8, [sp, #8]
	sub	x8, x8, #3
	cmn	x8, #3
	b.hi	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_1
LBB0_5:
	add	x21, x20, #4
	mov	x0, x21
	bl	_mutex_lock
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.ne	LBB0_7
; %bb.6:
	ldr	w8, [x20, #8]
	orr	w2, w8, w22
	b	LBB0_8
LBB0_7:
	ldr	w8, [x20, #8]
	bic	w2, w8, w22
LBB0_8:
	str	w2, [x20, #8]
	str	wzr, [x20]
	ldr	w0, [x20, #12]
Lloh3:
	adrp	x8, _LM95234_REG_REM_MODEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LM95234_REG_REM_MODEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_i2c_smbus_write_byte_data
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_LM95234_REG_REM_MODEL,4,2      ; @LM95234_REG_REM_MODEL
	.no_dead_strip	_type_store
.subsections_via_symbols
