	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i8k_get_fan_speed
_i8k_get_fan_speed:                     ## @i8k_get_fan_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_I8K_SMM_GET_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movzbl	%dil, %eax
	movl	%eax, -4(%rbp)
	leaq	-8(%rbp), %rdi
	callq	_i8k_smm
	movzwl	-8(%rbp), %ecx
	movq	_fan_mult@GOTPCREL(%rip), %rdx
	imull	(%rdx), %ecx
	testq	%rax, %rax
	cmovel	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I8K_SMM_GET_SPEED,4,2          ## @I8K_SMM_GET_SPEED
	.comm	_fan_mult,4,2                   ## @fan_mult
	.no_dead_strip	_i8k_get_fan_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i8k_get_fan_speed
_i8k_get_fan_speed:                     ; @i8k_get_fan_speed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _I8K_SMM_GET_SPEED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I8K_SMM_GET_SPEED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w9, w0, #0xff
	stp	w8, w9, [sp, #8]
	add	x0, sp, #8
	bl	_i8k_smm
Lloh3:
	adrp	x8, _fan_mult@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fan_mult@GOTPAGEOFF]
	ldrh	w9, [sp, #8]
Lloh5:
	ldr	w8, [x8]
	mul	w8, w9, w8
	cmp	x0, #0
	csel	w0, w8, w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I8K_SMM_GET_SPEED,4,2          ; @I8K_SMM_GET_SPEED
	.comm	_fan_mult,4,2                   ; @fan_mult
	.no_dead_strip	_i8k_get_fan_speed
.subsections_via_symbols
