	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function temp_store
_temp_store:                            ## @temp_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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr_2
	movslq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_to_sensor_dev_attr_2
	movslq	4(%rax), %rbx
	movq	%r15, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	24(%rax), %r15
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_kstrtol
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subq	(%rcx), %rax
	jmp	LBB0_9
LBB0_2:
	movq	-64(%rbp), %rdi
	movl	20(%r12), %esi
	xorl	%eax, %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpl	$3, %r14d
	sete	%al
	leal	4(,%rax,4), %edx
	callq	_tmp401_temp_to_register
	movl	%eax, %r13d
	movq	%rbx, %r14
	movq	%r12, %rbx
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	(%r12), %rax
	movq	_tmp432@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_TMP432_TEMP_MSB_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_TMP401_TEMP_MSB_WRITE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movl	(%rax,%r14,4), %esi
	cmpl	$3, %ecx
	jne	LBB0_7
## %bb.6:
	movl	%r13d, %edx
	sarl	$8, %edx
	movq	%r15, %rdi
	callq	_i2c_smbus_write_byte_data
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_i2c_smbus_write_word_swapped
LBB0_8:
	movq	8(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movl	%r13d, (%rax,%r14,4)
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_tmp432,8,3                     ## @tmp432
	.comm	_TMP432_TEMP_MSB_WRITE,8,3      ## @TMP432_TEMP_MSB_WRITE
	.comm	_TMP401_TEMP_MSB_WRITE,8,3      ## @TMP401_TEMP_MSB_WRITE
	.no_dead_strip	_temp_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function temp_store
_temp_store:                            ; @temp_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, x1
	mov	x21, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr_2
	ldrsw	x24, [x0]
	mov	x0, x20
	bl	_to_sensor_dev_attr_2
	ldrsw	x25, [x0, #4]
	mov	x0, x21
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	x21, [x0, #24]
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #10
	bl	_kstrtol
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_6
LBB0_2:
	ldr	x0, [sp, #8]
	ldr	w1, [x20, #20]
	mov	w8, #4
	mov	w9, #8
	cmp	w24, #3
	csel	w2, w9, w8, eq
	bl	_tmp401_temp_to_register
	mov	x23, x0
	add	x22, x20, #16
	mov	x0, x22
	bl	_mutex_lock
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _tmp432@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tmp432@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _TMP432_TEMP_MSB_WRITE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TMP432_TEMP_MSB_WRITE@GOTPAGEOFF]
Lloh8:
	adrp	x11, _TMP401_TEMP_MSB_WRITE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _TMP401_TEMP_MSB_WRITE@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x8, [x8]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w1, [x8, x25, lsl #2]
	cmp	w24, #3
	b.ne	LBB0_4
; %bb.3:
	asr	w2, w23, #8
	mov	x0, x21
	bl	_i2c_smbus_write_byte_data
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x2, x23
	bl	_i2c_smbus_write_word_swapped
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x24, lsl #3]
	str	w23, [x8, x25, lsl #2]
	mov	x0, x22
	bl	_mutex_unlock
LBB0_6:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_tmp432,8,3                     ; @tmp432
	.comm	_TMP432_TEMP_MSB_WRITE,8,3      ; @TMP432_TEMP_MSB_WRITE
	.comm	_TMP401_TEMP_MSB_WRITE,8,3      ; @TMP401_TEMP_MSB_WRITE
	.no_dead_strip	_temp_store
.subsections_via_symbols
