	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxl_afu_decode_psl_serr        ## -- Begin function cxl_afu_decode_psl_serr
	.p2align	4, 0x90
_cxl_afu_decode_psl_serr:               ## @cxl_afu_decode_psl_serr
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_crit
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_crit
	movq	_CXL_PSL_SERR_An_afuto@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_2:
	movq	_CXL_PSL_SERR_An_afudis@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_4:
	movq	_CXL_PSL_SERR_An_afuov@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_6:
	movq	_CXL_PSL_SERR_An_badsrc@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_8:
	movq	_CXL_PSL_SERR_An_badctx@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_10:
	movq	_CXL_PSL_SERR_An_llcmdis@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_12:
	movq	_CXL_PSL_SERR_An_llcmdto@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_14:
	movq	_CXL_PSL_SERR_An_afupar@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_16
## %bb.15:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_16:
	movq	_CXL_PSL_SERR_An_afudup@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_18
## %bb.17:
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_crit
LBB0_18:
	movq	_CXL_PSL_SERR_An_AE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.20:
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_crit                       ## TAILCALL
LBB0_19:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PSL Slice error received. Check AFU for root cause.\n"

L_.str.1:                               ## @.str.1
	.asciz	"PSL_SERR_An: 0x%016llx\n"

	.comm	_CXL_PSL_SERR_An_afuto,4,2      ## @CXL_PSL_SERR_An_afuto
L_.str.2:                               ## @.str.2
	.asciz	"AFU MMIO Timeout\n"

	.comm	_CXL_PSL_SERR_An_afudis,4,2     ## @CXL_PSL_SERR_An_afudis
L_.str.3:                               ## @.str.3
	.asciz	"MMIO targeted Accelerator that was not enabled\n"

	.comm	_CXL_PSL_SERR_An_afuov,4,2      ## @CXL_PSL_SERR_An_afuov
L_.str.4:                               ## @.str.4
	.asciz	"AFU CTAG Overflow\n"

	.comm	_CXL_PSL_SERR_An_badsrc,4,2     ## @CXL_PSL_SERR_An_badsrc
L_.str.5:                               ## @.str.5
	.asciz	"Bad Interrupt Source\n"

	.comm	_CXL_PSL_SERR_An_badctx,4,2     ## @CXL_PSL_SERR_An_badctx
L_.str.6:                               ## @.str.6
	.asciz	"Bad Context Handle\n"

	.comm	_CXL_PSL_SERR_An_llcmdis,4,2    ## @CXL_PSL_SERR_An_llcmdis
L_.str.7:                               ## @.str.7
	.asciz	"LLCMD to Disabled AFU\n"

	.comm	_CXL_PSL_SERR_An_llcmdto,4,2    ## @CXL_PSL_SERR_An_llcmdto
L_.str.8:                               ## @.str.8
	.asciz	"LLCMD Timeout to AFU\n"

	.comm	_CXL_PSL_SERR_An_afupar,4,2     ## @CXL_PSL_SERR_An_afupar
L_.str.9:                               ## @.str.9
	.asciz	"AFU MMIO Parity Error\n"

	.comm	_CXL_PSL_SERR_An_afudup,4,2     ## @CXL_PSL_SERR_An_afudup
L_.str.10:                              ## @.str.10
	.asciz	"AFU MMIO Duplicate CTAG Error\n"

	.comm	_CXL_PSL_SERR_An_AE,4,2         ## @CXL_PSL_SERR_An_AE
L_.str.11:                              ## @.str.11
	.asciz	"AFU asserted JDONE with JERROR in AFU Directed Mode\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxl_afu_decode_psl_serr        ; -- Begin function cxl_afu_decode_psl_serr
	.p2align	2
_cxl_afu_decode_psl_serr:               ; @cxl_afu_decode_psl_serr
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_crit
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
Lloh4:
	adrp	x8, _CXL_PSL_SERR_An_afuto@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CXL_PSL_SERR_An_afuto@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_2:
Lloh9:
	adrp	x8, _CXL_PSL_SERR_An_afudis@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CXL_PSL_SERR_An_afudis@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_4:
Lloh14:
	adrp	x8, _CXL_PSL_SERR_An_afuov@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CXL_PSL_SERR_An_afuov@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_6:
Lloh19:
	adrp	x8, _CXL_PSL_SERR_An_badsrc@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CXL_PSL_SERR_An_badsrc@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_8:
Lloh24:
	adrp	x8, _CXL_PSL_SERR_An_badctx@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CXL_PSL_SERR_An_badctx@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_10:
Lloh29:
	adrp	x8, _CXL_PSL_SERR_An_llcmdis@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CXL_PSL_SERR_An_llcmdis@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_12:
Lloh34:
	adrp	x8, _CXL_PSL_SERR_An_llcmdto@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CXL_PSL_SERR_An_llcmdto@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.13:
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_14:
Lloh39:
	adrp	x8, _CXL_PSL_SERR_An_afupar@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CXL_PSL_SERR_An_afupar@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_16
; %bb.15:
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_16:
Lloh44:
	adrp	x8, _CXL_PSL_SERR_An_afudup@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CXL_PSL_SERR_An_afudup@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_18
; %bb.17:
Lloh47:
	adrp	x1, l_.str.10@PAGE
Lloh48:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_crit
LBB0_18:
Lloh49:
	adrp	x8, _CXL_PSL_SERR_An_AE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _CXL_PSL_SERR_An_AE@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_20
; %bb.19:
Lloh52:
	adrp	x1, l_.str.11@PAGE
Lloh53:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dev_crit
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PSL Slice error received. Check AFU for root cause.\n"

l_.str.1:                               ; @.str.1
	.asciz	"PSL_SERR_An: 0x%016llx\n"

	.comm	_CXL_PSL_SERR_An_afuto,4,2      ; @CXL_PSL_SERR_An_afuto
l_.str.2:                               ; @.str.2
	.asciz	"AFU MMIO Timeout\n"

	.comm	_CXL_PSL_SERR_An_afudis,4,2     ; @CXL_PSL_SERR_An_afudis
l_.str.3:                               ; @.str.3
	.asciz	"MMIO targeted Accelerator that was not enabled\n"

	.comm	_CXL_PSL_SERR_An_afuov,4,2      ; @CXL_PSL_SERR_An_afuov
l_.str.4:                               ; @.str.4
	.asciz	"AFU CTAG Overflow\n"

	.comm	_CXL_PSL_SERR_An_badsrc,4,2     ; @CXL_PSL_SERR_An_badsrc
l_.str.5:                               ; @.str.5
	.asciz	"Bad Interrupt Source\n"

	.comm	_CXL_PSL_SERR_An_badctx,4,2     ; @CXL_PSL_SERR_An_badctx
l_.str.6:                               ; @.str.6
	.asciz	"Bad Context Handle\n"

	.comm	_CXL_PSL_SERR_An_llcmdis,4,2    ; @CXL_PSL_SERR_An_llcmdis
l_.str.7:                               ; @.str.7
	.asciz	"LLCMD to Disabled AFU\n"

	.comm	_CXL_PSL_SERR_An_llcmdto,4,2    ; @CXL_PSL_SERR_An_llcmdto
l_.str.8:                               ; @.str.8
	.asciz	"LLCMD Timeout to AFU\n"

	.comm	_CXL_PSL_SERR_An_afupar,4,2     ; @CXL_PSL_SERR_An_afupar
l_.str.9:                               ; @.str.9
	.asciz	"AFU MMIO Parity Error\n"

	.comm	_CXL_PSL_SERR_An_afudup,4,2     ; @CXL_PSL_SERR_An_afudup
l_.str.10:                              ; @.str.10
	.asciz	"AFU MMIO Duplicate CTAG Error\n"

	.comm	_CXL_PSL_SERR_An_AE,4,2         ; @CXL_PSL_SERR_An_AE
l_.str.11:                              ; @.str.11
	.asciz	"AFU asserted JDONE with JERROR in AFU Directed Mode\n"

.subsections_via_symbols
