	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opa_pr_query_possible
_opa_pr_query_possible:                 ## @opa_pr_query_possible
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-32(%rbp), %rdx
	movq	%rsi, %rdi
	movl	%r14d, %esi
	callq	_ib_query_port
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	_PR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_ib_sa_opa_pathrecord_support
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_PR_OPA_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	-32(%rbp), %rbx
	movq	_IB_MULTICAST_LID_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	cmpq	%rax, %rbx
	jge	LBB0_6
## %bb.5:
	movq	_PR_IB_SUPPORTED@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PR_NOT_SUPPORTED,4,2           ## @PR_NOT_SUPPORTED
	.comm	_PR_OPA_SUPPORTED,4,2           ## @PR_OPA_SUPPORTED
	.comm	_IB_MULTICAST_LID_BASE,4,2      ## @IB_MULTICAST_LID_BASE
	.comm	_PR_IB_SUPPORTED,4,2            ## @PR_IB_SUPPORTED
	.no_dead_strip	_opa_pr_query_possible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opa_pr_query_possible
_opa_pr_query_possible:                 ; @opa_pr_query_possible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x2, sp, #8
	mov	x0, x1
	mov	x1, x19
	bl	_ib_query_port
Lloh0:
	adrp	x22, _PR_NOT_SUPPORTED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PR_NOT_SUPPORTED@GOTPAGEOFF]
	cbnz	x0, LBB0_4
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ib_sa_opa_pathrecord_support
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x22, _PR_OPA_SUPPORTED@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PR_OPA_SUPPORTED@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	x19, [sp, #8]
Lloh4:
	adrp	x8, _IB_MULTICAST_LID_BASE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IB_MULTICAST_LID_BASE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_be16_to_cpu
Lloh7:
	adrp	x8, _PR_IB_SUPPORTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PR_IB_SUPPORTED@GOTPAGEOFF]
	cmp	x19, x0
	csel	x22, x8, x22, lt
LBB0_4:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PR_NOT_SUPPORTED,4,2           ; @PR_NOT_SUPPORTED
	.comm	_PR_OPA_SUPPORTED,4,2           ; @PR_OPA_SUPPORTED
	.comm	_IB_MULTICAST_LID_BASE,4,2      ; @IB_MULTICAST_LID_BASE
	.comm	_PR_IB_SUPPORTED,4,2            ; @PR_IB_SUPPORTED
	.no_dead_strip	_opa_pr_query_possible
.subsections_via_symbols
