	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxe_cq_post                    ## -- Begin function rxe_cq_post
	.p2align	4, 0x90
_rxe_cq_post:                           ## @rxe_cq_post
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	12(%rdi), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movl	16(%rbx), %edi
	callq	_queue_full
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	24(%rbx), %rcx
	movl	40(%rbx), %edx
	movl	%edx, -40(%rbp)
	movq	%rcx, -48(%rbp)
	movq	_IB_EVENT_CQ_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movl	24(%rbx), %esi
	leaq	-56(%rbp), %rdi
	callq	*%rax
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_8
LBB0_4:
	movl	16(%rbx), %edi
	callq	_producer_addr
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_smp_wmb
	movl	16(%rbx), %edi
	callq	_advance_producer
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%rbx), %rax
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.6:
	movq	_IB_CQ_SOLICITED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_7:
	movq	$0, (%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_tasklet_schedule
LBB0_8:
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_EVENT_CQ_ERR,4,2            ## @IB_EVENT_CQ_ERR
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_IB_CQ_NEXT_COMP,8,3            ## @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_SOLICITED,8,3            ## @IB_CQ_SOLICITED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxe_cq_post                    ; -- Begin function rxe_cq_post
	.p2align	2
_rxe_cq_post:                           ; @rxe_cq_post
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	add	x21, x0, #12
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w0, [x19, #16]
	bl	_queue_full
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w1, [x19, #24]!
	ldr	w9, [x19, #16]
	str	w9, [sp, #24]
	str	x19, [sp, #16]
Lloh0:
	adrp	x9, _IB_EVENT_CQ_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_EVENT_CQ_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	add	x0, sp, #8
	blr	x8
LBB0_3:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	ldr	w0, [x19, #16]
	bl	_producer_addr
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	bl	_smp_wmb
	ldr	w0, [x19, #16]
	bl	_advance_producer
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.5:
	mov	w0, #0
	cbz	w20, LBB0_8
; %bb.6:
Lloh9:
	adrp	x9, _IB_CQ_SOLICITED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_CQ_SOLICITED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_7:
	str	xzr, [x19], #8
	mov	x0, x19
	bl	_tasklet_schedule
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_EVENT_CQ_ERR,4,2            ; @IB_EVENT_CQ_ERR
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_IB_CQ_NEXT_COMP,8,3            ; @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_SOLICITED,8,3            ; @IB_CQ_SOLICITED
.subsections_via_symbols
