	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_value
_show_value:                            ## @show_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_2
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_abituguru3_update_device
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	16(%rax), %rcx
	movq	(%r15), %rsi
	shlq	$5, %rsi
	leaq	(%rcx,%rsi), %rdi
	movslq	8(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rax
	movq	(%rdi), %rdi
	shlq	$2, %rdx
	addq	(%rax,%rdi,8), %rdx
	jmp	LBB0_4
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rdi), %rdx
	shlq	$2, %rdx
	addq	8(%rax), %rdx
LBB0_4:
	movl	8(%rcx,%rsi), %eax
	imull	(%rdx), %eax
	cltd
	idivl	12(%rcx,%rsi)
	addl	16(%rcx,%rsi), %eax
	movq	24(%rcx,%rsi), %rcx
	movq	_ABIT_UGURU3_TEMP_SENSOR@GOTPCREL(%rip), %rsi
	imull	$1000, %eax, %edx               ## imm = 0x3E8
	cmpq	(%rsi), %rcx
	cmovnel	%eax, %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ABIT_UGURU3_TEMP_SENSOR,8,3    ## @ABIT_UGURU3_TEMP_SENSOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_value
_show_value:                            ; @show_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	x21, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr_2
	mov	x20, x0
	mov	x0, x21
	bl	_abituguru3_update_device
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	x9, [x20]
	add	x10, x8, x9, lsl #5
	ldrsw	x11, [x20, #8]
	cbz	w11, LBB0_4
; %bb.2:
	ldr	x12, [x0]
	ldr	x10, [x10]
	ldr	x10, [x12, x10, lsl #3]
	add	x10, x10, x11, lsl #2
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ret
LBB0_4:
	ldr	x11, [x0, #8]
	ldr	x10, [x10]
	add	x10, x11, x10, lsl #2
LBB0_5:
	ldr	w10, [x10]
	add	x8, x8, x9, lsl #5
	ldp	w9, w11, [x8, #8]
	mul	w9, w9, w10
	sdiv	w9, w9, w11
	ldr	w10, [x8, #16]
	add	w9, w10, w9
	ldr	x8, [x8, #24]
Lloh3:
	adrp	x10, _ABIT_UGURU3_TEMP_SENSOR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ABIT_UGURU3_TEMP_SENSOR@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	mov	w11, #1000
	mul	w11, w9, w11
	cmp	x8, x10
	csel	w2, w11, w9, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ABIT_UGURU3_TEMP_SENSOR,8,3    ; @ABIT_UGURU3_TEMP_SENSOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_value
.subsections_via_symbols
