	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_ccn_irq_handler
_arm_ccn_irq_handler:                   ## @arm_ccn_irq_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_CCN_MN_ERR_SIG_VAL_63_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rsi), %rdi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, -80(%rbp)
	movq	_CCN_MN_ERR_SIG_VAL_63_0__DT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_2
## %bb.1:
	notl	%eax
	andl	%eax, %ebx
	leaq	8(%r15), %rdi
	callq	_arm_ccn_pmu_overflow_handler
	movl	%eax, %r14d
LBB0_2:
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	leaq	-80(%rbp), %rdi
	callq	_ARRAY_SIZE
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.3:
	movl	$1, %r14d
	movl	$4, %r13d
	leaq	-80(%rbp), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	_CCN_MN_ERR_SIG_VAL_63_0@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	addq	%r13, %rdi
	callq	_readl
	movl	%eax, -80(%rbp,%r13)
	orl	%eax, %ebx
	incq	%r14
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %r14
	jl	LBB0_4
LBB0_5:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.7:
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_arm_ccn_error_handler
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	orl	%eax, %ebx
	jmp	LBB0_8
LBB0_6:
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
LBB0_8:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_10
## %bb.9:
	movq	_CCN_MN_ERRINT_STATUS__INTREQ__DESSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CCN_MN_ERRINT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_CCN_MN_ERR_SIG_VAL_63_0,8,3    ## @CCN_MN_ERR_SIG_VAL_63_0
	.comm	_CCN_MN_ERR_SIG_VAL_63_0__DT,4,2 ## @CCN_MN_ERR_SIG_VAL_63_0__DT
	.comm	_CCN_MN_ERRINT_STATUS__INTREQ__DESSERT,4,2 ## @CCN_MN_ERRINT_STATUS__INTREQ__DESSERT
	.comm	_CCN_MN_ERRINT_STATUS,8,3       ## @CCN_MN_ERRINT_STATUS
	.no_dead_strip	_arm_ccn_irq_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_irq_handler
_arm_ccn_irq_handler:                   ; @arm_ccn_irq_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
	ldr	w19, [x22]
	ldr	x8, [x1]
Lloh5:
	adrp	x23, _CCN_MN_ERR_SIG_VAL_63_0@GOTPAGE
Lloh6:
	ldr	x23, [x23, _CCN_MN_ERR_SIG_VAL_63_0@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	str	w0, [sp]
Lloh7:
	adrp	x8, _CCN_MN_ERR_SIG_VAL_63_0__DT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CCN_MN_ERR_SIG_VAL_63_0__DT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	bic	w21, w21, w8
	add	x0, x20, #8
	bl	_arm_ccn_pmu_overflow_handler
	mov	x19, x0
LBB0_2:
	mov	x24, sp
	mov	x0, sp
	bl	_ARRAY_SIZE
	cmp	w0, #2
	b.lt	LBB0_5
; %bb.3:
	mov	w25, #1
	mov	w26, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x23]
	add	x8, x8, x9
	add	x0, x26, x8
	bl	_readl
	str	w0, [x24, x26]
	orr	w21, w0, w21
	add	x25, x25, #1
	mov	x0, sp
	bl	_ARRAY_SIZE
	add	x26, x26, #4
	cmp	x25, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
	cbz	w21, LBB0_7
; %bb.6:
	mov	x1, sp
	mov	x0, x20
	bl	_arm_ccn_error_handler
	orr	w19, w0, w19
LBB0_7:
	ldr	w8, [x22]
	cmp	w19, w8
	b.eq	LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _CCN_MN_ERRINT_STATUS__INTREQ__DESSERT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CCN_MN_ERRINT_STATUS__INTREQ__DESSERT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [x20]
Lloh13:
	adrp	x9, _CCN_MN_ERRINT_STATUS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CCN_MN_ERRINT_STATUS@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_9:
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_CCN_MN_ERR_SIG_VAL_63_0,8,3    ; @CCN_MN_ERR_SIG_VAL_63_0
	.comm	_CCN_MN_ERR_SIG_VAL_63_0__DT,4,2 ; @CCN_MN_ERR_SIG_VAL_63_0__DT
	.comm	_CCN_MN_ERRINT_STATUS__INTREQ__DESSERT,4,2 ; @CCN_MN_ERRINT_STATUS__INTREQ__DESSERT
	.comm	_CCN_MN_ERRINT_STATUS,8,3       ; @CCN_MN_ERRINT_STATUS
	.no_dead_strip	_arm_ccn_irq_handler
.subsections_via_symbols
