	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fan_from_reg8
_fan_from_reg8:                         ## @fan_from_reg8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$255, %edi
	jne	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %ecx
	shll	%cl, %edi
	movl	$1350000, %eax                  ## imm = 0x149970
	xorl	%edx, %edx
	divl	%edi
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fan_from_reg8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fan_from_reg8
_fan_from_reg8:                         ; @fan_from_reg8
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	cbz	w8, LBB0_2
; %bb.1:
	cmp	w8, #255
	b.ne	LBB0_3
LBB0_2:
	ret
LBB0_3:
	lsl	w8, w8, w1
	mov	w9, #39280
	movk	w9, #20, lsl #16
	udiv	w0, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fan_from_reg8
.subsections_via_symbols
