	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LM93_FAN_FROM_REG
_LM93_FAN_FROM_REG:                     ## @LM93_FAN_FROM_REG
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_le16_to_cpu
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	$4, %ecx
	jb	LBB0_3
## %bb.1:
	sarl	$2, %ecx
	xorl	%eax, %eax
	cmpl	$16383, %ecx                    ## imm = 0x3FFF
	je	LBB0_3
## %bb.2:
	movl	$1350000, %eax                  ## imm = 0x149970
	xorl	%edx, %edx
	idivl	%ecx
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_LM93_FAN_FROM_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LM93_FAN_FROM_REG
_LM93_FAN_FROM_REG:                     ; @LM93_FAN_FROM_REG
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_le16_to_cpu
	cmp	w0, #4
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	asr	w8, w0, #2
	mov	w9, #16383
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w9, #39280
	movk	w9, #20, lsl #16
	sdiv	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_LM93_FAN_FROM_REG
.subsections_via_symbols
