	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_in_value
_show_in_value:                         ## @show_in_value
	.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
	movl	(%rax), %ecx
	movq	_fscher@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	decl	%edx
	cmpl	%edx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_fschrc@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	decl	%edx
	cmpl	%edx, %ecx
	jge	LBB0_2
## %bb.3:
	movq	8(%rax), %rax
	leaq	l___const.show_in_value.max_reading(%rip), %rcx
	movl	(%rcx,%r15,4), %ecx
	imull	(%rax,%r15,4), %ecx
	movl	%ecx, %eax
	subl	$-128, %eax
	cltq
	imulq	$-2139062143, %rax, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	leal	(%rax,%rcx), %edx
	addl	$128, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	sarl	$7, %edx
	addl	%eax, %edx
	jmp	LBB0_4
LBB0_2:
	movq	8(%rax), %rax
	movq	_dmi_vref@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax,%r15,4), %ecx
	movq	_dmi_mult@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imull	(%rax,%r15,4), %ecx
	movslq	%ecx, %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.show_in_value.max_reading
l___const.show_in_value.max_reading:
	.long	14200                           ## 0x3778
	.long	6600                            ## 0x19c8
	.long	3300                            ## 0xce4

	.comm	_fscher,4,2                     ## @fscher
	.comm	_fschrc,4,2                     ## @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	_show_in_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_in_value
_show_in_value:                         ; @show_in_value
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _fscher@GOTPAGE
Lloh1:
	ldr	x9, [x9, _fscher@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _fschrc@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fschrc@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
	ldr	x8, [x0, #8]
	lsl	x9, x21, #2
	ldr	w8, [x8, x9]
Lloh6:
	adrp	x10, l___const.show_in_value.max_reading@PAGE
Lloh7:
	add	x10, x10, l___const.show_in_value.max_reading@PAGEOFF
	ldr	w9, [x10, x9]
	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
	b	LBB0_4
LBB0_3:
	ldr	x8, [x0, #8]
	lsl	x9, x21, #2
	ldr	w8, [x8, x9]
Lloh8:
	adrp	x10, _dmi_vref@GOTPAGE
Lloh9:
	ldr	x10, [x10, _dmi_vref@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	mul	w8, w10, w8
Lloh11:
	adrp	x10, _dmi_mult@GOTPAGE
Lloh12:
	ldr	x10, [x10, _dmi_mult@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	ldr	w10, [x10, x9]
	mul	w8, w8, w10
	mov	w10, #32897
	movk	w10, #32896, lsl #16
	smull	x10, w8, w10
	lsr	x10, x10, #32
	add	w8, w10, w8
	asr	w10, w8, #7
	add	w8, w10, w8, lsr #31
Lloh14:
	adrp	x10, _dmi_offset@GOTPAGE
Lloh15:
	ldr	x10, [x10, _dmi_offset@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	ldr	w9, [x10, x9]
	add	w2, w8, w9
LBB0_4:
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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.show_in_value.max_reading
l___const.show_in_value.max_reading:
	.long	14200                           ; 0x3778
	.long	6600                            ; 0x19c8
	.long	3300                            ; 0xce4

	.comm	_fscher,4,2                     ; @fscher
	.comm	_fschrc,4,2                     ; @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	_show_in_value
.subsections_via_symbols
