	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_parse_cqe
_dr_parse_cqe:                          ## @dr_parse_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_get_cqe_opcode
	movq	_MLX5_CQE_REQ_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_be16_to_cpu
	movq	(%r14), %rcx
	movl	(%rcx), %edx
	decl	%edx
	andl	%eax, %edx
	movq	8(%rcx), %rax
	movq	(%rax,%rdx,8), %rax
	incq	%rax
	movq	%rax, 16(%rcx)
	movq	_CQ_POLL_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_MLX5_CQE_RESP_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	incq	16(%rax)
	movq	_CQ_POLL_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %edi
	callq	_be16_to_cpu
	movq	(%r14), %rcx
	movl	(%rcx), %edx
	decl	%edx
	andl	%eax, %edx
	movq	8(%rcx), %rax
	movq	(%rax,%rdx,8), %rax
	incq	%rax
	movq	%rax, 16(%rcx)
	movq	_CQ_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_CQE_REQ_ERR,8,3           ## @MLX5_CQE_REQ_ERR
	.comm	_MLX5_CQE_RESP_ERR,8,3          ## @MLX5_CQE_RESP_ERR
	.comm	_CQ_OK,4,2                      ## @CQ_OK
	.comm	_CQ_POLL_ERR,4,2                ## @CQ_POLL_ERR
	.no_dead_strip	_dr_parse_cqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_parse_cqe
_dr_parse_cqe:                          ; @dr_parse_cqe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_get_cqe_opcode
Lloh0:
	adrp	x8, _MLX5_CQE_REQ_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_CQE_REQ_ERR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_be16_to_cpu
	ldr	x8, [x19]
	ldr	w9, [x8]
	sub	w9, w9, #1
	and	w9, w9, w0
	ldr	x10, [x8, #8]
	ldr	x9, [x10, w9, uxtw #3]
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _MLX5_CQE_RESP_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_CQE_RESP_ERR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
LBB0_4:
	add	x9, x9, #1
	str	x9, [x8, #16]
Lloh6:
	adrp	x8, _CQ_POLL_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CQ_POLL_ERR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x20]
	bl	_be16_to_cpu
	ldr	x8, [x19]
	ldr	w9, [x8]
	sub	w9, w9, #1
	and	w9, w9, w0
	ldr	x10, [x8, #8]
	ldr	x9, [x10, w9, uxtw #3]
	add	x9, x9, #1
	str	x9, [x8, #16]
Lloh8:
	adrp	x8, _CQ_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CQ_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_CQE_REQ_ERR,8,3           ; @MLX5_CQE_REQ_ERR
	.comm	_MLX5_CQE_RESP_ERR,8,3          ; @MLX5_CQE_RESP_ERR
	.comm	_CQ_OK,4,2                      ; @CQ_OK
	.comm	_CQ_POLL_ERR,4,2                ; @CQ_POLL_ERR
	.no_dead_strip	_dr_parse_cqe
.subsections_via_symbols
