	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_7220intr
_qib_7220intr:                          ## @qib_7220intr
	.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	_QIB_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_QIB_BADINTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	andl	(%rsi), %ecx
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	cmpl	%eax, %ecx
	jne	LBB0_19
## %bb.1:
	movq	%rsi, %r15
	movq	_kr_intstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_qib_read_kreg64
	movl	%eax, %r14d
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_20
## %bb.2:
	xorl	%edi, %edi
	cmpl	$-1, %r14d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_qib_bad_intrstatus
	jmp	LBB0_20
LBB0_4:
	movq	24(%r15), %rax
	movl	(%rax), %edi
	callq	_this_cpu_inc
	movq	_QLOGIC_IB_I_BITSEXTANT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	movq	_QLOGIC_IB_I_GPIO@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_QLOGIC_IB_I_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	andl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_unlikely_7220_intr
LBB0_6:
	movq	_kr_intclear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_qib_write_kreg
	movq	_QLOGIC_IB_I_RCVAVAIL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_QLOGIC_IB_I_RCVAVAIL_SHIFT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	movl	%eax, %ecx
	shll	%cl, %edx
	movq	_QLOGIC_IB_I_RCVURG_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_QLOGIC_IB_I_RCVURG_SHIFT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ecx
	shll	%cl, %ebx
	orl	%edx, %ebx
	andl	%r14d, %ebx
	je	LBB0_14
## %bb.7:
	movl	4(%r15), %edx
	testl	%edx, %edx
	je	LBB0_13
## %bb.8:
	movl	$1, %r13d
                                        ## kill: def $cl killed $cl killed $rcx
	shlq	%cl, %r13
	movl	$1, %esi
	movl	%eax, %ecx
	shlq	%cl, %rsi
	orl	%esi, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	addl	%r13d, %r13d
	incq	%r12
	movl	%edx, %eax
	cmpq	%rax, %r12
	jae	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %r13d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, %eax
	notl	%eax
	andl	%eax, %ebx
	movq	16(%r15), %rax
	movl	(%rax,%r12,4), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_qib_kreceive
	movl	4(%r15), %edx
	jmp	LBB0_11
LBB0_12:
	testl	%ebx, %ebx
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	movq	_QLOGIC_IB_I_RCVAVAIL_SHIFT@GOTPCREL(%rip), %rsi
	movq	_QLOGIC_IB_I_RCVURG_SHIFT@GOTPCREL(%rip), %rdi
	je	LBB0_14
LBB0_13:
	movb	(%rsi), %cl
	movl	%ebx, %eax
	sarl	%cl, %eax
	movb	(%rdi), %cl
	sarl	%cl, %ebx
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_qib_handle_urcv
LBB0_14:
	movq	_QLOGIC_IB_I_SDMAINT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_16
## %bb.15:
	movl	8(%r15), %edi
	movl	%r14d, %esi
	callq	_sdma_7220_intr
LBB0_16:
	movq	_QLOGIC_IB_I_SPIOBUFAVAIL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_19
## %bb.17:
	movq	_QIB_INITTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	callq	_qib_ib_piobufavail
LBB0_19:
	movq	%r12, %rbx
LBB0_20:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QIB_PRESENT,4,2                ## @QIB_PRESENT
	.comm	_QIB_BADINTR,4,2                ## @QIB_BADINTR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_kr_intstatus,4,2               ## @kr_intstatus
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_QLOGIC_IB_I_BITSEXTANT,4,2     ## @QLOGIC_IB_I_BITSEXTANT
	.comm	_QLOGIC_IB_I_GPIO,4,2           ## @QLOGIC_IB_I_GPIO
	.comm	_QLOGIC_IB_I_ERROR,4,2          ## @QLOGIC_IB_I_ERROR
	.comm	_kr_intclear,4,2                ## @kr_intclear
	.comm	_QLOGIC_IB_I_RCVAVAIL_MASK,4,2  ## @QLOGIC_IB_I_RCVAVAIL_MASK
	.comm	_QLOGIC_IB_I_RCVAVAIL_SHIFT,4,2 ## @QLOGIC_IB_I_RCVAVAIL_SHIFT
	.comm	_QLOGIC_IB_I_RCVURG_MASK,4,2    ## @QLOGIC_IB_I_RCVURG_MASK
	.comm	_QLOGIC_IB_I_RCVURG_SHIFT,4,2   ## @QLOGIC_IB_I_RCVURG_SHIFT
	.comm	_QLOGIC_IB_I_SDMAINT,4,2        ## @QLOGIC_IB_I_SDMAINT
	.comm	_QLOGIC_IB_I_SPIOBUFAVAIL,4,2   ## @QLOGIC_IB_I_SPIOBUFAVAIL
	.comm	_QIB_INITTED,4,2                ## @QIB_INITTED
	.no_dead_strip	_qib_7220intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_7220intr
_qib_7220intr:                          ; @qib_7220intr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _QIB_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QIB_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _QIB_BADINTR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QIB_BADINTR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w10, w10, w9
	and	w8, w10, w8
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.1:
	mov	x19, x1
Lloh6:
	adrp	x8, _kr_intstatus@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kr_intstatus@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qib_read_kreg64
	mov	x20, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.2:
	cmn	w20, #1
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_qib_bad_intrstatus
LBB0_4:
Lloh9:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_21
LBB0_5:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	bl	_this_cpu_inc
Lloh11:
	adrp	x8, _QLOGIC_IB_I_BITSEXTANT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QLOGIC_IB_I_BITSEXTANT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _QLOGIC_IB_I_GPIO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _QLOGIC_IB_I_GPIO@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orn	w8, w9, w8
Lloh17:
	adrp	x9, _QLOGIC_IB_I_ERROR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _QLOGIC_IB_I_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_unlikely_7220_intr
LBB0_7:
Lloh20:
	adrp	x8, _kr_intclear@GOTPAGE
Lloh21:
	ldr	x8, [x8, _kr_intclear@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_qib_write_kreg
Lloh23:
	adrp	x8, _QLOGIC_IB_I_RCVAVAIL_MASK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _QLOGIC_IB_I_RCVAVAIL_MASK@GOTPAGEOFF]
Lloh25:
	adrp	x21, _QLOGIC_IB_I_RCVAVAIL_SHIFT@GOTPAGE
Lloh26:
	ldr	x21, [x21, _QLOGIC_IB_I_RCVAVAIL_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [x21]
	lsl	w8, w8, w9
Lloh28:
	adrp	x10, _QLOGIC_IB_I_RCVURG_MASK@GOTPAGE
Lloh29:
	ldr	x10, [x10, _QLOGIC_IB_I_RCVURG_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x10]
Lloh31:
	adrp	x22, _QLOGIC_IB_I_RCVURG_SHIFT@GOTPAGE
Lloh32:
	ldr	x22, [x22, _QLOGIC_IB_I_RCVURG_SHIFT@GOTPAGEOFF]
	ldr	w10, [x22]
	lsl	w11, w11, w10
	orr	w8, w11, w8
	ands	w23, w8, w20
	b.eq	LBB0_15
; %bb.8:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_14
; %bb.9:
	mov	x24, #0
	mov	w11, #1
	lsl	x10, x11, x10
	lsl	x9, x11, x9
	orr	w25, w10, w9
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	lsl	w25, w25, #1
	add	x24, x24, #1
	cmp	x24, w8, uxtw
	b.hs	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	tst	w25, w23
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	bic	w23, w23, w25
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x24, lsl #2]
	mov	x1, #0
	mov	x2, #0
	bl	_qib_kreceive
	ldr	w8, [x19, #4]
	b	LBB0_10
LBB0_13:
	cbz	w23, LBB0_15
LBB0_14:
	ldr	w8, [x21]
	asr	w8, w23, w8
	ldr	w9, [x22]
	asr	w9, w23, w9
	orr	w1, w9, w8
	mov	x0, x19
	bl	_qib_handle_urcv
LBB0_15:
Lloh33:
	adrp	x8, _QLOGIC_IB_I_SDMAINT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _QLOGIC_IB_I_SDMAINT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_17
; %bb.16:
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_sdma_7220_intr
LBB0_17:
Lloh36:
	adrp	x8, _QLOGIC_IB_I_SPIOBUFAVAIL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QLOGIC_IB_I_SPIOBUFAVAIL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_20
; %bb.18:
	ldr	w8, [x19]
Lloh39:
	adrp	x9, _QIB_INITTED@GOTPAGE
Lloh40:
	ldr	x9, [x9, _QIB_INITTED@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	mov	x0, x19
	bl	_qib_ib_piobufavail
LBB0_20:
Lloh42:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_QIB_PRESENT,4,2                ; @QIB_PRESENT
	.comm	_QIB_BADINTR,4,2                ; @QIB_BADINTR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_kr_intstatus,4,2               ; @kr_intstatus
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_QLOGIC_IB_I_BITSEXTANT,4,2     ; @QLOGIC_IB_I_BITSEXTANT
	.comm	_QLOGIC_IB_I_GPIO,4,2           ; @QLOGIC_IB_I_GPIO
	.comm	_QLOGIC_IB_I_ERROR,4,2          ; @QLOGIC_IB_I_ERROR
	.comm	_kr_intclear,4,2                ; @kr_intclear
	.comm	_QLOGIC_IB_I_RCVAVAIL_MASK,4,2  ; @QLOGIC_IB_I_RCVAVAIL_MASK
	.comm	_QLOGIC_IB_I_RCVAVAIL_SHIFT,4,2 ; @QLOGIC_IB_I_RCVAVAIL_SHIFT
	.comm	_QLOGIC_IB_I_RCVURG_MASK,4,2    ; @QLOGIC_IB_I_RCVURG_MASK
	.comm	_QLOGIC_IB_I_RCVURG_SHIFT,4,2   ; @QLOGIC_IB_I_RCVURG_SHIFT
	.comm	_QLOGIC_IB_I_SDMAINT,4,2        ; @QLOGIC_IB_I_SDMAINT
	.comm	_QLOGIC_IB_I_SPIOBUFAVAIL,4,2   ; @QLOGIC_IB_I_SPIOBUFAVAIL
	.comm	_QIB_INITTED,4,2                ; @QIB_INITTED
	.no_dead_strip	_qib_7220intr
.subsections_via_symbols
