	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_7322intr
_qib_7322intr:                          ## @qib_7322intr
	.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
	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), %r13
	cmpl	%eax, %ecx
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	_kr_intstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_qib_read_kreg64
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	$-1, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_qib_bad_intrstatus
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_qib_dev_err
	jmp	LBB0_4
LBB0_3:
	movq	24(%r15), %rax
	xorl	%edi, %edi
	andq	(%rax), %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r13
LBB0_5:
	movl	(%r13), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_this_cpu_inc
	movq	_QIB_I_BITSEXTANT@GOTPCREL(%rip), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r14
	notq	%r14
	movq	_QIB_I_GPIO@GOTPCREL(%rip), %rax
	orq	(%rax), %r14
	movq	_QIB_I_C_ERROR@GOTPCREL(%rip), %rax
	orq	(%rax), %r14
	movq	_Err@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_INT_MASK_P
	movq	%rax, %rbx
	movl	(%r12), %edi
	movl	$1, %esi
	callq	_INT_MASK_P
	orq	%rax, %rbx
	orq	%r14, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	andq	%r14, %rbx
	movq	%rbx, %rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_unlikely_7322_intr
LBB0_8:
	movq	_kr_intclear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_qib_write_kreg
	movq	_QIB_I_RCVAVAIL_MASK@GOTPCREL(%rip), %rax
	movq	_QIB_I_RCVURG_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	orq	(%rax), %rbx
	andq	%r14, %rbx
	je	LBB0_17
## %bb.9:
	movl	4(%r15), %eax
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movq	_QIB_I_RCVURG_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %r12d
	shlq	%cl, %r12
	movq	_QIB_I_RCVAVAIL_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsq	%rcx, %r12
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	%r12, %r12
	incq	%r14
	movl	%eax, %ecx
	cmpq	%rcx, %r14
	jae	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %r12
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rcx
	notq	%rcx
	andq	%rcx, %rbx
	movq	8(%r15), %rcx
	movq	(%rcx,%r14,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%esi, %esi
	leaq	-52(%rbp), %rdx
	callq	_qib_kreceive
	movl	4(%r15), %eax
	jmp	LBB0_11
LBB0_15:
	testq	%rbx, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_17
LBB0_16:
	movq	_QIB_I_RCVAVAIL_LSB@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rbx, %rax
	shrq	%cl, %rax
	movq	_QIB_I_RCVURG_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rbx
	orq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_qib_handle_urcv
LBB0_17:
	xorl	%edi, %edi
	callq	_QIB_I_P_SDMAINT
	movq	%rax, %rbx
	movl	$1, %edi
	callq	_QIB_I_P_SDMAINT
	orq	%rbx, %rax
	testq	%r14, %rax
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sdma_7322_intr
LBB0_19:
	movq	_QIB_I_SPIOBUFAVAIL@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	je	LBB0_5
## %bb.20:
	movq	_QIB_INITTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_5
## %bb.21:
	movq	%r15, %rdi
	callq	_qib_ib_piobufavail
	jmp	LBB0_5
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Interrupt status all f's, skipping\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_QIB_I_BITSEXTANT,8,3           ## @QIB_I_BITSEXTANT
	.comm	_QIB_I_GPIO,8,3                 ## @QIB_I_GPIO
	.comm	_QIB_I_C_ERROR,8,3              ## @QIB_I_C_ERROR
	.comm	_Err,4,2                        ## @Err
	.comm	_kr_intclear,4,2                ## @kr_intclear
	.comm	_QIB_I_RCVAVAIL_MASK,8,3        ## @QIB_I_RCVAVAIL_MASK
	.comm	_QIB_I_RCVURG_MASK,8,3          ## @QIB_I_RCVURG_MASK
	.comm	_QIB_I_RCVAVAIL_LSB,8,3         ## @QIB_I_RCVAVAIL_LSB
	.comm	_QIB_I_RCVURG_LSB,8,3           ## @QIB_I_RCVURG_LSB
	.comm	_QIB_I_SPIOBUFAVAIL,8,3         ## @QIB_I_SPIOBUFAVAIL
	.comm	_QIB_INITTED,4,2                ## @QIB_INITTED
	.no_dead_strip	_qib_7322intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_7322intr
_qib_7322intr:                          ; @qib_7322intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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_21
; %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
	cmn	x0, #1
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_qib_bad_intrstatus
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ands	x20, x8, x20
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_22
LBB0_5:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_this_cpu_inc
Lloh13:
	adrp	x8, _QIB_I_BITSEXTANT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QIB_I_BITSEXTANT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _QIB_I_GPIO@GOTPAGE
Lloh17:
	ldr	x9, [x9, _QIB_I_GPIO@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
Lloh19:
	adrp	x10, _QIB_I_C_ERROR@GOTPAGE
Lloh20:
	ldr	x10, [x10, _QIB_I_C_ERROR@GOTPAGEOFF]
	orn	x8, x9, x8
Lloh21:
	ldr	x9, [x10]
	orr	x21, x8, x9
Lloh22:
	adrp	x22, _Err@GOTPAGE
Lloh23:
	ldr	x22, [x22, _Err@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #0
	bl	_INT_MASK_P
	orr	x21, x21, x0
	ldr	w0, [x22]
	mov	w1, #1
	bl	_INT_MASK_P
	orr	x8, x21, x0
	and	x0, x8, x20
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_unlikely_7322_intr
LBB0_7:
Lloh24:
	adrp	x8, _kr_intclear@GOTPAGE
Lloh25:
	ldr	x8, [x8, _kr_intclear@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_qib_write_kreg
Lloh27:
	adrp	x8, _QIB_I_RCVAVAIL_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _QIB_I_RCVAVAIL_MASK@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _QIB_I_RCVURG_MASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _QIB_I_RCVURG_MASK@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	orr	x8, x9, x8
	ands	x21, x8, x20
	b.eq	LBB0_16
; %bb.8:
	ldr	w8, [x19, #4]
Lloh33:
	adrp	x23, _QIB_I_RCVAVAIL_LSB@GOTPAGE
Lloh34:
	ldr	x23, [x23, _QIB_I_RCVAVAIL_LSB@GOTPAGEOFF]
Lloh35:
	adrp	x22, _QIB_I_RCVURG_LSB@GOTPAGE
Lloh36:
	ldr	x22, [x22, _QIB_I_RCVURG_LSB@GOTPAGEOFF]
	cbz	w8, LBB0_15
; %bb.9:
	mov	x24, #0
	ldr	x9, [x22]
	mov	w10, #1
	lsl	x9, x10, x9
	ldr	x11, [x23]
	lsl	x10, x10, x11
	orr	x25, x9, x10
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	lsl	x25, x25, #1
	add	x24, x24, #1
	cmp	x24, w8, uxtw
	b.hs	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	tst	x25, x21
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	bic	x21, x21, x25
	ldr	x9, [x19, #8]
	ldr	x0, [x9, x24, lsl #3]
	cbz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x2, sp, #12
	mov	x1, #0
	bl	_qib_kreceive
	ldr	w8, [x19, #4]
	b	LBB0_10
LBB0_14:
	cbz	x21, LBB0_16
LBB0_15:
	ldr	x8, [x23]
	lsr	x8, x21, x8
	ldr	x9, [x22]
	lsr	x9, x21, x9
	orr	x1, x9, x8
	mov	x0, x19
	bl	_qib_handle_urcv
LBB0_16:
	mov	w0, #0
	bl	_QIB_I_P_SDMAINT
	mov	x21, x0
	mov	w0, #1
	bl	_QIB_I_P_SDMAINT
	orr	x8, x0, x21
	tst	x8, x20
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x20
	bl	_sdma_7322_intr
LBB0_18:
Lloh37:
	adrp	x8, _QIB_I_SPIOBUFAVAIL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _QIB_I_SPIOBUFAVAIL@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_21
; %bb.19:
	ldr	w8, [x19]
Lloh40:
	adrp	x9, _QIB_INITTED@GOTPAGE
Lloh41:
	ldr	x9, [x9, _QIB_INITTED@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_qib_ib_piobufavail
LBB0_21:
Lloh43:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Interrupt status all f's, skipping\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_QIB_I_BITSEXTANT,8,3           ; @QIB_I_BITSEXTANT
	.comm	_QIB_I_GPIO,8,3                 ; @QIB_I_GPIO
	.comm	_QIB_I_C_ERROR,8,3              ; @QIB_I_C_ERROR
	.comm	_Err,4,2                        ; @Err
	.comm	_kr_intclear,4,2                ; @kr_intclear
	.comm	_QIB_I_RCVAVAIL_MASK,8,3        ; @QIB_I_RCVAVAIL_MASK
	.comm	_QIB_I_RCVURG_MASK,8,3          ; @QIB_I_RCVURG_MASK
	.comm	_QIB_I_RCVAVAIL_LSB,8,3         ; @QIB_I_RCVAVAIL_LSB
	.comm	_QIB_I_RCVURG_LSB,8,3           ; @QIB_I_RCVURG_LSB
	.comm	_QIB_I_SPIOBUFAVAIL,8,3         ; @QIB_I_SPIOBUFAVAIL
	.comm	_QIB_INITTED,4,2                ; @QIB_INITTED
	.no_dead_strip	_qib_7322intr
.subsections_via_symbols
