	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recover_psl_err
_recover_psl_err:                       ## @recover_psl_err
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_pr_devel
	movq	_CXL_PSL_DSISR_An@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_cxl_p2n_read
	movl	(%r15), %esi
	movq	_CXL_PSL_DSISR_An_PE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	callq	_cxl_p2n_write
	movq	_CXL_PSL_ErrStat_An@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cxl_p2n_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RECOVERING FROM PSL ERROR... (0x%016llx)\n"

	.comm	_CXL_PSL_DSISR_An,4,2           ## @CXL_PSL_DSISR_An
	.comm	_CXL_PSL_DSISR_An_PE,4,2        ## @CXL_PSL_DSISR_An_PE
	.comm	_CXL_PSL_ErrStat_An,4,2         ## @CXL_PSL_ErrStat_An
	.no_dead_strip	_recover_psl_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recover_psl_err
_recover_psl_err:                       ; @recover_psl_err
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_devel
Lloh2:
	adrp	x21, _CXL_PSL_DSISR_An@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CXL_PSL_DSISR_An@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_cxl_p2n_read
	ldr	w1, [x21]
Lloh4:
	adrp	x8, _CXL_PSL_DSISR_An_PE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CXL_PSL_DSISR_An_PE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x20
	bl	_cxl_p2n_write
Lloh7:
	adrp	x8, _CXL_PSL_ErrStat_An@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CXL_PSL_ErrStat_An@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cxl_p2n_write
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RECOVERING FROM PSL ERROR... (0x%016llx)\n"

	.comm	_CXL_PSL_DSISR_An,4,2           ; @CXL_PSL_DSISR_An
	.comm	_CXL_PSL_DSISR_An_PE,4,2        ; @CXL_PSL_DSISR_An_PE
	.comm	_CXL_PSL_ErrStat_An,4,2         ; @CXL_PSL_ErrStat_An
	.no_dead_strip	_recover_psl_err
.subsections_via_symbols
