	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intr_handler
_intr_handler:                          ## @intr_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rsi), %r14
	movq	32(%r14), %r13
	movq	_DDR_QOS_IRQ_STAT_OFST@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	_DDR_QOSCE_MASK@GOTPCREL(%rip), %rcx
	movq	_DDR_QOSUE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	andl	%eax, %ebx
	movq	_ECC_CE_UE_INTR_MASK@GOTPCREL(%rip), %rax
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	*(%r13)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	16(%r14), %eax
	movl	24(%r14), %ecx
	addl	%ecx, 12(%r14)
	leaq	16(%r14), %rsi
	addl	%eax, 8(%r14)
	movq	%r15, %rdi
	callq	_handle_error
	movl	8(%r14), %ecx
	movl	12(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_edac_dbg
	movq	_DDR_QOS_IRQ_STAT_OFST@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
LBB0_3:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDR_QOS_IRQ_STAT_OFST,8,3      ## @DDR_QOS_IRQ_STAT_OFST
	.comm	_DDR_QOSCE_MASK,4,2             ## @DDR_QOSCE_MASK
	.comm	_DDR_QOSUE_MASK,4,2             ## @DDR_QOSUE_MASK
	.comm	_ECC_CE_UE_INTR_MASK,4,2        ## @ECC_CE_UE_INTR_MASK
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Total error count CE %d UE %d\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_intr_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intr_handler
_intr_handler:                          ; @intr_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	ldr	x19, [x1]
	ldr	x23, [x19, #32]
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _DDR_QOS_IRQ_STAT_OFST@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DDR_QOS_IRQ_STAT_OFST@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _DDR_QOSCE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DDR_QOSCE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _DDR_QOSUE_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DDR_QOSUE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w20, w8, w0
Lloh8:
	adrp	x8, _ECC_CE_UE_INTR_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ECC_CE_UE_INTR_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w20, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x23]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	mov	x1, x19
	ldr	q0, [x1, #16]!
	ldr	d1, [x19, #8]
	xtn.2s	v0, v0
	add.2s	v0, v1, v0
	str	d0, [x19, #8]
	mov	x0, x21
	bl	_handle_error
	ldp	w3, w2, [x19, #8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_edac_dbg
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DDR_QOS_IRQ_STAT_OFST,8,3      ; @DDR_QOS_IRQ_STAT_OFST
	.comm	_DDR_QOSCE_MASK,4,2             ; @DDR_QOSCE_MASK
	.comm	_DDR_QOSUE_MASK,4,2             ; @DDR_QOSUE_MASK
	.comm	_ECC_CE_UE_INTR_MASK,4,2        ; @ECC_CE_UE_INTR_MASK
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Total error count CE %d UE %d\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_intr_handler
.subsections_via_symbols
