	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_poll_success_scqe
_ocrdma_poll_success_scqe:              ## @ocrdma_poll_success_scqe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movslq	(%rdi), %r14
	movq	16(%rdi), %rax
	cmpl	$0, (%rax,%r14,4)
	je	LBB0_1
## %bb.2:
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdx)
	movq	$0, 8(%rdx)
	leaq	8(%r13), %rax
	movq	%rax, (%rdx)
	movq	%r13, %rdi
	movq	%rdx, %rsi
	movl	%r14d, %edx
	callq	_ocrdma_update_wc
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movl	%eax, (%r15)
	movl	(%r12), %edi
	callq	_le32_to_cpu
	movq	_OCRDMA_CQE_WQEIDX_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	andl	4(%r13), %eax
	xorl	%ebx, %ebx
	cmpl	%eax, %r14d
	setne	%bl
	movq	%r13, %rdi
	callq	_ocrdma_hwq_inc_tail
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_OCRDMA_CQE_WQEIDX_MASK,4,2     ## @OCRDMA_CQE_WQEIDX_MASK
	.no_dead_strip	_ocrdma_poll_success_scqe
.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_scqe
_ocrdma_poll_success_scqe:              ; @ocrdma_poll_success_scqe
	.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	x21, x3
	mov	x22, x1
	mov	x19, x0
	ldrsw	x20, [x0]
	ldr	x8, [x0, #16]
	ldr	w8, [x8, x20, lsl #2]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2, #16]
	add	x8, x19, #8
	stp	x8, xzr, [x2]
	mov	x0, x19
	mov	x1, x2
	mov	x2, x20
	bl	_ocrdma_update_wc
	mov	w8, #1
LBB0_2:
	str	w8, [x21]
	ldr	w0, [x22]
	bl	_le32_to_cpu
Lloh3:
	adrp	x8, _OCRDMA_CQE_WQEIDX_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCRDMA_CQE_WQEIDX_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x19, #4]
	and	w8, w8, w9
	cmp	w20, w8
	cset	w20, ne
	mov	x0, x19
	bl	_ocrdma_hwq_inc_tail
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_OCRDMA_CQE_WQEIDX_MASK,4,2     ; @OCRDMA_CQE_WQEIDX_MASK
	.no_dead_strip	_ocrdma_poll_success_scqe
.subsections_via_symbols
