	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_ccn_error_handler
_arm_ccn_error_handler:                 ## @arm_ccn_error_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	20(%rsi), %edx
	movl	16(%rsi), %ecx
	movl	12(%rsi), %r8d
	movl	8(%rsi), %r9d
	movl	(%rsi), %r10d
	movl	4(%rsi), %r11d
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r11
	callq	_dev_err
	addq	$16, %rsp
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_CCN_MN_ERRINT_STATUS__ALL_ERRORS__DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CCN_MN_ERRINT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error reported in %08x%08x%08x%08x%08x%08x.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Disabling interrupt generation for all errors.\n"

	.comm	_CCN_MN_ERRINT_STATUS__ALL_ERRORS__DISABLE,4,2 ## @CCN_MN_ERRINT_STATUS__ALL_ERRORS__DISABLE
	.comm	_CCN_MN_ERRINT_STATUS,8,3       ## @CCN_MN_ERRINT_STATUS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_arm_ccn_error_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_ccn_error_handler
_arm_ccn_error_handler:                 ; @arm_ccn_error_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldp	w9, w8, [x1, #16]
	ldp	w11, w10, [x1, #8]
	ldp	w13, w12, [x1]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh4:
	adrp	x8, _CCN_MN_ERRINT_STATUS__ALL_ERRORS__DISABLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CCN_MN_ERRINT_STATUS__ALL_ERRORS__DISABLE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _CCN_MN_ERRINT_STATUS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CCN_MN_ERRINT_STATUS@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error reported in %08x%08x%08x%08x%08x%08x.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Disabling interrupt generation for all errors.\n"

	.comm	_CCN_MN_ERRINT_STATUS__ALL_ERRORS__DISABLE,4,2 ; @CCN_MN_ERRINT_STATUS__ALL_ERRORS__DISABLE
	.comm	_CCN_MN_ERRINT_STATUS,8,3       ; @CCN_MN_ERRINT_STATUS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_arm_ccn_error_handler
.subsections_via_symbols
