	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_poll_success_rcqe
_ocrdma_poll_success_rcqe:              ## @ocrdma_poll_success_rcqe
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	24(%rdi), %r12
	movl	32(%rdi), %edi
	callq	_get_ocrdma_dev
	movq	_IB_WC_RECV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	%r12, 48(%rbx)
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rbx)
	movq	(%r14), %rcx
	movq	_IB_QPT_UD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.3:
	movl	4(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, 32(%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ocrdma_update_ud_rcqe
LBB0_4:
	movq	%r15, %rdi
	callq	_is_cqe_imm
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	callq	_is_cqe_wr_imm
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_IB_WC_RECV_RDMA_WITH_IMM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_5:
	movl	(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, %rdi
	callq	_htonl
	movq	%rax, 16(%rbx)
	movq	_IB_WC_WITH_IMM@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_11:
	cmpq	$0, (%r12)
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ocrdma_update_free_srq_cqe     ## TAILCALL
LBB0_13:
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	addq	$8, %r14
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ocrdma_hwq_inc_tail            ## TAILCALL
LBB0_8:
	movq	%r15, %rdi
	callq	_is_cqe_invalidated
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%rbx)
	movq	_IB_WC_WITH_INVALIDATE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_RECV,4,2                 ## @IB_WC_RECV
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_IB_QPT_UD,8,3                  ## @IB_QPT_UD
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_IB_WC_WITH_IMM,4,2             ## @IB_WC_WITH_IMM
	.comm	_IB_WC_RECV_RDMA_WITH_IMM,4,2   ## @IB_WC_RECV_RDMA_WITH_IMM
	.comm	_IB_WC_WITH_INVALIDATE,4,2      ## @IB_WC_WITH_INVALIDATE
	.no_dead_strip	_ocrdma_poll_success_rcqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_poll_success_rcqe
_ocrdma_poll_success_rcqe:              ; @ocrdma_poll_success_rcqe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x22, x0, #24
	ldr	w0, [x0, #32]
	bl	_get_ocrdma_dev
Lloh0:
	adrp	x8, _IB_WC_RECV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_WC_RECV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #24]
Lloh3:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
	str	x22, [x20, #48]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _IB_QPT_UD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_QPT_UD@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _IB_QPT_GSI@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IB_QPT_GSI@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x1, x20
	mov	x2, x21
	bl	_ocrdma_update_ud_rcqe
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	str	x0, [x20, #32]
LBB0_3:
	mov	x0, x21
	bl	_is_cqe_imm
	cbnz	x0, LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_is_cqe_wr_imm
	cbz	x0, LBB0_11
; %bb.5:
Lloh12:
	adrp	x8, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x20, #24]
LBB0_6:
	ldr	w0, [x21]
	bl	_le32_to_cpu
	bl	_htonl
	str	x0, [x20, #16]
Lloh15:
	adrp	x8, _IB_WC_WITH_IMM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_WC_WITH_IMM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_8:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ocrdma_update_free_srq_cqe
LBB0_10:
	ldp	x8, x9, [x19, #8]!
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ocrdma_hwq_inc_tail
LBB0_11:
	mov	x0, x21
	bl	_is_cqe_invalidated
	cbz	x0, LBB0_8
; %bb.12:
	ldr	w0, [x21]
	bl	_le32_to_cpu
	str	x0, [x20, #8]
Lloh17:
	adrp	x8, _IB_WC_WITH_INVALIDATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IB_WC_WITH_INVALIDATE@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_RECV,4,2                 ; @IB_WC_RECV
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_IB_QPT_UD,8,3                  ; @IB_QPT_UD
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_IB_WC_WITH_IMM,4,2             ; @IB_WC_WITH_IMM
	.comm	_IB_WC_RECV_RDMA_WITH_IMM,4,2   ; @IB_WC_RECV_RDMA_WITH_IMM
	.comm	_IB_WC_WITH_INVALIDATE,4,2      ; @IB_WC_WITH_INVALIDATE
	.no_dead_strip	_ocrdma_poll_success_rcqe
.subsections_via_symbols
