	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxl_attach_dedicated_process_psl9 ## -- Begin function cxl_attach_dedicated_process_psl9
	.p2align	4, 0x90
_cxl_attach_dedicated_process_psl9:     ## @cxl_attach_dedicated_process_psl9
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	callq	_process_element_entry_psl9
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_3:
	movq	_CXL_PE_SOFTWARE_STATE_V@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_cxl_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_afu_enable                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CXL_PE_SOFTWARE_STATE_V,4,2    ## @CXL_PE_SOFTWARE_STATE_V
	.comm	_cxl_ops,8,3                    ## @cxl_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxl_attach_dedicated_process_psl9 ; -- Begin function cxl_attach_dedicated_process_psl9
	.p2align	2
_cxl_attach_dedicated_process_psl9:     ; @cxl_attach_dedicated_process_psl9
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0, #8]
	bl	_process_element_entry_psl9
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_3:
Lloh0:
	adrp	x8, _CXL_PE_SOFTWARE_STATE_V@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CXL_PE_SOFTWARE_STATE_V@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	ldr	x8, [x20]
	str	w0, [x8]
Lloh3:
	adrp	x8, _cxl_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cxl_ops@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_afu_enable
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CXL_PE_SOFTWARE_STATE_V,4,2    ; @CXL_PE_SOFTWARE_STATE_V
	.comm	_cxl_ops,8,3                    ; @cxl_ops
.subsections_via_symbols
