	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t3_mc5_intr_handler            ## -- Begin function t3_mc5_intr_handler
	.p2align	4, 0x90
_t3_mc5_intr_handler:                   ## @t3_mc5_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	40(%rdi), %r14
	movq	_A_MC5_DB_INT_CAUSE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movl	%eax, %ebx
	movq	_F_PARITYERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 32(%r15)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_CH_ALERT
	incl	24(%r15)
LBB0_3:
	movq	_F_REQQPARERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_CH_ALERT
	incl	20(%r15)
LBB0_5:
	movq	_F_DISPQPARERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_CH_ALERT
	incl	16(%r15)
LBB0_7:
	movq	_F_ACTRGNFULL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:
	incl	12(%r15)
LBB0_9:
	movq	_F_NFASRCHFAIL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	incl	8(%r15)
LBB0_11:
	movq	_F_UNKNOWNCMD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	incl	4(%r15)
LBB0_13:
	movq	_F_DELACTEMPTY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:
	incl	(%r15)
LBB0_15:
	movq	_MC5_INT_FATAL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_t3_fatal_err
LBB0_17:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_MC5_DB_INT_CAUSE,4,2         ## @A_MC5_DB_INT_CAUSE
	.comm	_F_PARITYERR,4,2                ## @F_PARITYERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MC5 parity error\n"

	.comm	_F_REQQPARERR,4,2               ## @F_REQQPARERR
L_.str.1:                               ## @.str.1
	.asciz	"MC5 request queue parity error\n"

	.comm	_F_DISPQPARERR,4,2              ## @F_DISPQPARERR
L_.str.2:                               ## @.str.2
	.asciz	"MC5 dispatch queue parity error\n"

	.comm	_F_ACTRGNFULL,4,2               ## @F_ACTRGNFULL
	.comm	_F_NFASRCHFAIL,4,2              ## @F_NFASRCHFAIL
	.comm	_F_UNKNOWNCMD,4,2               ## @F_UNKNOWNCMD
	.comm	_F_DELACTEMPTY,4,2              ## @F_DELACTEMPTY
	.comm	_MC5_INT_FATAL,4,2              ## @MC5_INT_FATAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t3_mc5_intr_handler            ; -- Begin function t3_mc5_intr_handler
	.p2align	2
_t3_mc5_intr_handler:                   ; @t3_mc5_intr_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x0
	ldr	x19, [x0, #40]
Lloh0:
	adrp	x22, _A_MC5_DB_INT_CAUSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _A_MC5_DB_INT_CAUSE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_t3_read_reg
	mov	x20, x0
Lloh2:
	adrp	x8, _F_PARITYERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _F_PARITYERR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_3
; %bb.2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
	ldr	w8, [x21, #24]
	add	w8, w8, #1
	str	w8, [x21, #24]
LBB0_3:
Lloh7:
	adrp	x8, _F_REQQPARERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _F_REQQPARERR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
	ldr	w8, [x21, #20]
	add	w8, w8, #1
	str	w8, [x21, #20]
LBB0_5:
Lloh12:
	adrp	x8, _F_DISPQPARERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _F_DISPQPARERR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
	ldr	w8, [x21, #16]
	add	w8, w8, #1
	str	w8, [x21, #16]
LBB0_7:
Lloh17:
	adrp	x8, _F_ACTRGNFULL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _F_ACTRGNFULL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
LBB0_9:
Lloh20:
	adrp	x8, _F_NFASRCHFAIL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _F_NFASRCHFAIL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
LBB0_11:
Lloh23:
	adrp	x8, _F_UNKNOWNCMD@GOTPAGE
Lloh24:
	ldr	x8, [x8, _F_UNKNOWNCMD@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_13
; %bb.12:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
LBB0_13:
Lloh26:
	adrp	x8, _F_DELACTEMPTY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _F_DELACTEMPTY@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.14:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_15:
Lloh29:
	adrp	x8, _MC5_INT_FATAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MC5_INT_FATAL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_t3_fatal_err
LBB0_17:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_t3_write_reg
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_A_MC5_DB_INT_CAUSE,4,2         ; @A_MC5_DB_INT_CAUSE
	.comm	_F_PARITYERR,4,2                ; @F_PARITYERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MC5 parity error\n"

	.comm	_F_REQQPARERR,4,2               ; @F_REQQPARERR
l_.str.1:                               ; @.str.1
	.asciz	"MC5 request queue parity error\n"

	.comm	_F_DISPQPARERR,4,2              ; @F_DISPQPARERR
l_.str.2:                               ; @.str.2
	.asciz	"MC5 dispatch queue parity error\n"

	.comm	_F_ACTRGNFULL,4,2               ; @F_ACTRGNFULL
	.comm	_F_NFASRCHFAIL,4,2              ; @F_NFASRCHFAIL
	.comm	_F_UNKNOWNCMD,4,2               ; @F_UNKNOWNCMD
	.comm	_F_DELACTEMPTY,4,2              ; @F_DELACTEMPTY
	.comm	_MC5_INT_FATAL,4,2              ; @MC5_INT_FATAL
.subsections_via_symbols
