	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_sw_cqe
_get_sw_cqe:                            ## @get_sw_cqe
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	4(%rdi), %esi
	andl	%r14d, %esi
	callq	_get_cqe
	xorl	%ebx, %ebx
	cmpl	$64, (%r12)
	movq	%rax, %r15
	setne	%bl
	shlq	$6, %rbx
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_mlx5dv_get_cqe_opcode
	movq	_MLX5_CQE_INVALID@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MLX5_CQE_OWNER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	movl	4(%r12), %ecx
	incl	%ecx
	xorl	%edx, %edx
	testl	%r14d, %ecx
	setne	%dl
	cmpl	%edx, %eax
	je	LBB0_3
LBB0_2:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_CQE_INVALID,8,3           ## @MLX5_CQE_INVALID
	.comm	_MLX5_CQE_OWNER_MASK,4,2        ## @MLX5_CQE_OWNER_MASK
	.no_dead_strip	_get_sw_cqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_sw_cqe
_get_sw_cqe:                            ; @get_sw_cqe
	.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	x19, x1
	mov	x21, x0
	ldr	w8, [x0, #4]
	and	w1, w8, w1
	bl	_get_cqe
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w8, #64
	cset	w8, ne
	add	x22, x0, x8, lsl #6
	mov	x0, x22
	bl	_mlx5dv_get_cqe_opcode
Lloh0:
	adrp	x8, _MLX5_CQE_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_CQE_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _MLX5_CQE_OWNER_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_CQE_OWNER_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	w9, [x21, #4]
	add	w9, w9, #1
	tst	w9, w19
	cset	w9, ne
	cmp	w8, w9
	b.eq	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	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	_MLX5_CQE_INVALID,8,3           ; @MLX5_CQE_INVALID
	.comm	_MLX5_CQE_OWNER_MASK,4,2        ; @MLX5_CQE_OWNER_MASK
	.no_dead_strip	_get_sw_cqe
.subsections_via_symbols
