	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_siw_req_notify_cq              ## -- Begin function siw_req_notify_cq
	.p2align	4, 0x90
_siw_req_notify_cq:                     ## @siw_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_to_siw_cq
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r14d, %edx
	callq	_siw_dbg_cq
	movq	_IB_CQ_SOLICITED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	movq	_IB_CQ_SOLICITED@GOTPCREL(%rip), %rcx
	movq	8(%rbx), %rdx
	movl	(%rdx), %edi
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_SIW_NOTIFY_SOLICITED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SIW_NOTIFY_ALL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_smp_store_mb
	movq	_IB_CQ_REPORT_MISSED_EVENTS@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %eax
	subl	4(%rbx), %eax
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flags: 0x%02x\n"

	.comm	_IB_CQ_SOLICITED_MASK,4,2       ## @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_SOLICITED,4,2            ## @IB_CQ_SOLICITED
	.comm	_SIW_NOTIFY_SOLICITED,4,2       ## @SIW_NOTIFY_SOLICITED
	.comm	_SIW_NOTIFY_ALL,4,2             ## @SIW_NOTIFY_ALL
	.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	_siw_req_notify_cq              ; -- Begin function siw_req_notify_cq
	.p2align	2
_siw_req_notify_cq:                     ; @siw_req_notify_cq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_to_siw_cq
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_siw_dbg_cq
Lloh2:
	adrp	x8, _IB_CQ_SOLICITED_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_CQ_SOLICITED_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh5:
	adrp	x9, _IB_CQ_SOLICITED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_CQ_SOLICITED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ldr	x10, [x19, #8]
Lloh8:
	adrp	x11, _SIW_NOTIFY_SOLICITED@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SIW_NOTIFY_SOLICITED@GOTPAGEOFF]
	ldr	w0, [x10]
Lloh10:
	adrp	x10, _SIW_NOTIFY_ALL@GOTPAGE
Lloh11:
	ldr	x10, [x10, _SIW_NOTIFY_ALL@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x11, x10, eq
	ldr	w1, [x8]
	bl	_smp_store_mb
Lloh12:
	adrp	x8, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldp	w8, w9, [x19]
	sub	w0, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flags: 0x%02x\n"

	.comm	_IB_CQ_SOLICITED_MASK,4,2       ; @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_SOLICITED,4,2            ; @IB_CQ_SOLICITED
	.comm	_SIW_NOTIFY_SOLICITED,4,2       ; @SIW_NOTIFY_SOLICITED
	.comm	_SIW_NOTIFY_ALL,4,2             ; @SIW_NOTIFY_ALL
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ; @IB_CQ_REPORT_MISSED_EVENTS
.subsections_via_symbols
