	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_poll_rcqe
_ocrdma_poll_rcqe:                      ## @ocrdma_poll_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	%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	%rdx, %r14
	movq	%rdi, %r15
	movq	$0, (%rdx)
	movq	(%rdi), %rax
	movq	_IB_QPT_UD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rax
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rsi, %rbx
	sete	%r12b
	orb	%dl, %r12b
	movl	(%rsi), %edi
	callq	_le32_to_cpu
	movq	_OCRDMA_CQE_STATUS_MASK@GOTPCREL(%rip), %rcx
	testb	%r12b, %r12b
	cmovneq	_OCRDMA_CQE_UD_STATUS_MASK@GOTPCREL(%rip), %rcx
	movq	_OCRDMA_CQE_STATUS_SHIFT@GOTPCREL(%rip), %rdx
	cmovneq	_OCRDMA_CQE_UD_STATUS_SHIFT@GOTPCREL(%rip), %rdx
	andl	(%rcx), %eax
	movb	(%rdx), %cl
	sarl	%cl, %eax
	movq	_OCRDMA_CQE_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movl	$1, (%r13)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ocrdma_poll_success_rcqe
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ocrdma_poll_err_rcqe           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_UD,8,3                  ## @IB_QPT_UD
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_OCRDMA_CQE_UD_STATUS_MASK,4,2  ## @OCRDMA_CQE_UD_STATUS_MASK
	.comm	_OCRDMA_CQE_UD_STATUS_SHIFT,4,2 ## @OCRDMA_CQE_UD_STATUS_SHIFT
	.comm	_OCRDMA_CQE_STATUS_MASK,4,2     ## @OCRDMA_CQE_STATUS_MASK
	.comm	_OCRDMA_CQE_STATUS_SHIFT,4,2    ## @OCRDMA_CQE_STATUS_SHIFT
	.comm	_OCRDMA_CQE_SUCCESS,4,2         ## @OCRDMA_CQE_SUCCESS
	.no_dead_strip	_ocrdma_poll_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_rcqe
_ocrdma_poll_rcqe:                      ; @ocrdma_poll_rcqe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	str	xzr, [x2]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IB_QPT_UD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_QPT_UD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x9, _IB_QPT_GSI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_QPT_GSI@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w24, eq
	ldr	w0, [x1]
	bl	_le32_to_cpu
Lloh6:
	adrp	x8, _OCRDMA_CQE_UD_STATUS_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCRDMA_CQE_UD_STATUS_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x9, _OCRDMA_CQE_STATUS_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OCRDMA_CQE_STATUS_MASK@GOTPAGEOFF]
	cmp	w24, #0
	csel	x8, x8, x9, ne
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh10:
	adrp	x9, _OCRDMA_CQE_UD_STATUS_SHIFT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OCRDMA_CQE_UD_STATUS_SHIFT@GOTPAGEOFF]
Lloh12:
	adrp	x10, _OCRDMA_CQE_STATUS_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _OCRDMA_CQE_STATUS_SHIFT@GOTPAGEOFF]
	csel	x9, x9, x10, ne
	ldr	w9, [x9]
	asr	w5, w8, w9
Lloh14:
	adrp	x8, _OCRDMA_CQE_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OCRDMA_CQE_SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w5, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	bl	_ocrdma_poll_success_rcqe
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	mov	x4, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ocrdma_poll_err_rcqe
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_UD,8,3                  ; @IB_QPT_UD
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_OCRDMA_CQE_UD_STATUS_MASK,4,2  ; @OCRDMA_CQE_UD_STATUS_MASK
	.comm	_OCRDMA_CQE_UD_STATUS_SHIFT,4,2 ; @OCRDMA_CQE_UD_STATUS_SHIFT
	.comm	_OCRDMA_CQE_STATUS_MASK,4,2     ; @OCRDMA_CQE_STATUS_MASK
	.comm	_OCRDMA_CQE_STATUS_SHIFT,4,2    ; @OCRDMA_CQE_STATUS_SHIFT
	.comm	_OCRDMA_CQE_SUCCESS,4,2         ; @OCRDMA_CQE_SUCCESS
	.no_dead_strip	_ocrdma_poll_rcqe
.subsections_via_symbols
