	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_qp_ctx
_get_qp_ctx:                            ## @get_qp_ctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	%rdx, (%rax)
	je	LBB0_4
LBB0_2:
	movq	%rdx, %rsi
	callq	_mlx5_find_qp
	movq	%rax, (%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_CQ_POLL_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_CQ_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CQ_POLL_ERR,4,2                ## @CQ_POLL_ERR
	.comm	_CQ_OK,4,2                      ## @CQ_OK
	.no_dead_strip	_get_qp_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_qp_ctx
_get_qp_ctx:                            ; @get_qp_ctx
	.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	x19, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_4
LBB0_2:
	mov	x1, x2
	bl	_mlx5_find_qp
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _CQ_POLL_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CQ_POLL_ERR@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _CQ_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CQ_OK@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CQ_POLL_ERR,4,2                ; @CQ_POLL_ERR
	.comm	_CQ_OK,4,2                      ; @CQ_OK
	.no_dead_strip	_get_qp_ctx
.subsections_via_symbols
