	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t3_sge_err_intr_handler        ## -- Begin function t3_sge_err_intr_handler
	.p2align	4, 0x90
_t3_sge_err_intr_handler:               ## @t3_sge_err_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_A_SG_INT_CAUSE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_t3_read_reg
	movq	_F_FLEMPTY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_SGE_PARERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_CH_ALERT
LBB0_2:
	movq	_SGE_FRAMINGERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_CH_ALERT
LBB0_4:
	movq	_F_RSPQCREDITOVERFOW@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_CH_ALERT
LBB0_6:
	movq	_F_RSPQDISABLED@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_A_SG_RSPQ_FL_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_t3_read_reg
	movq	_S_RSPQ0DISABLED@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	movzbl	%al, %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_CH_ALERT
LBB0_8:
	movq	_F_HIPIODRBDROPERR@GOTPCREL(%rip), %rax
	movq	_F_LOPIODRBDROPERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_10
## %bb.9:
	movq	_cxgb3_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_queue_work
LBB0_10:
	movq	_F_HIPRIORITYDBFULL@GOTPCREL(%rip), %rax
	movq	_F_LOPRIORITYDBFULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_12
## %bb.11:
	movq	_cxgb3_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	callq	_queue_work
LBB0_12:
	movq	_F_HIPRIORITYDBEMPTY@GOTPCREL(%rip), %rax
	movq	_F_LOPRIORITYDBEMPTY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_14
## %bb.13:
	movq	_cxgb3_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_queue_work
LBB0_14:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_t3_write_reg
	movq	_SGE_FATALERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.16:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_fatal_err                   ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A_SG_INT_CAUSE,4,2             ## @A_SG_INT_CAUSE
	.comm	_F_FLEMPTY,4,2                  ## @F_FLEMPTY
	.comm	_SGE_PARERR,4,2                 ## @SGE_PARERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SGE parity error (0x%x)\n"

	.comm	_SGE_FRAMINGERR,4,2             ## @SGE_FRAMINGERR
L_.str.1:                               ## @.str.1
	.asciz	"SGE framing error (0x%x)\n"

	.comm	_F_RSPQCREDITOVERFOW,4,2        ## @F_RSPQCREDITOVERFOW
L_.str.2:                               ## @.str.2
	.asciz	"SGE response queue credit overflow\n"

	.comm	_F_RSPQDISABLED,4,2             ## @F_RSPQDISABLED
	.comm	_A_SG_RSPQ_FL_STATUS,4,2        ## @A_SG_RSPQ_FL_STATUS
L_.str.3:                               ## @.str.3
	.asciz	"packet delivered to disabled response queue (0x%x)\n"

	.comm	_S_RSPQ0DISABLED,4,2            ## @S_RSPQ0DISABLED
	.comm	_F_HIPIODRBDROPERR,4,2          ## @F_HIPIODRBDROPERR
	.comm	_F_LOPIODRBDROPERR,4,2          ## @F_LOPIODRBDROPERR
	.comm	_cxgb3_wq,4,2                   ## @cxgb3_wq
	.comm	_F_HIPRIORITYDBFULL,4,2         ## @F_HIPRIORITYDBFULL
	.comm	_F_LOPRIORITYDBFULL,4,2         ## @F_LOPRIORITYDBFULL
	.comm	_F_HIPRIORITYDBEMPTY,4,2        ## @F_HIPRIORITYDBEMPTY
	.comm	_F_LOPRIORITYDBEMPTY,4,2        ## @F_LOPRIORITYDBEMPTY
	.comm	_SGE_FATALERR,4,2               ## @SGE_FATALERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t3_sge_err_intr_handler        ; -- Begin function t3_sge_err_intr_handler
	.p2align	2
_t3_sge_err_intr_handler:               ; @t3_sge_err_intr_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _A_SG_INT_CAUSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _A_SG_INT_CAUSE@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_t3_read_reg
Lloh2:
	adrp	x8, _F_FLEMPTY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _F_FLEMPTY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w20, w0, w8
Lloh5:
	adrp	x8, _SGE_PARERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SGE_PARERR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ands	w8, w20, w8
	b.eq	LBB0_2
; %bb.1:
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
LBB0_2:
Lloh10:
	adrp	x8, _SGE_FRAMINGERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SGE_FRAMINGERR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ands	w8, w8, w20
	b.eq	LBB0_4
; %bb.3:
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
LBB0_4:
Lloh15:
	adrp	x8, _F_RSPQCREDITOVERFOW@GOTPAGE
Lloh16:
	ldr	x8, [x8, _F_RSPQCREDITOVERFOW@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
LBB0_6:
Lloh20:
	adrp	x8, _F_RSPQDISABLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _F_RSPQDISABLED@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh23:
	adrp	x8, _A_SG_RSPQ_FL_STATUS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _A_SG_RSPQ_FL_STATUS@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t3_read_reg
Lloh26:
	adrp	x8, _S_RSPQ0DISABLED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _S_RSPQ0DISABLED@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	and	w8, w8, #0xff
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_CH_ALERT
LBB0_8:
Lloh31:
	adrp	x8, _F_HIPIODRBDROPERR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _F_HIPIODRBDROPERR@GOTPAGEOFF]
Lloh33:
	adrp	x9, _F_LOPIODRBDROPERR@GOTPAGE
Lloh34:
	ldr	x9, [x9, _F_LOPIODRBDROPERR@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh37:
	adrp	x22, _cxgb3_wq@GOTPAGE
Lloh38:
	ldr	x22, [x22, _cxgb3_wq@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [x22]
	add	x1, x19, #8
	bl	_queue_work
LBB0_10:
Lloh39:
	adrp	x8, _F_HIPRIORITYDBFULL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _F_HIPRIORITYDBFULL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _F_LOPRIORITYDBFULL@GOTPAGE
Lloh43:
	ldr	x9, [x9, _F_LOPRIORITYDBFULL@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
	ldr	w0, [x22]
	add	x1, x19, #4
	bl	_queue_work
LBB0_12:
Lloh45:
	adrp	x8, _F_HIPRIORITYDBEMPTY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _F_HIPRIORITYDBEMPTY@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _F_LOPRIORITYDBEMPTY@GOTPAGE
Lloh49:
	ldr	x9, [x9, _F_LOPRIORITYDBEMPTY@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_14
; %bb.13:
	ldr	w0, [x22]
	mov	x1, x19
	bl	_queue_work
LBB0_14:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_t3_write_reg
Lloh51:
	adrp	x8, _SGE_FATALERR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SGE_FATALERR@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x19
	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
	add	sp, sp, #64
	b	_t3_fatal_err
LBB0_16:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_A_SG_INT_CAUSE,4,2             ; @A_SG_INT_CAUSE
	.comm	_F_FLEMPTY,4,2                  ; @F_FLEMPTY
	.comm	_SGE_PARERR,4,2                 ; @SGE_PARERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SGE parity error (0x%x)\n"

	.comm	_SGE_FRAMINGERR,4,2             ; @SGE_FRAMINGERR
l_.str.1:                               ; @.str.1
	.asciz	"SGE framing error (0x%x)\n"

	.comm	_F_RSPQCREDITOVERFOW,4,2        ; @F_RSPQCREDITOVERFOW
l_.str.2:                               ; @.str.2
	.asciz	"SGE response queue credit overflow\n"

	.comm	_F_RSPQDISABLED,4,2             ; @F_RSPQDISABLED
	.comm	_A_SG_RSPQ_FL_STATUS,4,2        ; @A_SG_RSPQ_FL_STATUS
l_.str.3:                               ; @.str.3
	.asciz	"packet delivered to disabled response queue (0x%x)\n"

	.comm	_S_RSPQ0DISABLED,4,2            ; @S_RSPQ0DISABLED
	.comm	_F_HIPIODRBDROPERR,4,2          ; @F_HIPIODRBDROPERR
	.comm	_F_LOPIODRBDROPERR,4,2          ; @F_LOPIODRBDROPERR
	.comm	_cxgb3_wq,4,2                   ; @cxgb3_wq
	.comm	_F_HIPRIORITYDBFULL,4,2         ; @F_HIPRIORITYDBFULL
	.comm	_F_LOPRIORITYDBFULL,4,2         ; @F_LOPRIORITYDBFULL
	.comm	_F_HIPRIORITYDBEMPTY,4,2        ; @F_HIPRIORITYDBEMPTY
	.comm	_F_LOPRIORITYDBEMPTY,4,2        ; @F_LOPRIORITYDBEMPTY
	.comm	_SGE_FATALERR,4,2               ; @SGE_FATALERR
.subsections_via_symbols
