	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_7220_errors
_handle_7220_errors:                    ## @handle_7220_errors
	.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
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	24(%rdi), %rax
	andl	(%rax), %ebx
	movq	(%rdi), %r14
	movq	8(%rax), %r12
	movq	_HardwareErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	testl	%ebx, %eax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_qib_7220_handle_hwerrors
LBB0_2:
	movq	_QLOGIC_IB_E_SDMAERRS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sdma_7220_errors
LBB0_4:
	movq	_IB_E_BITSEXTANT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ebx, %eax
	je	LBB0_6
## %bb.5:
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_qib_dev_err
LBB0_6:
	movq	_E_SUM_ERRS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_qib_disarm_7220_senderrbufs
LBB0_8:
	movq	_E_SUM_LINK_PKTERRS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	je	LBB0_9
## %bb.11:
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r14), %ecx
	notl	%eax
	xorl	%r15d, %r15d
	negl	%ecx
	sbbl	%r15d, %r15d
	orl	%eax, %r15d
	jmp	LBB0_12
LBB0_9:
	movl	$-1, %r15d
LBB0_12:
	movq	_kr_errclear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_qib_write_kreg
	andl	%ebx, %r15d
	je	LBB0_37
## %bb.13:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_IBStatusChanged@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	movq	%r12, %r14
	movl	%eax, %r12d
	movq	_RcvEgrFullErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	orl	%eax, %r12d
	movq	_RcvHdrFullErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	movl	%eax, %ebx
	movq	_HardwareErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	_SDmaDisabledErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	orl	%eax, %ebx
	notl	%ebx
	andl	%r15d, %ebx
	movq	%r13, %rdi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	$8, %edx
	movl	%ebx, %ecx
	callq	_qib_decode_7220_err
	movq	_E_SUM_PKTERRS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r15d, %r12d
	je	LBB0_15
## %bb.14:
	movq	_qib_stats@GOTPCREL(%rip), %rax
	incl	12(%rax)
LBB0_15:
	movq	_E_SUM_ERRS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_17
## %bb.16:
	movq	_qib_stats@GOTPCREL(%rip), %rax
	incl	8(%rax)
LBB0_17:
	movq	_QLOGIC_IB_E_PKTERRS@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_SDmaDisabledErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_IBStatusChanged@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	testl	%r15d, %eax
	je	LBB0_28
## %bb.18:
	movq	_kr_ibcstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_qib_read_kreg64
	movl	%eax, %r14d
	movq	_QIBL_IB_AUTONEG_INPROG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_handle_7220_chase
LBB0_20:
	movq	_IBA7220_LINKWIDTH_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %r14d
	jb	LBB0_22
## %bb.21:
	movq	_IB_WIDTH_1X@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_22:
	movq	_IB_WIDTH_4X@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_IBA7220_LINKSPEED_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %r14d
	jb	LBB0_25
## %bb.24:
	movq	_QIB_IB_SDR@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_25:
	movq	_QIB_IB_DDR@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	%r14d, %edi
	callq	_qib_7220_phys_portstate
	movq	_IB_PHYSPORTSTATE_LINK_ERR_RECOVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.27:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_qib_handle_e_ibstatuschanged
LBB0_28:
	movq	_ResetNegated@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	testl	%r15d, %eax
	je	LBB0_30
## %bb.29:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_qib_dev_err
	movq	_QIB_INITTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%r13)
	movq	_QIB_STATUS_HWERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r13), %rcx
	orl	%eax, (%rcx)
	movq	_QIB_STATUS_IB_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r13), %rcx
	movq	16(%rcx), %rcx
	andl	%eax, (%rcx)
LBB0_30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	movq	_RcvEgrFullErr@GOTPCREL(%rip), %r14
	je	LBB0_33
## %bb.31:
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	notl	%r12d
	andl	%r15d, %r12d
	je	LBB0_33
## %bb.32:
	movl	12(%rbx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_qib_dev_porterr
LBB0_33:
	movl	(%rbx), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_35
## %bb.34:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_wake_up_interruptible
LBB0_35:
	movl	(%r14), %edi
	callq	_ERR_MASK
	movl	%eax, %ebx
	movq	_RcvHdrFullErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_MASK
	orl	%ebx, %eax
	testl	%r15d, %eax
	je	LBB0_37
## %bb.36:
	movq	%r13, %rdi
	movl	$-1, %esi
	callq	_qib_handle_urcv
	movl	(%r14), %edi
	callq	_ERR_MASK
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	setne	%cl
	movq	_qib_stats@GOTPCREL(%rip), %rax
	incl	(%rax,%rcx,4)
LBB0_37:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HardwareErr,4,2                ## @HardwareErr
	.comm	_QLOGIC_IB_E_SDMAERRS,4,2       ## @QLOGIC_IB_E_SDMAERRS
	.comm	_IB_E_BITSEXTANT,4,2            ## @IB_E_BITSEXTANT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error interrupt with unknown errors %llx set\n"

	.comm	_E_SUM_ERRS,4,2                 ## @E_SUM_ERRS
	.comm	_E_SUM_LINK_PKTERRS,4,2         ## @E_SUM_LINK_PKTERRS
	.comm	_QIBL_LINKACTIVE,4,2            ## @QIBL_LINKACTIVE
	.comm	_kr_errclear,4,2                ## @kr_errclear
	.comm	_IBStatusChanged,4,2            ## @IBStatusChanged
	.comm	_RcvEgrFullErr,4,2              ## @RcvEgrFullErr
	.comm	_RcvHdrFullErr,4,2              ## @RcvHdrFullErr
	.comm	_SDmaDisabledErr,4,2            ## @SDmaDisabledErr
	.comm	_E_SUM_PKTERRS,4,2              ## @E_SUM_PKTERRS
	.comm	_qib_stats,16,2                 ## @qib_stats
	.comm	_QLOGIC_IB_E_PKTERRS,4,2        ## @QLOGIC_IB_E_PKTERRS
	.comm	_kr_ibcstatus,4,2               ## @kr_ibcstatus
	.comm	_QIBL_IB_AUTONEG_INPROG,4,2     ## @QIBL_IB_AUTONEG_INPROG
	.comm	_IBA7220_LINKWIDTH_SHIFT,4,2    ## @IBA7220_LINKWIDTH_SHIFT
	.comm	_IB_WIDTH_4X,4,2                ## @IB_WIDTH_4X
	.comm	_IB_WIDTH_1X,4,2                ## @IB_WIDTH_1X
	.comm	_IBA7220_LINKSPEED_SHIFT,4,2    ## @IBA7220_LINKSPEED_SHIFT
	.comm	_QIB_IB_DDR,4,2                 ## @QIB_IB_DDR
	.comm	_QIB_IB_SDR,4,2                 ## @QIB_IB_SDR
	.comm	_IB_PHYSPORTSTATE_LINK_ERR_RECOVER,8,3 ## @IB_PHYSPORTSTATE_LINK_ERR_RECOVER
	.comm	_ResetNegated,4,2               ## @ResetNegated
L_.str.1:                               ## @.str.1
	.asciz	"Got reset, requires re-init (unload and reload driver)\n"

	.comm	_QIB_INITTED,4,2                ## @QIB_INITTED
	.comm	_QIB_STATUS_HWERROR,4,2         ## @QIB_STATUS_HWERROR
	.comm	_QIB_STATUS_IB_CONF,4,2         ## @QIB_STATUS_IB_CONF
L_.str.2:                               ## @.str.2
	.asciz	"%s error\n"

	.no_dead_strip	_handle_7220_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_7220_errors
_handle_7220_errors:                    ; @handle_7220_errors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x8, [x0, #24]
	ldr	w9, [x8]
	and	w22, w9, w1
	ldr	x21, [x8, #8]
Lloh0:
	adrp	x23, _HardwareErr@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HardwareErr@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_ERR_MASK
	tst	w0, w22
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #8
	bl	_qib_7220_handle_hwerrors
LBB0_2:
Lloh2:
	adrp	x8, _QLOGIC_IB_E_SDMAERRS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QLOGIC_IB_E_SDMAERRS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x22
	bl	_sdma_7220_errors
LBB0_4:
Lloh5:
	adrp	x8, _IB_E_BITSEXTANT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_E_BITSEXTANT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bics	w8, w22, w8
	b.eq	LBB0_6
; %bb.5:
	sxtw	x8, w8
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
LBB0_6:
Lloh10:
	adrp	x26, _E_SUM_ERRS@GOTPAGE
Lloh11:
	ldr	x26, [x26, _E_SUM_ERRS@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_qib_disarm_7220_senderrbufs
LBB0_8:
Lloh12:
	adrp	x8, _E_SUM_LINK_PKTERRS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E_SUM_LINK_PKTERRS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ands	w8, w8, w22
	b.eq	LBB0_10
; %bb.9:
	ldr	w9, [x20]
Lloh15:
	adrp	x10, _QIBL_LINKACTIVE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _QIBL_LINKACTIVE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	mov	w9, #-1
	csinv	w24, w9, w8, ne
	b	LBB0_11
LBB0_10:
	mov	w24, #-1
LBB0_11:
Lloh18:
	adrp	x8, _kr_errclear@GOTPAGE
Lloh19:
	ldr	x8, [x8, _kr_errclear@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_qib_write_kreg
	ands	w24, w22, w24
	b.eq	LBB0_30
; %bb.12:
Lloh21:
	adrp	x25, _IBStatusChanged@GOTPAGE
Lloh22:
	ldr	x25, [x25, _IBStatusChanged@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_ERR_MASK
	mov	x22, x0
Lloh23:
	adrp	x8, _RcvEgrFullErr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RcvEgrFullErr@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_ERR_MASK
	orr	w22, w0, w22
Lloh26:
	adrp	x8, _RcvHdrFullErr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RcvHdrFullErr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_ERR_MASK
	orr	w22, w22, w0
	ldr	w0, [x23]
	bl	_ERR_MASK
	orr	w23, w22, w0
Lloh29:
	adrp	x22, _SDmaDisabledErr@GOTPAGE
Lloh30:
	ldr	x22, [x22, _SDmaDisabledErr@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_ERR_MASK
	orr	w8, w23, w0
	bic	w3, w24, w8
	mov	x0, x19
	mov	x1, x21
	mov	w2, #8
	bl	_qib_decode_7220_err
Lloh31:
	adrp	x8, _E_SUM_PKTERRS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _E_SUM_PKTERRS@GOTPAGEOFF]
Lloh33:
	ldr	w28, [x8]
Lloh34:
	adrp	x27, _qib_stats@GOTPAGE
Lloh35:
	ldr	x27, [x27, _qib_stats@GOTPAGEOFF]
	tst	w28, w24
	b.eq	LBB0_14
; %bb.13:
	ldr	w8, [x27, #12]
	add	w8, w8, #1
	str	w8, [x27, #12]
LBB0_14:
	ldr	w8, [x26]
	tst	w8, w24
	b.eq	LBB0_16
; %bb.15:
	ldr	w8, [x27, #8]
	add	w8, w8, #1
	str	w8, [x27, #8]
LBB0_16:
Lloh36:
	adrp	x8, _QLOGIC_IB_E_PKTERRS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QLOGIC_IB_E_PKTERRS@GOTPAGEOFF]
Lloh38:
	ldr	w26, [x8]
	ldr	w0, [x22]
	bl	_ERR_MASK
	mov	x22, x0
	ldr	w0, [x25]
	bl	_ERR_MASK
	tst	w0, w24
	b.eq	LBB0_21
; %bb.17:
Lloh39:
	adrp	x8, _kr_ibcstatus@GOTPAGE
Lloh40:
	ldr	x8, [x8, _kr_ibcstatus@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qib_read_kreg64
	mov	x23, x0
	ldr	w8, [x20]
Lloh42:
	adrp	x9, _QIBL_IB_AUTONEG_INPROG@GOTPAGE
Lloh43:
	ldr	x9, [x9, _QIBL_IB_AUTONEG_INPROG@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x20
	mov	x1, x23
	bl	_handle_7220_chase
LBB0_19:
Lloh45:
	adrp	x8, _IBA7220_LINKWIDTH_SHIFT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IBA7220_LINKWIDTH_SHIFT@GOTPAGEOFF]
Lloh47:
	adrp	x9, _IB_WIDTH_4X@GOTPAGE
Lloh48:
	ldr	x9, [x9, _IB_WIDTH_4X@GOTPAGEOFF]
Lloh49:
	adrp	x10, _IB_WIDTH_1X@GOTPAGE
Lloh50:
	ldr	x10, [x10, _IB_WIDTH_1X@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	lsr	w8, w23, w8
	tst	w8, #0x1
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [x20, #28]
Lloh52:
	adrp	x8, _IBA7220_LINKSPEED_SHIFT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _IBA7220_LINKSPEED_SHIFT@GOTPAGEOFF]
Lloh54:
	adrp	x9, _QIB_IB_DDR@GOTPAGE
Lloh55:
	ldr	x9, [x9, _QIB_IB_DDR@GOTPAGEOFF]
Lloh56:
	adrp	x10, _QIB_IB_SDR@GOTPAGE
Lloh57:
	ldr	x10, [x10, _QIB_IB_SDR@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	lsr	w8, w23, w8
	tst	w8, #0x1
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [x20, #24]
	mov	x0, x23
	bl	_qib_7220_phys_portstate
Lloh59:
	adrp	x8, _IB_PHYSPORTSTATE_LINK_ERR_RECOVER@GOTPAGE
Lloh60:
	ldr	x8, [x8, _IB_PHYSPORTSTATE_LINK_ERR_RECOVER@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_21
; %bb.20:
	mov	x0, x20
	mov	x1, x23
	bl	_qib_handle_e_ibstatuschanged
LBB0_21:
Lloh62:
	adrp	x8, _ResetNegated@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ResetNegated@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	bl	_ERR_MASK
	tst	w0, w24
	b.eq	LBB0_23
; %bb.22:
Lloh65:
	adrp	x1, l_.str.1@PAGE
Lloh66:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
Lloh67:
	adrp	x8, _QIB_INITTED@GOTPAGE
Lloh68:
	ldr	x8, [x8, _QIB_INITTED@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	str	w8, [x19, #16]
Lloh70:
	adrp	x8, _QIB_STATUS_HWERROR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _QIB_STATUS_HWERROR@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	ldp	x10, x9, [x19]
	ldr	w11, [x9]
	orr	w8, w11, w8
Lloh73:
	adrp	x11, _QIB_STATUS_IB_CONF@GOTPAGE
Lloh74:
	ldr	x11, [x11, _QIB_STATUS_IB_CONF@GOTPAGEOFF]
	str	w8, [x9]
Lloh75:
	ldr	w8, [x11]
	ldr	x9, [x10, #16]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
LBB0_23:
	ldrb	w8, [x21]
	cbz	w8, LBB0_26
; %bb.24:
	orr	w8, w26, w28
	orr	w8, w8, w22
	bic	w8, w24, w8
	cbz	w8, LBB0_26
; %bb.25:
	ldr	w1, [x20, #12]
Lloh76:
	adrp	x2, l_.str.2@PAGE
Lloh77:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_qib_dev_porterr
LBB0_26:
	ldp	w9, w8, [x20]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
	add	x0, x20, #8
	bl	_wake_up_interruptible
LBB0_28:
Lloh78:
	adrp	x21, _RcvEgrFullErr@GOTPAGE
Lloh79:
	ldr	x21, [x21, _RcvEgrFullErr@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ERR_MASK
	mov	x20, x0
Lloh80:
	adrp	x8, _RcvHdrFullErr@GOTPAGE
Lloh81:
	ldr	x8, [x8, _RcvHdrFullErr@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	bl	_ERR_MASK
	orr	w8, w0, w20
	tst	w8, w24
	b.eq	LBB0_30
; %bb.29:
	mov	x0, x19
	mov	w1, #-1
	bl	_qib_handle_urcv
	ldr	w0, [x21]
	bl	_ERR_MASK
	tst	w0, w24
	cset	w8, ne
	lsl	x8, x8, #2
	ldr	w9, [x27, x8]
	add	w9, w9, #1
	str	w9, [x27, x8]
LBB0_30:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh58
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh51
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.comm	_HardwareErr,4,2                ; @HardwareErr
	.comm	_QLOGIC_IB_E_SDMAERRS,4,2       ; @QLOGIC_IB_E_SDMAERRS
	.comm	_IB_E_BITSEXTANT,4,2            ; @IB_E_BITSEXTANT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error interrupt with unknown errors %llx set\n"

	.comm	_E_SUM_ERRS,4,2                 ; @E_SUM_ERRS
	.comm	_E_SUM_LINK_PKTERRS,4,2         ; @E_SUM_LINK_PKTERRS
	.comm	_QIBL_LINKACTIVE,4,2            ; @QIBL_LINKACTIVE
	.comm	_kr_errclear,4,2                ; @kr_errclear
	.comm	_IBStatusChanged,4,2            ; @IBStatusChanged
	.comm	_RcvEgrFullErr,4,2              ; @RcvEgrFullErr
	.comm	_RcvHdrFullErr,4,2              ; @RcvHdrFullErr
	.comm	_SDmaDisabledErr,4,2            ; @SDmaDisabledErr
	.comm	_E_SUM_PKTERRS,4,2              ; @E_SUM_PKTERRS
	.comm	_qib_stats,16,2                 ; @qib_stats
	.comm	_QLOGIC_IB_E_PKTERRS,4,2        ; @QLOGIC_IB_E_PKTERRS
	.comm	_kr_ibcstatus,4,2               ; @kr_ibcstatus
	.comm	_QIBL_IB_AUTONEG_INPROG,4,2     ; @QIBL_IB_AUTONEG_INPROG
	.comm	_IBA7220_LINKWIDTH_SHIFT,4,2    ; @IBA7220_LINKWIDTH_SHIFT
	.comm	_IB_WIDTH_4X,4,2                ; @IB_WIDTH_4X
	.comm	_IB_WIDTH_1X,4,2                ; @IB_WIDTH_1X
	.comm	_IBA7220_LINKSPEED_SHIFT,4,2    ; @IBA7220_LINKSPEED_SHIFT
	.comm	_QIB_IB_DDR,4,2                 ; @QIB_IB_DDR
	.comm	_QIB_IB_SDR,4,2                 ; @QIB_IB_SDR
	.comm	_IB_PHYSPORTSTATE_LINK_ERR_RECOVER,8,3 ; @IB_PHYSPORTSTATE_LINK_ERR_RECOVER
	.comm	_ResetNegated,4,2               ; @ResetNegated
l_.str.1:                               ; @.str.1
	.asciz	"Got reset, requires re-init (unload and reload driver)\n"

	.comm	_QIB_INITTED,4,2                ; @QIB_INITTED
	.comm	_QIB_STATUS_HWERROR,4,2         ; @QIB_STATUS_HWERROR
	.comm	_QIB_STATUS_IB_CONF,4,2         ; @QIB_STATUS_IB_CONF
l_.str.2:                               ; @.str.2
	.asciz	"%s error\n"

	.no_dead_strip	_handle_7220_errors
.subsections_via_symbols
