	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mlnx_ext_port_info
_get_mlnx_ext_port_info:                ## @get_mlnx_ext_port_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movq	%rdi, %rax
	movq	_IB_ATTR_MLNX_EXT_PORT_INFO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_srcport@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	movq	%rsi, %rdi
	movq	%rax, %rsi
	xorl	%r8d, %r8d
	callq	_smp_query_via
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_IBEXIT                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_ATTR_MLNX_EXT_PORT_INFO,4,2 ## @IB_ATTR_MLNX_EXT_PORT_INFO
	.comm	_srcport,4,2                    ## @srcport
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smp query ext portinfo failed"

	.no_dead_strip	_get_mlnx_ext_port_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mlnx_ext_port_info
_get_mlnx_ext_port_info:                ; @get_mlnx_ext_port_info
	.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
	mov	x3, x2
	mov	x8, x0
Lloh0:
	adrp	x9, _IB_ATTR_MLNX_EXT_PORT_INFO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_ATTR_MLNX_EXT_PORT_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
Lloh3:
	adrp	x9, _srcport@GOTPAGE
Lloh4:
	ldr	x9, [x9, _srcport@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x9]
	mov	x0, x1
	mov	x1, x8
	mov	w4, #0
	bl	_smp_query_via
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_IBEXIT
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_ATTR_MLNX_EXT_PORT_INFO,4,2 ; @IB_ATTR_MLNX_EXT_PORT_INFO
	.comm	_srcport,4,2                    ; @srcport
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smp query ext portinfo failed"

	.no_dead_strip	_get_mlnx_ext_port_info
.subsections_via_symbols
