	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsl_fault_handler
_xsl_fault_handler:                     ## @xsl_fault_handler
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_read_irq
	movq	48(%rbx), %rdi
	movq	-32(%rbp), %rsi
	movq	-40(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movl	$-1, %r8d
	callq	_trace_ocxl_fault
	movq	-32(%rbp), %rax
	movq	_SPA_PE_MASK@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_WARN_ON
	movq	48(%rbx), %rax
	movq	-32(%rbp), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_be32_to_cpu
	movl	%eax, %r15d
	movq	-40(%rbp), %rdx
	movq	_SPA_XSL_TF@GOTPCREL(%rip), %rax
	testq	%rdx, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	leaq	40(%rbx), %rdi
	movq	-32(%rbp), %rsi
	callq	_radix_tree_lookup
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	xorl	%edi, %edi
	cmpl	%r15d, (%rax)
	setne	%dil
	callq	_WARN_ON
	movq	(%r14), %rdi
	callq	_mmget_not_zero
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	-32(%rbp), %rax
	movq	%rax, 32(%rbx)
	movq	-48(%rbp), %rax
	movq	%rax, 24(%rbx)
	movq	-40(%rbp), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%rbx, %rdi
	callq	_schedule_work
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_warn
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_9:
	movq	_ADDRESS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ack_irq
LBB0_10:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPA_PE_MASK,8,3                ## @SPA_PE_MASK
	.comm	_SPA_XSL_TF,8,3                 ## @SPA_XSL_TF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid xsl interrupt fault register %#llx\n"

	.comm	_ADDRESS_ERROR,4,2              ## @ADDRESS_ERROR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
L_.str.1:                               ## @.str.1
	.asciz	"Unknown mm context for xsl interrupt\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unresolved OpenCAPI xsl fault in kernel context\n"

	.no_dead_strip	_xsl_fault_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsl_fault_handler
_xsl_fault_handler:                     ; @xsl_fault_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x19, [x1]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x19
	bl	_read_irq
	ldr	x0, [x19, #48]
	ldp	x1, x3, [sp, #8]
	ldr	x2, [sp, #24]
	mov	w4, #-1
	bl	_trace_ocxl_fault
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _SPA_PE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPA_PE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_WARN_ON
	ldr	x8, [x19, #48]
	ldr	x9, [sp, #8]
	ldr	w0, [x8, x9, lsl #2]
	bl	_be32_to_cpu
	ldr	x2, [sp, #24]
Lloh3:
	adrp	x8, _SPA_XSL_TF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPA_XSL_TF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	tst	x8, x2
	b.eq	LBB0_5
; %bb.1:
	mov	x21, x0
	bl	_rcu_read_lock
	add	x0, x19, #40
	ldr	x1, [sp, #8]
	bl	_radix_tree_lookup
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	w8, [x8]
	cmp	w8, w21
	cset	w0, ne
	bl	_WARN_ON
	ldr	x0, [x20]
	bl	_mmget_not_zero
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x10, [sp, #8]
	ldp	x8, x9, [sp, #16]
	stp	x8, x10, [x19, #24]
	str	x9, [x19, #16]
	ldr	x8, [x20]
	str	x8, [x19, #8]
	bl	_rcu_read_unlock
	mov	x0, x19
	bl	_schedule_work
	b	LBB0_10
LBB0_5:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
	b	LBB0_9
LBB0_6:
	bl	_rcu_read_unlock
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_9
LBB0_7:
	bl	_rcu_read_unlock
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_warn
	b	LBB0_9
LBB0_8:
	bl	_rcu_read_unlock
LBB0_9:
Lloh12:
	adrp	x8, _ADDRESS_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADDRESS_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ack_irq
LBB0_10:
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SPA_PE_MASK,8,3                ; @SPA_PE_MASK
	.comm	_SPA_XSL_TF,8,3                 ; @SPA_XSL_TF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid xsl interrupt fault register %#llx\n"

	.comm	_ADDRESS_ERROR,4,2              ; @ADDRESS_ERROR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
l_.str.1:                               ; @.str.1
	.asciz	"Unknown mm context for xsl interrupt\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unresolved OpenCAPI xsl fault in kernel context\n"

	.no_dead_strip	_xsl_fault_handler
.subsections_via_symbols
