	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_get_roce_udp_sport        ## -- Begin function mlx5_get_roce_udp_sport
	.p2align	4, 0x90
_mlx5_get_roce_udp_sport:               ## @mlx5_get_roce_udp_sport
	.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	_IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	(%rdi), %edi
	movq	_r_roce_min_src_udp_port@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ROCE
	movl	%eax, %edi
	popq	%rbp
	jmp	_cpu_to_be16                    ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,8,3 ## @IB_GID_TYPE_ROCE_UDP_ENCAP
	.comm	_r_roce_min_src_udp_port,4,2    ## @r_roce_min_src_udp_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_get_roce_udp_sport        ; -- Begin function mlx5_get_roce_udp_sport
	.p2align	2
_mlx5_get_roce_udp_sport:               ; @mlx5_get_roce_udp_sport
	.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]
Lloh0:
	adrp	x9, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x0]
Lloh3:
	adrp	x8, _r_roce_min_src_udp_port@GOTPAGE
Lloh4:
	ldr	x8, [x8, _r_roce_min_src_udp_port@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ROCE
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cpu_to_be16
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,8,3 ; @IB_GID_TYPE_ROCE_UDP_ENCAP
	.comm	_r_roce_min_src_udp_port,4,2    ; @r_roce_min_src_udp_port
.subsections_via_symbols
