	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LM93_FAN_TO_REG
_LM93_FAN_TO_REG:                       ## @LM93_FAN_TO_REG
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$1, %esi
	movl	$1000000, %edx                  ## imm = 0xF4240
	callq	_SENSORS_LIMIT
	movq	%rax, %rcx
	addq	$1350000, %rax                  ## imm = 0x149970
	movq	%rcx, %rdx
	orq	%rax, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	cqto
	idivq	%rcx
	jmp	LBB0_5
LBB0_1:
	movl	$65532, %edi                    ## imm = 0xFFFC
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	_cpu_to_le16                    ## TAILCALL
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	movl	%eax, %edi
	movl	$1, %esi
	movl	$16382, %edx                    ## imm = 0x3FFE
	callq	_SENSORS_LIMIT
	movq	%rax, %rdi
	shll	$2, %edi
	popq	%rbp
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	_cpu_to_le16                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_LM93_FAN_TO_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_TO_REG
_LM93_FAN_TO_REG:                       ; @LM93_FAN_TO_REG
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	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
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #1
	mov	w2, #16960
	movk	w2, #15, lsl #16
	bl	_SENSORS_LIMIT
	add	x8, x0, #329, lsl #12           ; =1347584
	add	x8, x8, #2416
	sdiv	x0, x8, x0
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #1
	mov	w2, #16382
	bl	_SENSORS_LIMIT
	lsl	w0, w0, #2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cpu_to_le16
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #65532
	b	_cpu_to_le16
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_LM93_FAN_TO_REG
.subsections_via_symbols
