	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxio_hal_cq_op                 ## -- Begin function cxio_hal_cq_op
	.p2align	4, 0x90
_cxio_hal_cq_op:                        ## @cxio_hal_cq_op
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movl	24(%rsi), %eax
	movq	_CQ_CREDIT_UPDATE@GOTPCREL(%rip), %r14
	xorl	%edx, %edx
	cmpl	%ebx, (%r14)
	movl	%eax, -56(%rbp)
	cmoveq	%rcx, %rdx
	movq	%rdx, -64(%rbp)
	movl	%ebx, -72(%rbp)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rdi
	movq	_RDMA_CQ_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	*(%rdi)
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	cmpl	%ebx, (%r14)
	je	LBB0_9
## %bb.2:
	movl	%eax, %r13d
	movq	16(%r15), %rdi
	movl	(%r15), %esi
	callq	_Q_PTR2IDX
	xorl	%r12d, %r12d
	cmpl	%r13d, %eax
	je	LBB0_9
## %bb.3:
	movq	16(%r15), %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	2(%rbx), %rdi
	movl	(%r15), %esi
	callq	_Q_PTR2IDX
	incq	%rbx
	cmpl	%r13d, %eax
	jne	LBB0_4
## %bb.5:
	movq	8(%r15), %r14
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_Q_PTR2IDX
	cltq
	leaq	(%r14,%rax,4), %r13
	movl	$1000002, %r14d                 ## imm = 0xF4242
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_CQ_VLD_ENTRY
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	callq	_udelay
	decl	%r14d
	jne	LBB0_6
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CQ_CREDIT_UPDATE,4,2           ## @CQ_CREDIT_UPDATE
	.comm	_RDMA_CQ_OP,4,2                 ## @RDMA_CQ_OP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: stalled rnic\n"

	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxio_hal_cq_op                 ; -- Begin function cxio_hal_cq_op
	.p2align	2
_cxio_hal_cq_op:                        ; @cxio_hal_cq_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1, #24]
	str	w8, [sp, #24]
Lloh0:
	adrp	x23, _CQ_CREDIT_UPDATE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CQ_CREDIT_UPDATE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w2
	csel	x8, x3, xzr, eq
	str	x8, [sp, #16]
	str	w2, [sp, #8]
	ldr	x0, [x0, #8]
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _RDMA_CQ_OP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RDMA_CQ_OP@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	add	x2, sp, #8
	blr	x8
	mov	x22, x0
	tbnz	w0, #31, LBB0_11
; %bb.1:
	ldr	w8, [x23]
	cmp	w8, w21
	b.eq	LBB0_11
; %bb.2:
	ldr	x0, [x20, #16]
	ldr	w1, [x20]
	bl	_Q_PTR2IDX
	cmp	w0, w22
	b.ne	LBB0_4
; %bb.3:
	mov	w22, #0
	b	LBB0_11
LBB0_4:
	ldr	x8, [x20, #16]
	sub	x21, x8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, #2
	ldr	w1, [x20]
	bl	_Q_PTR2IDX
	add	x21, x21, #1
	cmp	w0, w22
	b.ne	LBB0_5
; %bb.6:
	ldr	x22, [x20, #8]
	ldr	w1, [x20]
	mov	x0, x21
	bl	_Q_PTR2IDX
	add	x22, x22, w0, sxtw #2
	mov	w23, #16962
	movk	w23, #15, lsl #16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x22
	bl	_CQ_VLD_ENTRY
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	bl	_udelay
	subs	w23, w23, #1
	b.ne	LBB0_7
; %bb.9:
	ldr	w1, [x19]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh7:
	adrp	x8, _EIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_10:
	mov	w22, #1
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CQ_CREDIT_UPDATE,4,2           ; @CQ_CREDIT_UPDATE
	.comm	_RDMA_CQ_OP,4,2                 ; @RDMA_CQ_OP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: stalled rnic\n"

	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
