	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fanspeed_show
_fanspeed_show:                         ## @fanspeed_show
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_dev_get_drvdata
	movq	(%rbx), %rcx
	movslq	32(%rcx), %rcx
	movq	(%rax), %rax
	leaq	(%rax,%rcx,4), %rdi
	addq	$-192, %rdi
	movq	_TEMPMON_FANCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ddblreadl
	movzbl	%al, %eax
	imull	$100, %eax, %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TEMPMON_FANCONTROL,4,2         ## @TEMPMON_FANCONTROL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.no_dead_strip	_fanspeed_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fanspeed_show
_fanspeed_show:                         ; @fanspeed_show
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_dev_get_drvdata
	ldr	x8, [x20]
	ldrsw	x8, [x8, #32]
	ldr	x9, [x0]
	add	x8, x9, x8, lsl #2
	sub	x0, x8, #192
Lloh0:
	adrp	x8, _TEMPMON_FANCONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEMPMON_FANCONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ddblreadl
	and	w8, w0, #0xff
	mov	w9, #100
	mul	w2, w8, w9
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TEMPMON_FANCONTROL,4,2         ; @TEMPMON_FANCONTROL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.no_dead_strip	_fanspeed_show
.subsections_via_symbols
