	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_cq_read_wc_opcode
_mlx4_cq_read_wc_opcode:                ## @mlx4_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
	callq	_ibv_cq_ex_to_cq
	movl	%eax, %edi
	callq	_to_mcq
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_MLX4_CQE_IS_SEND_MASK@GOTPCREL(%rip), %rdx
	movq	_MLX4_CQE_OPCODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	testl	%eax, (%rdx)
	je	LBB0_11
## %bb.1:
	addl	$-132, %ecx
	cmpl	$9, %ecx
	ja	LBB0_2
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_IBV_WC_SEND@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	leal	-128(%rcx), %eax
	cmpl	$3, %eax
	jae	LBB0_12
## %bb.14:
	movq	_IBV_WC_RECV@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	xorl	%eax, %eax
	cmpl	$131, %ecx
	jne	LBB0_16
## %bb.13:
	movq	_IBV_WC_RECV_RDMA_WITH_IMM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	movq	_IBV_WC_RDMA_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_IBV_WC_RDMA_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	movq	_IBV_WC_LOCAL_INV@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	_IBV_WC_BIND_MW@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_7:
	movq	_IBV_WC_COMP_SWAP@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_8:
	movq	_IBV_WC_FETCH_ADD@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_MLX4_CQE_IS_SEND_MASK,4,2      ## @MLX4_CQE_IS_SEND_MASK
	.comm	_MLX4_CQE_OPCODE_MASK,4,2       ## @MLX4_CQE_OPCODE_MASK
	.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_LOCAL_INV,4,2           ## @IBV_WC_LOCAL_INV
	.comm	_IBV_WC_BIND_MW,4,2             ## @IBV_WC_BIND_MW
	.comm	_IBV_WC_RECV_RDMA_WITH_IMM,4,2  ## @IBV_WC_RECV_RDMA_WITH_IMM
	.comm	_IBV_WC_RECV,4,2                ## @IBV_WC_RECV
	.no_dead_strip	_mlx4_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 mlx4_cq_read_wc_opcode
_mlx4_cq_read_wc_opcode:                ; @mlx4_cq_read_wc_opcode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_ibv_cq_ex_to_cq
	bl	_to_mcq
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x8, _MLX4_CQE_IS_SEND_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_CQE_IS_SEND_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _MLX4_CQE_OPCODE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX4_CQE_OPCODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w9
	tst	w10, w9
	b.eq	LBB0_4
; %bb.1:
	sub	w8, w8, #132
	cmp	w8, #9
	b.hi	LBB0_8
; %bb.2:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh8:
	adrp	x8, _IBV_WC_SEND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IBV_WC_SEND@GOTPAGEOFF]
	b	LBB0_15
LBB0_4:
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, _IBV_WC_RECV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IBV_WC_RECV@GOTPAGEOFF]
	b	LBB0_15
LBB0_6:
	cmp	w8, #131
	b.ne	LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _IBV_WC_RECV_RDMA_WITH_IMM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IBV_WC_RECV_RDMA_WITH_IMM@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh14:
	adrp	x8, _IBV_WC_RDMA_WRITE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IBV_WC_RDMA_WRITE@GOTPAGEOFF]
	b	LBB0_15
LBB0_10:
Lloh16:
	adrp	x8, _IBV_WC_RDMA_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IBV_WC_RDMA_READ@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh18:
	adrp	x8, _IBV_WC_LOCAL_INV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IBV_WC_LOCAL_INV@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh20:
	adrp	x8, _IBV_WC_BIND_MW@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IBV_WC_BIND_MW@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh22:
	adrp	x8, _IBV_WC_COMP_SWAP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IBV_WC_COMP_SWAP@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh24:
	adrp	x8, _IBV_WC_FETCH_ADD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IBV_WC_FETCH_ADD@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
                                        ; -- End function
	.comm	_MLX4_CQE_IS_SEND_MASK,4,2      ; @MLX4_CQE_IS_SEND_MASK
	.comm	_MLX4_CQE_OPCODE_MASK,4,2       ; @MLX4_CQE_OPCODE_MASK
	.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_LOCAL_INV,4,2           ; @IBV_WC_LOCAL_INV
	.comm	_IBV_WC_BIND_MW,4,2             ; @IBV_WC_BIND_MW
	.comm	_IBV_WC_RECV_RDMA_WITH_IMM,4,2  ; @IBV_WC_RECV_RDMA_WITH_IMM
	.comm	_IBV_WC_RECV,4,2                ; @IBV_WC_RECV
	.no_dead_strip	_mlx4_cq_read_wc_opcode
.subsections_via_symbols
