	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FAN_MAX_TO_REG
_FAN_MAX_TO_REG:                        ## @FAN_MAX_TO_REG
	.cfi_startproc
## %bb.0:
	movl	$10, %eax
	cmpl	$5500, %edi                     ## imm = 0x157C
	jg	LBB0_10
## %bb.1:
	movl	$9, %eax
	cmpl	$5000, %edi                     ## imm = 0x1388
	jg	LBB0_10
## %bb.2:
	movl	$8, %eax
	cmpl	$4500, %edi                     ## imm = 0x1194
	jg	LBB0_10
## %bb.3:
	movl	$7, %eax
	cmpl	$4000, %edi                     ## imm = 0xFA0
	jg	LBB0_10
## %bb.4:
	movl	$6, %eax
	cmpl	$3500, %edi                     ## imm = 0xDAC
	jg	LBB0_10
## %bb.5:
	movl	$5, %eax
	cmpl	$3000, %edi                     ## imm = 0xBB8
	jg	LBB0_10
## %bb.6:
	movl	$4, %eax
	cmpl	$2500, %edi                     ## imm = 0x9C4
	jg	LBB0_10
## %bb.7:
	movl	$3, %eax
	cmpl	$2000, %edi                     ## imm = 0x7D0
	jg	LBB0_10
## %bb.8:
	movl	$2, %eax
	cmpl	$1500, %edi                     ## imm = 0x5DC
	jg	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	cmpl	$1001, %edi                     ## imm = 0x3E9
	setge	%al
LBB0_10:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FAN_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAN_MAX,8,3                    ## @FAN_MAX
	.no_dead_strip	_FAN_MAX_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_MAX_TO_REG
_FAN_MAX_TO_REG:                        ; @FAN_MAX_TO_REG
	.cfi_startproc
; %bb.0:
	mov	w8, #5500
	cmp	w0, w8
	b.le	LBB0_2
; %bb.1:
	mov	w8, #10
	b	LBB0_5
LBB0_2:
	mov	w8, #5000
	cmp	w0, w8
	b.le	LBB0_4
; %bb.3:
	mov	w8, #9
	b	LBB0_5
LBB0_4:
	mov	w8, #8
	mov	w9, #4500
	mov	w10, #7
	mov	w11, #6
	mov	w12, #5
	mov	w13, #4
	mov	w14, #3
	mov	w15, #2
	cmp	w0, #1000
	cset	w16, gt
	cmp	w0, #1500
	csel	x15, x15, x16, gt
	cmp	w0, #2000
	csel	x14, x14, x15, gt
	cmp	w0, #2500
	csel	x13, x13, x14, gt
	cmp	w0, #3000
	csel	x12, x12, x13, gt
	cmp	w0, #3500
	csel	x11, x11, x12, gt
	cmp	w0, #4000
	csel	x10, x10, x11, gt
	cmp	w0, w9
	csel	x8, x8, x10, gt
LBB0_5:
Lloh0:
	adrp	x9, _FAN_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FAN_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x9, x8, lsl #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FAN_MAX,8,3                    ; @FAN_MAX
	.no_dead_strip	_FAN_MAX_TO_REG
.subsections_via_symbols
