	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_f71882fg_update_device
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_to_sensor_dev_attr_2
	movslq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	_f71858fg@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %ecx
	andl	$1, %ecx
	movq	16(%rbx), %rdx
	movl	(%rdx,%rax,4), %eax
	movl	$32768, %edx                    ## imm = 0x8000
	movl	$1, %esi
	cmovel	%edx, %esi
	shll	$10, %ecx
	orl	$1023, %ecx                     ## imm = 0x3FF
	movl	%eax, %edx
	shrl	$5, %edx
	andl	%ecx, %edx
	imull	$125, %edx, %ecx
	leal	-128000(%rcx), %edx
	testl	%esi, %eax
	cmovel	%ecx, %edx
	jmp	LBB0_3
LBB0_2:
	movq	16(%rbx), %rcx
	imull	$1000, (%rcx,%rax,4), %edx      ## imm = 0x3E8
LBB0_3:
	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	_f71858fg,8,3                   ## @f71858fg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\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	x21, x1
	bl	_f71882fg_update_device
	mov	x20, x0
	mov	x0, x21
	bl	_to_sensor_dev_attr_2
	ldrsw	x8, [x0]
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _f71858fg@GOTPAGE
Lloh1:
	ldr	x10, [x10, _f71858fg@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x20, #8]
	ldr	x10, [x20, #16]
	ldr	w8, [x10, x8, lsl #2]
	tst	w9, #0x1
	mov	w9, #32768
	csinc	w9, w9, wzr, eq
	mov	w10, #2047
	mov	w11, #1023
	csel	w10, w11, w10, eq
	and	w10, w10, w8, lsr #5
	mov	w11, #125
	mul	w10, w10, w11
	sub	w11, w10, #31, lsl #12          ; =126976
	sub	w11, w11, #1024
	tst	w8, w9
	csel	w2, w10, w11, eq
	b	LBB0_3
LBB0_2:
	ldr	x9, [x20, #16]
	ldr	w8, [x9, x8, lsl #2]
	mov	w9, #1000
	mul	w2, w8, w9
LBB0_3:
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	_f71858fg,8,3                   ; @f71858fg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_temp
.subsections_via_symbols
