	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_cq_read_wc_opcode
_mlx5_cq_read_wc_opcode:                ## @mlx5_cq_read_wc_opcode
	.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
	callq	_ibv_cq_ex_to_cq
	movl	%eax, %edi
	callq	_to_mcq
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_mlx5dv_get_cqe_opcode
                                        ## kill: def $eax killed $eax def $rax
	leal	-139(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.4:
	movq	_IBV_WC_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	cmpl	$142, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$138, %eax
	jne	LBB0_6
## %bb.3:
	movq	_IBV_WC_RECV_RDMA_WITH_IMM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_6
LBB0_5:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_be32toh
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_WC_RECV_RDMA_WITH_IMM,4,2  ## @IBV_WC_RECV_RDMA_WITH_IMM
	.comm	_IBV_WC_RECV,4,2                ## @IBV_WC_RECV
	.comm	_IBV_WC_RDMA_WRITE,4,2          ## @IBV_WC_RDMA_WRITE
	.comm	_IBV_WC_SEND,4,2                ## @IBV_WC_SEND
	.comm	_IBV_WC_RDMA_READ,4,2           ## @IBV_WC_RDMA_READ
	.comm	_IBV_WC_COMP_SWAP,4,2           ## @IBV_WC_COMP_SWAP
	.comm	_IBV_WC_FETCH_ADD,4,2           ## @IBV_WC_FETCH_ADD
	.comm	_IBV_WC_TSO,4,2                 ## @IBV_WC_TSO
	.comm	_MLX5_DBG_CQ_CQE,4,2            ## @MLX5_DBG_CQ_CQE
	.no_dead_strip	_mlx5_cq_read_wc_opcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_cq_read_wc_opcode
_mlx5_cq_read_wc_opcode:                ; @mlx5_cq_read_wc_opcode
	.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
	bl	_ibv_cq_ex_to_cq
	bl	_to_mcq
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_mlx5dv_get_cqe_opcode
	sub	w8, w0, #139
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IBV_WC_RECV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBV_WC_RECV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_2:
	cmp	w0, #142
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, #138
	b.ne	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _IBV_WC_RECV_RDMA_WITH_IMM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IBV_WC_RECV_RDMA_WITH_IMM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_be32toh
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_WC_RECV_RDMA_WITH_IMM,4,2  ; @IBV_WC_RECV_RDMA_WITH_IMM
	.comm	_IBV_WC_RECV,4,2                ; @IBV_WC_RECV
	.comm	_IBV_WC_RDMA_WRITE,4,2          ; @IBV_WC_RDMA_WRITE
	.comm	_IBV_WC_SEND,4,2                ; @IBV_WC_SEND
	.comm	_IBV_WC_RDMA_READ,4,2           ; @IBV_WC_RDMA_READ
	.comm	_IBV_WC_COMP_SWAP,4,2           ; @IBV_WC_COMP_SWAP
	.comm	_IBV_WC_FETCH_ADD,4,2           ; @IBV_WC_FETCH_ADD
	.comm	_IBV_WC_TSO,4,2                 ; @IBV_WC_TSO
	.comm	_MLX5_DBG_CQ_CQE,4,2            ; @MLX5_DBG_CQ_CQE
	.no_dead_strip	_mlx5_cq_read_wc_opcode
.subsections_via_symbols
