	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fan_to_reg
_fan_to_reg:                            ## @fan_to_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmpq	$83, %rdi
	jb	LBB0_3
## %bb.1:
	movl	$4, %eax
	cmpq	$1349999, %rdi                  ## imm = 0x14996F
	ja	LBB0_3
## %bb.2:
	movq	%rdi, %rax
	shrq	%rax
	addl	$1350000, %eax                  ## imm = 0x149970
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
	shll	$2, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_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 fan_to_reg
_fan_to_reg:                            ; @fan_to_reg
	.cfi_startproc
; %bb.0:
	cmp	x0, #83
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #65535
	ret
LBB0_2:
	mov	w8, #39279
	movk	w8, #20, lsl #16
	cmp	x0, x8
	b.ls	LBB0_4
; %bb.3:
	mov	w0, #4
	ret
LBB0_4:
	lsr	x8, x0, #1
	add	w8, w8, #329, lsl #12           ; =1347584
	add	w8, w8, #2416
	udiv	w8, w8, w0
	lsl	w0, w8, #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fan_to_reg
.subsections_via_symbols
