	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mc7_intr_handler
_mc7_intr_handler:                      ## @mc7_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	movq	_A_MC7_INT_CAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, %r15d
	movq	_F_CE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	incl	24(%rbx)
	movl	8(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_A_MC7_CE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_A_MC7_CE_DATA0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, %r12d
	movq	_A_MC7_CE_DATA1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, %r13d
	movq	_A_MC7_CE_DATA2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	callq	_CH_WARN
LBB0_2:
	movq	_F_UE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	incl	20(%rbx)
	movl	8(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_A_MC7_UE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_A_MC7_UE_DATA0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, %r12d
	movq	_A_MC7_UE_DATA1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, %r13d
	movq	_A_MC7_UE_DATA2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_CH_ALERT
LBB0_4:
	movl	%r15d, %edi
	callq	_G_PE
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	incl	16(%rbx)
	movl	8(%rbx), %r12d
	movl	%r15d, %edi
	callq	_G_PE
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_CH_ALERT
LBB0_6:
	movq	_F_AE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.7:
	cmpq	$0, (%r14)
	jle	LBB0_8
## %bb.9:
	movq	_A_MC7_ERR_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, %ecx
	jmp	LBB0_10
LBB0_8:
	xorl	%ecx, %ecx
LBB0_10:
	incl	12(%rbx)
	movl	8(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_CH_ALERT
LBB0_11:
	movq	_MC7_INTR_FATAL@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_t3_fatal_err
LBB0_13:
	movq	_A_MC7_INT_CAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_MC7_INT_CAUSE,8,3            ## @A_MC7_INT_CAUSE
	.comm	_F_CE,4,2                       ## @F_CE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s MC7 correctable error at addr 0x%x, data 0x%x 0x%x 0x%x\n"

	.comm	_A_MC7_CE_ADDR,8,3              ## @A_MC7_CE_ADDR
	.comm	_A_MC7_CE_DATA0,8,3             ## @A_MC7_CE_DATA0
	.comm	_A_MC7_CE_DATA1,8,3             ## @A_MC7_CE_DATA1
	.comm	_A_MC7_CE_DATA2,8,3             ## @A_MC7_CE_DATA2
	.comm	_F_UE,4,2                       ## @F_UE
L_.str.1:                               ## @.str.1
	.asciz	"%s MC7 uncorrectable error at addr 0x%x, data 0x%x 0x%x 0x%x\n"

	.comm	_A_MC7_UE_ADDR,8,3              ## @A_MC7_UE_ADDR
	.comm	_A_MC7_UE_DATA0,8,3             ## @A_MC7_UE_DATA0
	.comm	_A_MC7_UE_DATA1,8,3             ## @A_MC7_UE_DATA1
	.comm	_A_MC7_UE_DATA2,8,3             ## @A_MC7_UE_DATA2
L_.str.2:                               ## @.str.2
	.asciz	"%s MC7 parity error 0x%x\n"

	.comm	_F_AE,4,2                       ## @F_AE
	.comm	_A_MC7_ERR_ADDR,8,3             ## @A_MC7_ERR_ADDR
L_.str.3:                               ## @.str.3
	.asciz	"%s MC7 address error: 0x%x\n"

	.comm	_MC7_INTR_FATAL,4,2             ## @MC7_INTR_FATAL
	.no_dead_strip	_mc7_intr_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mc7_intr_handler
_mc7_intr_handler:                      ; @mc7_intr_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, x0
	ldr	x19, [x0, #32]
	ldr	x8, [x0]
Lloh0:
	adrp	x26, _A_MC7_INT_CAUSE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _A_MC7_INT_CAUSE@GOTPAGEOFF]
	ldr	x9, [x26]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x21, x0
Lloh2:
	adrp	x8, _F_CE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _F_CE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
	ldr	w22, [x20, #8]
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _A_MC7_CE_ADDR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _A_MC7_CE_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x23, x0
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _A_MC7_CE_DATA0@GOTPAGE
Lloh9:
	ldr	x9, [x9, _A_MC7_CE_DATA0@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x24, x0
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _A_MC7_CE_DATA1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _A_MC7_CE_DATA1@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x25, x0
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _A_MC7_CE_DATA2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _A_MC7_CE_DATA2@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x6, x0
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	bl	_CH_WARN
LBB0_2:
Lloh19:
	adrp	x8, _F_UE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _F_UE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x20, #20]
	add	w8, w8, #1
	str	w8, [x20, #20]
	ldr	w22, [x20, #8]
	ldr	x8, [x20]
Lloh22:
	adrp	x9, _A_MC7_UE_ADDR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _A_MC7_UE_ADDR@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x23, x0
	ldr	x8, [x20]
Lloh25:
	adrp	x9, _A_MC7_UE_DATA0@GOTPAGE
Lloh26:
	ldr	x9, [x9, _A_MC7_UE_DATA0@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x24, x0
	ldr	x8, [x20]
Lloh28:
	adrp	x9, _A_MC7_UE_DATA1@GOTPAGE
Lloh29:
	ldr	x9, [x9, _A_MC7_UE_DATA1@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x25, x0
	ldr	x8, [x20]
Lloh31:
	adrp	x9, _A_MC7_UE_DATA2@GOTPAGE
Lloh32:
	ldr	x9, [x9, _A_MC7_UE_DATA2@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #8]
	str	x24, [sp]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	mov	x3, x23
	bl	_CH_ALERT
LBB0_4:
	mov	x0, x21
	bl	_G_PE
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
	ldr	w22, [x20, #8]
	mov	x0, x21
	bl	_G_PE
	mov	x3, x0
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_CH_ALERT
LBB0_6:
Lloh38:
	adrp	x8, _F_AE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _F_AE@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.7:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	x8, [x20]
Lloh41:
	adrp	x9, _A_MC7_ERR_ADDR@GOTPAGE
Lloh42:
	ldr	x9, [x9, _A_MC7_ERR_ADDR@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_t3_read_reg
	mov	x3, x0
	b	LBB0_10
LBB0_9:
	mov	w3, #0
LBB0_10:
	ldp	w2, w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #12]
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
LBB0_11:
Lloh46:
	adrp	x8, _MC7_INTR_FATAL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MC7_INTR_FATAL@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_t3_fatal_err
LBB0_13:
	ldr	x8, [x20]
	ldr	x9, [x26]
	add	x1, x9, x8
	mov	x0, x19
	mov	x2, x21
	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
	b	_t3_write_reg
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_A_MC7_INT_CAUSE,8,3            ; @A_MC7_INT_CAUSE
	.comm	_F_CE,4,2                       ; @F_CE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s MC7 correctable error at addr 0x%x, data 0x%x 0x%x 0x%x\n"

	.comm	_A_MC7_CE_ADDR,8,3              ; @A_MC7_CE_ADDR
	.comm	_A_MC7_CE_DATA0,8,3             ; @A_MC7_CE_DATA0
	.comm	_A_MC7_CE_DATA1,8,3             ; @A_MC7_CE_DATA1
	.comm	_A_MC7_CE_DATA2,8,3             ; @A_MC7_CE_DATA2
	.comm	_F_UE,4,2                       ; @F_UE
l_.str.1:                               ; @.str.1
	.asciz	"%s MC7 uncorrectable error at addr 0x%x, data 0x%x 0x%x 0x%x\n"

	.comm	_A_MC7_UE_ADDR,8,3              ; @A_MC7_UE_ADDR
	.comm	_A_MC7_UE_DATA0,8,3             ; @A_MC7_UE_DATA0
	.comm	_A_MC7_UE_DATA1,8,3             ; @A_MC7_UE_DATA1
	.comm	_A_MC7_UE_DATA2,8,3             ; @A_MC7_UE_DATA2
l_.str.2:                               ; @.str.2
	.asciz	"%s MC7 parity error 0x%x\n"

	.comm	_F_AE,4,2                       ; @F_AE
	.comm	_A_MC7_ERR_ADDR,8,3             ; @A_MC7_ERR_ADDR
l_.str.3:                               ; @.str.3
	.asciz	"%s MC7 address error: 0x%x\n"

	.comm	_MC7_INTR_FATAL,4,2             ; @MC7_INTR_FATAL
	.no_dead_strip	_mc7_intr_handler
.subsections_via_symbols
