	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xs_next_srcport
_xs_next_srcport:                       ## @xs_next_srcport
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	$0, (%rdi)
LBB0_2:
	cmpl	$0, 8(%rdi)
	je	LBB0_3
## %bb.4:
	movq	_xprt_min_resvport@GOTPCREL(%rip), %rcx
	movq	_xprt_max_resvport@GOTPCREL(%rip), %rax
	movzwl	(%rax), %edx
	leal	-1(%rsi), %eax
	cmpw	%si, %dx
	cmovbl	%edx, %eax
	cmpw	%si, (%rcx)
	cmovael	%edx, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movzwl	%ax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xprt_min_resvport,2,1          ## @xprt_min_resvport
	.comm	_xprt_max_resvport,2,1          ## @xprt_max_resvport
	.no_dead_strip	_xs_next_srcport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xs_next_srcport
_xs_next_srcport:                       ; @xs_next_srcport
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	str	xzr, [x0]
LBB0_2:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _xprt_min_resvport@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xprt_min_resvport@GOTPAGEOFF]
Lloh2:
	adrp	x9, _xprt_max_resvport@GOTPAGE
Lloh3:
	ldr	x9, [x9, _xprt_max_resvport@GOTPAGEOFF]
	ldrh	w8, [x8]
	ldrh	w9, [x9]
	sub	w10, w1, #1
	cmp	w9, w1
	ccmp	w8, w1, #2, hs
	csel	w8, w9, w10, hs
LBB0_4:
	and	w0, w8, #0xffff
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_xprt_min_resvport,2,1          ; @xprt_min_resvport
	.comm	_xprt_max_resvport,2,1          ; @xprt_max_resvport
	.no_dead_strip	_xs_next_srcport
.subsections_via_symbols
