	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_temp
_show_temp:                             ## @show_temp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr_2
	movslq	(%rax), %r12
	movslq	4(%rax), %rbx
	movq	%r15, %rdi
	callq	_w83793_update_device
	movq	%rax, %r15
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax,%r12,4), %edi
	callq	_TEMP_FROM_REG
	movq	_TEMP_READ@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jne	LBB0_3
## %bb.1:
	cmpl	$3, %ebx
	jg	LBB0_3
## %bb.2:
	movl	(%r15), %edx
	addl	%ebx, %ebx
	movl	%ebx, %ecx
	sarl	%cl, %edx
	andl	$3, %edx
	imull	$250, %edx, %ecx
	movl	%ecx, %edx
	negl	%edx
	testq	%rax, %rax
	cmovgl	%ecx, %edx
	movslq	%edx, %rcx
	addq	%rcx, %rax
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TEMP_READ,4,2                  ## @TEMP_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ld\n"

	.no_dead_strip	_show_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_temp
_show_temp:                             ; @show_temp
	.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_2
	ldpsw	x22, x21, [x0]
	mov	x0, x20
	bl	_w83793_update_device
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w0, [x8, x22, lsl #2]
	bl	_TEMP_FROM_REG
	mov	x2, x0
Lloh0:
	adrp	x8, _TEMP_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEMP_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	ccmp	w21, #3, #0, eq
	b.gt	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	lsl	w9, w21, #1
	asr	w8, w8, w9
	and	w8, w8, #0x3
	mov	w9, #250
	mul	w8, w8, w9
	cmp	x2, #0
	cneg	w8, w8, le
	add	x2, x2, w8, sxtw
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	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	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TEMP_READ,4,2                  ; @TEMP_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ld\n"

	.no_dead_strip	_show_temp
.subsections_via_symbols
