	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_rdma_query_port
_qed_rdma_query_port:                   ## @qed_rdma_query_port
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_DP_VERBOSE
	movl	(%rbx), %edi
	callq	_QED_LEADING_HWFN
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_1
## %bb.2:
	movq	_QED_RDMA_PORT_DOWN@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_QED_RDMA_PORT_UP@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_RDMA_MAX_DATA_SIZE_IN_WQE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	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	"RDMA Query port\n"

	.comm	_QED_RDMA_PORT_UP,4,2           ## @QED_RDMA_PORT_UP
	.comm	_QED_RDMA_PORT_DOWN,4,2         ## @QED_RDMA_PORT_DOWN
	.comm	_RDMA_MAX_DATA_SIZE_IN_WQE,4,2  ## @RDMA_MAX_DATA_SIZE_IN_WQE
	.no_dead_strip	_qed_rdma_query_port
.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_port
_qed_rdma_query_port:                   ; @qed_rdma_query_port
	.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, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _QED_MSG_RDMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_MSG_RDMA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_VERBOSE
	ldr	w0, [x19]
	bl	_QED_LEADING_HWFN
	ldr	x8, [x0]
Lloh5:
	adrp	x9, _QED_RDMA_PORT_UP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QED_RDMA_PORT_UP@GOTPAGEOFF]
Lloh7:
	adrp	x10, _QED_RDMA_PORT_DOWN@GOTPAGE
Lloh8:
	ldr	x10, [x10, _QED_RDMA_PORT_DOWN@GOTPAGEOFF]
	ldr	x11, [x8, #8]
	cmp	x11, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x20, #8]
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _RDMA_MAX_DATA_SIZE_IN_WQE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RDMA_MAX_DATA_SIZE_IN_WQE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RDMA Query port\n"

	.comm	_QED_RDMA_PORT_UP,4,2           ; @QED_RDMA_PORT_UP
	.comm	_QED_RDMA_PORT_DOWN,4,2         ; @QED_RDMA_PORT_DOWN
	.comm	_RDMA_MAX_DATA_SIZE_IN_WQE,4,2  ; @RDMA_MAX_DATA_SIZE_IN_WQE
	.no_dead_strip	_qed_rdma_query_port
.subsections_via_symbols
