	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5dr_get_vport_cap
_mlx5dr_get_vport_cap:                  ## @mlx5dr_get_vport_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %rcx
	movq	_WIRE_PORT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rsi, %rcx
	ja	LBB0_5
## %bb.2:
	cmpq	%rsi, %rdx
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	cmpq	%rsi, %rdx
	cmovneq	%rsi, %rcx
	leaq	(%rax,%rcx,4), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WIRE_PORT,8,3                  ## @WIRE_PORT
	.no_dead_strip	_mlx5dr_get_vport_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5dr_get_vport_cap
_mlx5dr_get_vport_cap:                  ; @mlx5dr_get_vport_cap
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _WIRE_PORT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WIRE_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x1
	ccmp	x10, x1, #4, ls
	b.ne	LBB0_3
; %bb.2:
	cmp	x10, x1
	csel	x9, x9, x1, eq
	add	x0, x8, x9, lsl #2
	ret
LBB0_3:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WIRE_PORT,8,3                  ; @WIRE_PORT
	.no_dead_strip	_mlx5dr_get_vport_cap
.subsections_via_symbols
