	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxllib_slot_is_supported       ## -- Begin function cxllib_slot_is_supported
	.p2align	4, 0x90
_cxllib_slot_is_supported:              ## @cxllib_slot_is_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_1
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	_CPU_FTR_HVMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_has_feature
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_cxl_is_power9
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_cxl_slot_is_switched
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	-24(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movq	%r14, %rdi
	callq	_cxl_calc_capp_routing
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_FTR_HVMODE,4,2             ## @CPU_FTR_HVMODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxllib_slot_is_supported       ; -- Begin function cxllib_slot_is_supported
	.p2align	2
_cxllib_slot_is_supported:              ; @cxllib_slot_is_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	mov	x19, x0
Lloh0:
	adrp	x8, _CPU_FTR_HVMODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_FTR_HVMODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_has_feature
	cbz	w0, LBB0_2
; %bb.4:
	bl	_cxl_is_power9
	cbz	w0, LBB0_2
; %bb.5:
	mov	x0, x19
	bl	_cxl_slot_is_switched
	cbnz	x0, LBB0_1
; %bb.6:
	add	x1, sp, #8
	add	x2, sp, #12
	add	x3, sp, #4
	mov	x0, x19
	bl	_cxl_calc_capp_routing
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_FTR_HVMODE,4,2             ; @CPU_FTR_HVMODE
.subsections_via_symbols
