	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FAN_TYPE_TO_REG
_FAN_TYPE_TO_REG:                       ## @FAN_TYPE_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
                                        ## kill: def $edi killed $edi def $rdi
	andl	$249, %esi
	leal	(%rdi,%rdi), %ecx
	cmpl	$4, %edi
	movl	$6, %eax
	cmovnel	%ecx, %eax
	orl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_FAN_TYPE_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_TYPE_TO_REG
_FAN_TYPE_TO_REG:                       ; @FAN_TYPE_TO_REG
	.cfi_startproc
; %bb.0:
	mov	w8, #249
	and	w8, w1, w8
	lsl	w9, w0, #1
	mov	w10, #6
	cmp	w0, #4
	csel	w9, w10, w9, eq
	orr	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_FAN_TYPE_TO_REG
.subsections_via_symbols
