	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_adt7462_update_device
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%r15), %rsi
	movl	(%rax,%rsi,4), %r13d
	movq	_TEMP_FRAC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_temp_enabled
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%r12d, %ecx
	sarl	%cl, %r13d
	movq	8(%rbx), %rax
	movq	(%r15), %rcx
	imull	$1000, (%rax,%rcx,4), %eax      ## imm = 0x3E8
	imull	$250, %r13d, %ecx
	leal	(%rcx,%rax), %edx
	addl	$-64000, %edx                   ## imm = 0xFFFF0600
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_1:
	movb	$0, 2(%r14)
	movw	$2608, (%r14)                   ## imm = 0xA30
	movl	$2, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEMP_FRAC_OFFSET,4,2           ## @TEMP_FRAC_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0\n"

L_.str.1:                               ## @.str.1
	.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr
	mov	x20, x0
	mov	x0, x21
	bl	_adt7462_update_device
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x1, [x20]
	ldr	w22, [x8, x1, lsl #2]
Lloh0:
	adrp	x8, _TEMP_FRAC_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEMP_FRAC_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	bl	_temp_enabled
	cbz	w0, LBB0_2
; %bb.1:
	asr	w8, w22, w23
	ldr	x9, [x21, #8]
	ldr	x10, [x20]
	ldr	w9, [x9, x10, lsl #2]
	mov	w10, #1000
	mul	w9, w9, w10
	mov	w10, #250
	madd	w8, w8, w10, w9
	mov	w9, #-64000
	add	w8, w8, w9
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_3
LBB0_2:
	strb	wzr, [x19, #2]
	mov	w8, #2608
	strh	w8, [x19]
	mov	w0, #2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TEMP_FRAC_OFFSET,4,2           ; @TEMP_FRAC_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0\n"

l_.str.1:                               ; @.str.1
	.asciz	"%d\n"

	.no_dead_strip	_show_temp
.subsections_via_symbols
