	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_uverbs_req_notify_cq
_ib_uverbs_req_notify_cq:               ## @ib_uverbs_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rsi
	movl	$16, %edx
	callq	_uverbs_request
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	_UVERBS_OBJECT_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-16(%rbp), %edx
	movq	%rbx, %rcx
	callq	_uobj_get_obj_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	cmpq	$0, -24(%rbp)
	jne	LBB0_4
## %bb.5:
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_4:
	movq	_IB_CQ_SOLICITED@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ib_req_notify_cq
	movq	%rbx, %rdi
	callq	_uobj_put_obj_read
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVERBS_OBJECT_CQ,4,2           ## @UVERBS_OBJECT_CQ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IB_CQ_SOLICITED,4,2            ## @IB_CQ_SOLICITED
	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
	.no_dead_strip	_ib_uverbs_req_notify_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_uverbs_req_notify_cq
_ib_uverbs_req_notify_cq:               ; @ib_uverbs_req_notify_cq
	.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
	mov	x19, x0
	mov	x1, sp
	mov	w2, #16
	bl	_uverbs_request
	cbnz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _UVERBS_OBJECT_CQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UVERBS_OBJECT_CQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [sp, #8]
	mov	x3, x19
	bl	_uobj_get_obj_read
	cbz	x0, LBB0_3
; %bb.2:
	mov	x19, x0
Lloh3:
	adrp	x8, _IB_CQ_SOLICITED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_CQ_SOLICITED@GOTPAGEOFF]
	ldr	x9, [sp]
Lloh5:
	adrp	x10, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	bl	_ib_req_notify_cq
	mov	x0, x19
	bl	_uobj_put_obj_read
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_UVERBS_OBJECT_CQ,4,2           ; @UVERBS_OBJECT_CQ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IB_CQ_SOLICITED,4,2            ; @IB_CQ_SOLICITED
	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
	.no_dead_strip	_ib_uverbs_req_notify_cq
.subsections_via_symbols
