	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xs_get_srcport
_xs_get_srcport:                        ## @xs_get_srcport
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzwl	(%rdi), %eax
	testw	%ax, %ax
	je	LBB0_1
LBB0_3:
	movzwl	%ax, %eax
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.4:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_xs_get_random_port             ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xs_get_srcport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xs_get_srcport
_xs_get_srcport:                        ; @xs_get_srcport
	.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	x8, x0
	ldrh	w0, [x0]
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_xs_get_random_port
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xs_get_srcport
.subsections_via_symbols
