	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_7322pintr
_qib_7322pintr:                         ## @qib_7322pintr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rsi), %rbx
	movq	_QIB_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_QIB_BADINTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	andl	(%rbx), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_this_cpu_inc
	movq	_kr_intclear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QIB_I_RCVAVAIL_LSB@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_QIB_I_RCVURG_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shlq	%cl, %rdx
	btsq	%rax, %rdx
	movb	(%r14), %cl
	shlq	%cl, %rdx
	movq	%rbx, %rdi
	callq	_qib_write_kreg
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_qib_kreceive
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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_intclear,4,2                ## @kr_intclear
	.comm	_QIB_I_RCVAVAIL_LSB,8,3         ## @QIB_I_RCVAVAIL_LSB
	.comm	_QIB_I_RCVURG_LSB,8,3           ## @QIB_I_RCVURG_LSB
	.no_dead_strip	_qib_7322pintr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_7322pintr
_qib_7322pintr:                         ; @qib_7322pintr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x20, [x1, #8]
	ldr	w8, [x20]
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_2
; %bb.1:
	mov	x19, x1
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_this_cpu_inc
Lloh6:
	adrp	x8, _kr_intclear@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kr_intclear@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _QIB_I_RCVAVAIL_LSB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QIB_I_RCVAVAIL_LSB@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w9, #1
Lloh12:
	adrp	x10, _QIB_I_RCVURG_LSB@GOTPAGE
Lloh13:
	ldr	x10, [x10, _QIB_I_RCVURG_LSB@GOTPAGEOFF]
	lsl	x8, x9, x8
Lloh14:
	ldr	x10, [x10]
	lsl	x9, x9, x10
	orr	x8, x9, x8
	ldr	x9, [x19]
	lsl	x2, x8, x9
	mov	x0, x20
	bl	_qib_write_kreg
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, #0
	bl	_qib_kreceive
LBB0_2:
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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_intclear,4,2                ; @kr_intclear
	.comm	_QIB_I_RCVAVAIL_LSB,8,3         ; @QIB_I_RCVAVAIL_LSB
	.comm	_QIB_I_RCVURG_LSB,8,3           ; @QIB_I_RCVURG_LSB
	.no_dead_strip	_qib_7322pintr
.subsections_via_symbols
