	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_rdma_query_qp
_qed_rdma_query_qp:                     ## @qed_rdma_query_qp
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	callq	_DP_VERBOSE
	movl	68(%rbx), %eax
	movl	%eax, 76(%r15)
	movl	64(%rbx), %eax
	movl	%eax, 72(%r15)
	movups	48(%rbx), %xmm0
	movups	%xmm0, 56(%r15)
	movups	32(%rbx), %xmm0
	movups	%xmm0, 40(%r15)
	movups	16(%rbx), %xmm0
	movups	%xmm0, 24(%r15)
	movq	$0, 16(%r15)
	movl	12(%rbx), %eax
	movl	%eax, 8(%r15)
	movl	8(%rbx), %eax
	movl	%eax, 4(%r15)
	movl	4(%rbx), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_QED_IS_IWARP_PERSONALITY
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_qed_iwarp_query_qp
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_qed_roce_query_qp
	movl	%eax, %ebx
LBB0_3:
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_DP_VERBOSE
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"icid = %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Query QP, rc = %d\n"

	.no_dead_strip	_qed_rdma_query_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_rdma_query_qp
_qed_rdma_query_qp:                     ; @qed_rdma_query_qp
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _QED_MSG_RDMA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QED_MSG_RDMA@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w3, [x21]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_VERBOSE
	ldr	d0, [x21, #64]
	str	d0, [x20, #72]
	ldr	q0, [x21, #48]
	stur	q0, [x20, #56]
	ldr	q0, [x21, #32]
	stur	q0, [x20, #40]
	ldr	q0, [x21, #16]
	stur	q0, [x20, #24]
	str	xzr, [x20, #16]
	ldr	w8, [x21, #12]
	str	w8, [x20, #8]
	ldur	d0, [x21, #4]
	str	d0, [x20]
	mov	x0, x19
	bl	_QED_IS_IWARP_PERSONALITY
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_qed_iwarp_query_qp
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_qed_roce_query_qp
	mov	x20, x0
LBB0_3:
	ldr	w1, [x22]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_DP_VERBOSE
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"icid = %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Query QP, rc = %d\n"

	.no_dead_strip	_qed_rdma_query_qp
.subsections_via_symbols
