	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_value_show
_in_value_show:                         ## @in_value_show
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr
	movslq	(%rax), %r15
	movq	%rbx, %rdi
	callq	_fschmd_update_device
	movq	_fscher@GOTPCREL(%rip), %rdx
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	(%rax,%r15,4), %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_fschrc@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_2
## %bb.3:
	leaq	l___const.in_value_show.max_reading(%rip), %rcx
	imull	(%rcx,%r15,4), %eax
	movl	%eax, %ecx
	subl	$-128, %ecx
	movslq	%ecx, %rcx
	imulq	$-2139062143, %rcx, %rcx        ## imm = 0x80808081
	shrq	$32, %rcx
	leal	(%rcx,%rax), %edx
	addl	$128, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	sarl	$7, %edx
	addl	%eax, %edx
	jmp	LBB0_4
LBB0_2:
	movq	_dmi_vref@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movq	_dmi_mult@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	(%rcx,%r15,4), %eax
	movslq	%eax, %rdx
	imulq	$-2139062143, %rdx, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	sarl	$7, %edx
	addl	%eax, %edx
	movq	_dmi_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	(%rax,%r15,4), %edx
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.in_value_show.max_reading
l___const.in_value_show.max_reading:
	.long	14200                           ## 0x3778
	.long	6600                            ## 0x19c8
	.long	3300                            ## 0xce4

	.comm	_fscher,8,3                     ## @fscher
	.comm	_fschrc,8,3                     ## @fschrc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.comm	_dmi_vref,4,2                   ## @dmi_vref
	.comm	_dmi_mult,8,3                   ## @dmi_mult
	.comm	_dmi_offset,8,3                 ## @dmi_offset
	.no_dead_strip	_in_value_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_value_show
_in_value_show:                         ; @in_value_show
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr
	ldrsw	x21, [x0]
	mov	x0, x20
	bl	_fschmd_update_device
Lloh0:
	adrp	x8, _fscher@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fscher@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _fschrc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fschrc@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	ldp	x11, x8, [x0]
	ldr	w8, [x8, x21, lsl #2]
	cmp	x11, x9
	ccmp	x11, x10, #0, ne
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _dmi_vref@GOTPAGE
Lloh7:
	ldr	x9, [x9, _dmi_vref@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _dmi_mult@GOTPAGE
Lloh10:
	ldr	x10, [x10, _dmi_mult@GOTPAGEOFF]
	mul	w8, w9, w8
Lloh11:
	ldr	x9, [x10]
	lsl	x10, x21, #2
	ldr	w9, [x9, x10]
	mul	w8, w8, w9
	mov	w9, #32897
	movk	w9, #32896, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w8, w9, w8, lsr #31
Lloh12:
	adrp	x9, _dmi_offset@GOTPAGE
Lloh13:
	ldr	x9, [x9, _dmi_offset@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w9, [x9, x10]
	add	w2, w8, w9
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x9, l___const.in_value_show.max_reading@PAGE
Lloh16:
	add	x9, x9, l___const.in_value_show.max_reading@PAGEOFF
	ldr	w9, [x9, x21, lsl #2]
	orr	w10, wzr, #0x80
	madd	w8, w9, w8, w10
	mov	w9, #32897
	movk	w9, #32896, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w2, w9, w8, lsr #31
LBB0_3:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.in_value_show.max_reading
l___const.in_value_show.max_reading:
	.long	14200                           ; 0x3778
	.long	6600                            ; 0x19c8
	.long	3300                            ; 0xce4

	.comm	_fscher,8,3                     ; @fscher
	.comm	_fschrc,8,3                     ; @fschrc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.comm	_dmi_vref,4,2                   ; @dmi_vref
	.comm	_dmi_mult,8,3                   ; @dmi_mult
	.comm	_dmi_offset,8,3                 ; @dmi_offset
	.no_dead_strip	_in_value_show
.subsections_via_symbols
