	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guest_slice_irq_err
_guest_slice_irq_err:                   ## @guest_slice_irq_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
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rsi
	callq	_cxl_h_get_fn_error_interrupt
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	movq	_CXL_AFU_ERR_An@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cxl_p2n_read
	movl	%eax, %r14d
	movq	_CXL_PSL_DSISR_An@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cxl_p2n_read
	movl	%eax, %r15d
	movl	-28(%rbp), %esi
	movq	%rbx, %rdi
	callq	_cxl_afu_decode_psl_serr
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_dev_crit
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_dev_crit
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	-28(%rbp), %esi
	callq	_cxl_h_ack_fn_error_interrupt
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_crit
LBB0_5:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't read PSL_SERR_An: %d\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_CXL_AFU_ERR_An,4,2             ## @CXL_AFU_ERR_An
	.comm	_CXL_PSL_DSISR_An,4,2           ## @CXL_PSL_DSISR_An
L_.str.1:                               ## @.str.1
	.asciz	"AFU_ERR_An: 0x%.16llx\n"

L_.str.2:                               ## @.str.2
	.asciz	"PSL_DSISR_An: 0x%.16llx\n"

L_.str.3:                               ## @.str.3
	.asciz	"Couldn't ack slice error interrupt: %d\n"

	.no_dead_strip	_guest_slice_irq_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guest_slice_irq_err
_guest_slice_irq_err:                   ; @guest_slice_irq_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_cxl_h_get_fn_error_interrupt
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _CXL_AFU_ERR_An@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CXL_AFU_ERR_An@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cxl_p2n_read
	mov	x20, x0
Lloh5:
	adrp	x8, _CXL_PSL_DSISR_An@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CXL_PSL_DSISR_An@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cxl_p2n_read
	mov	x21, x0
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_cxl_afu_decode_psl_serr
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_crit
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_crit
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w1, [sp, #12]
	bl	_cxl_h_ack_fn_error_interrupt
	cbz	w0, LBB0_5
; %bb.3:
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_crit
LBB0_5:
Lloh14:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't read PSL_SERR_An: %d\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_CXL_AFU_ERR_An,4,2             ; @CXL_AFU_ERR_An
	.comm	_CXL_PSL_DSISR_An,4,2           ; @CXL_PSL_DSISR_An
l_.str.1:                               ; @.str.1
	.asciz	"AFU_ERR_An: 0x%.16llx\n"

l_.str.2:                               ; @.str.2
	.asciz	"PSL_DSISR_An: 0x%.16llx\n"

l_.str.3:                               ; @.str.3
	.asciz	"Couldn't ack slice error interrupt: %d\n"

	.no_dead_strip	_guest_slice_irq_err
.subsections_via_symbols
