	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvt_req_notify_cq              ## -- Begin function rvt_req_notify_cq
	.p2align	4, 0x90
_rvt_req_notify_cq:                     ## @rvt_req_notify_cq
	.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
	movl	%esi, %r15d
	callq	_ibcq_to_rvtcq
	movq	%rax, %rbx
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_IB_CQ_SOLICITED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	_IB_CQ_REPORT_MISSED_EVENTS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_3
## %bb.4:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	4(%rax), %edi
	callq	_RDMA_READ_UAPI_ATOMIC
	movq	%rax, %r15
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_RDMA_READ_UAPI_ATOMIC
	cmpq	%rax, %r15
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	cmpq	8(%rax), %rcx
LBB0_7:
	setne	%al
LBB0_8:
	movzbl	%al, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_SOLICITED_MASK,4,2       ## @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ## @IB_CQ_REPORT_MISSED_EVENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvt_req_notify_cq              ; -- Begin function rvt_req_notify_cq
	.p2align	2
_rvt_req_notify_cq:                     ; @rvt_req_notify_cq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	bl	_ibcq_to_rvtcq
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IB_CQ_SOLICITED_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_CQ_SOLICITED_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w21
	str	w8, [x20]
LBB0_2:
Lloh6:
	adrp	x8, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w0, [x8, #4]
	bl	_RDMA_READ_UAPI_ATOMIC
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	bl	_RDMA_READ_UAPI_ATOMIC
	cmp	x21, x0
	b	LBB0_7
LBB0_5:
	mov	w20, #0
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20, #8]
	ldp	x9, x8, [x8]
	cmp	x9, x8
LBB0_7:
	cset	w20, ne
LBB0_8:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_SOLICITED_MASK,4,2       ; @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ; @IB_CQ_REPORT_MISSED_EVENTS
.subsections_via_symbols
