	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cqe_completes_wr
_cqe_completes_wr:                      ## @cqe_completes_wr
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_CQE_OPCODE
	movq	_T3_TERMINATE@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.1:
	movl	(%rbx), %edi
	callq	_CQE_OPCODE
	movq	_T3_RDMA_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	callq	_RQ_TYPE
	testq	%rax, %rax
	jne	LBB0_9
LBB0_3:
	movl	(%rbx), %edi
	callq	_CQE_OPCODE
	movq	_T3_READ_RESP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_SQ_TYPE
	testq	%rax, %rax
	jne	LBB0_9
LBB0_5:
	movl	(%rbx), %edi
	callq	_CQE_SEND_OPCODE
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rbx), %edi
	callq	_RQ_TYPE
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_Q_EMPTY
	testq	%rax, %rax
	jne	LBB0_9
LBB0_8:
	movl	$1, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_T3_TERMINATE,8,3               ## @T3_TERMINATE
	.comm	_T3_RDMA_WRITE,8,3              ## @T3_RDMA_WRITE
	.comm	_T3_READ_RESP,8,3               ## @T3_READ_RESP
	.no_dead_strip	_cqe_completes_wr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cqe_completes_wr
_cqe_completes_wr:                      ; @cqe_completes_wr
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_CQE_OPCODE
Lloh0:
	adrp	x8, _T3_TERMINATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _T3_TERMINATE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.1:
	ldr	w0, [x20]
	bl	_CQE_OPCODE
Lloh3:
	adrp	x8, _T3_RDMA_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _T3_RDMA_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20]
	bl	_RQ_TYPE
	cbnz	x0, LBB0_8
LBB0_3:
	ldr	w0, [x20]
	bl	_CQE_OPCODE
Lloh6:
	adrp	x8, _T3_READ_RESP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _T3_READ_RESP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x20]
	bl	_SQ_TYPE
	cbnz	x0, LBB0_8
LBB0_5:
	ldr	w0, [x20]
	bl	_CQE_SEND_OPCODE
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w0, [x20]
	bl	_RQ_TYPE
	cbz	x0, LBB0_10
; %bb.7:
	ldp	w1, w0, [x19]
	bl	_Q_EMPTY
	cbz	x0, LBB0_10
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_T3_TERMINATE,8,3               ; @T3_TERMINATE
	.comm	_T3_RDMA_WRITE,8,3              ; @T3_RDMA_WRITE
	.comm	_T3_READ_RESP,8,3               ; @T3_READ_RESP
	.no_dead_strip	_cqe_completes_wr
.subsections_via_symbols
