	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ma_intr_handler
_ma_intr_handler:                       ## @ma_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	%rdi, %rbx
	movq	_MA_INT_CAUSE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_t4_read_reg
	movl	%eax, %r14d
	movq	_MEM_PERR_INT_CAUSE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %r15d
	movq	_MA_PARITY_ERROR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_alert
LBB0_2:
	movq	_MEM_WRAP_INT_CAUSE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_MA_INT_WRAP_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %r15d
	movl	(%rbx), %r12d
	movl	%eax, %edi
	callq	_MEM_WRAP_CLIENT_NUM_GET
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_MEM_WRAP_ADDRESS_GET
	shll	$4, %eax
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	movq	_MA_INT_CAUSE@GOTPCREL(%rip), %r12
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_alert
LBB0_4:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_t4_write_reg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t4_fatal_err                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_INT_CAUSE,4,2               ## @MA_INT_CAUSE
	.comm	_MEM_PERR_INT_CAUSE,4,2         ## @MEM_PERR_INT_CAUSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MA parity error, parity status %#x\n"

	.comm	_MA_PARITY_ERROR_STATUS,4,2     ## @MA_PARITY_ERROR_STATUS
	.comm	_MEM_WRAP_INT_CAUSE,4,2         ## @MEM_WRAP_INT_CAUSE
	.comm	_MA_INT_WRAP_STATUS,4,2         ## @MA_INT_WRAP_STATUS
L_.str.1:                               ## @.str.1
	.asciz	"MA address wrap-around error by client %u to address %#x\n"

	.no_dead_strip	_ma_intr_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ma_intr_handler
_ma_intr_handler:                       ; @ma_intr_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x24, _MA_INT_CAUSE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MA_INT_CAUSE@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_t4_read_reg
	mov	x20, x0
Lloh2:
	adrp	x8, _MEM_PERR_INT_CAUSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEM_PERR_INT_CAUSE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w21, [x19]
Lloh5:
	adrp	x8, _MA_PARITY_ERROR_STATUS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MA_PARITY_ERROR_STATUS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_alert
LBB0_2:
Lloh10:
	adrp	x8, _MEM_WRAP_INT_CAUSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MEM_WRAP_INT_CAUSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _MA_INT_WRAP_STATUS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MA_INT_WRAP_STATUS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
	mov	x21, x0
	ldr	w22, [x19]
	bl	_MEM_WRAP_CLIENT_NUM_GET
	mov	x23, x0
	mov	x0, x21
	bl	_MEM_WRAP_ADDRESS_GET
	lsl	w8, w0, #4
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_dev_alert
LBB0_4:
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_t4_write_reg
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_t4_fatal_err
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_INT_CAUSE,4,2               ; @MA_INT_CAUSE
	.comm	_MEM_PERR_INT_CAUSE,4,2         ; @MEM_PERR_INT_CAUSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MA parity error, parity status %#x\n"

	.comm	_MA_PARITY_ERROR_STATUS,4,2     ; @MA_PARITY_ERROR_STATUS
	.comm	_MEM_WRAP_INT_CAUSE,4,2         ; @MEM_WRAP_INT_CAUSE
	.comm	_MA_INT_WRAP_STATUS,4,2         ; @MA_INT_WRAP_STATUS
l_.str.1:                               ; @.str.1
	.asciz	"MA address wrap-around error by client %u to address %#x\n"

	.no_dead_strip	_ma_intr_handler
.subsections_via_symbols
