	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_devlink_port_supported
_is_devlink_port_supported:             ## @is_devlink_port_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	(%rax), %rsi
	movq	_MLX5_VPORT_UPLINK@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rsi
	je	LBB0_3
## %bb.1:
	movq	_MLX5_VPORT_PF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_3
## %bb.2:
	movl	(%rdi), %edi
	callq	_mlx5_eswitch_is_vf_vport
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_VPORT_UPLINK,8,3          ## @MLX5_VPORT_UPLINK
	.comm	_MLX5_VPORT_PF,8,3              ## @MLX5_VPORT_PF
	.no_dead_strip	_is_devlink_port_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_devlink_port_supported
_is_devlink_port_supported:             ; @is_devlink_port_supported
	.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
	ldr	x8, [x1]
	ldr	x1, [x8]
Lloh0:
	adrp	x8, _MLX5_VPORT_UPLINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_VPORT_UPLINK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MLX5_VPORT_PF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_VPORT_PF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x1, x8
	ccmp	x1, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x0]
	bl	_mlx5_eswitch_is_vf_vport
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_VPORT_UPLINK,8,3          ; @MLX5_VPORT_UPLINK
	.comm	_MLX5_VPORT_PF,8,3              ; @MLX5_VPORT_PF
	.no_dead_strip	_is_devlink_port_supported
.subsections_via_symbols
